/* === theme222 香水调香工坊嗅觉美学 === */
:root {
    --color-primary: #4A3060; --color-primary-dark: #2A1838; --color-primary-light: #f6f2f8;
    --color-accent: #C8A060; --color-accent-light: #fdf9f2; --color-accent-pink: #E8C8D0;
    --color-text-dark: #2A1A30; --color-text-muted: #7B6B80; --color-text-light: #9B8B98;
    --color-bg-warm: #fcf9fb; --color-bg-gray: #f8f4f6; --color-border: #d8d0d8; --color-border-dark: #b4a8b8;
    --radius-sm: 4px; --radius-md: 12px; --radius-lg: 24px;
    --shadow-sm: 0 2px 10px rgba(60,30,50,0.06); --shadow-md: 0 6px 28px rgba(60,30,50,0.1);
    --font-heading: Georgia, 'Noto Serif SC', 'STSong', 'SimSun', serif;
    --font-body: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; } html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.8; color: var(--color-text-dark); background: var(--color-bg-warm); margin: 0; }
a { color: var(--color-primary); text-decoration: none; } a:hover { color: var(--color-accent); }
img { max-width: 100%; } .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.4; }
.skip-link { position: absolute; top: -50px; left: 8px; z-index: 9999; padding: 10px 18px; background: var(--color-primary); color: #fff !important; border-radius: 0 0 8px 8px; font-size: 14px; transition: top 0.2s; }
.skip-link:focus { top: 0; outline: 3px solid #fff; } a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.site-header { background: #fff; border-bottom: 1px solid var(--color-accent-pink); position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.site-logo img { height: 44px; } .navbar-toggle { display: none; background: none; border: 1px solid var(--color-border); padding: 8px 10px; cursor: pointer; }
.navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; background: var(--color-text-dark); margin: 4px 0; }
.main-nav { background: var(--color-primary); } .main-menu { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.main-menu > li > a { display: block; padding: 10px 16px; color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; transition: background 0.2s; white-space: nowrap; }
.main-menu > li > a:hover, .main-menu > li.active > a { background: rgba(200,160,96,0.25); color: var(--color-accent); }
.main-menu .dropdown-menu { background: #fff; border: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 8px 0; max-height: 320px; overflow-y: auto; }
.main-menu .dropdown-menu > li > a { padding: 8px 18px; color: var(--color-text-dark); font-size: 14px; display: block; } .main-menu .dropdown-menu > li > a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.main-section { padding: 40px 0; } .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--color-accent); } .section-header h2 { font-family: var(--font-heading); font-size: 22px; margin: 0; } .more-link { font-size: 13px; color: var(--color-text-muted); display: flex; align-items: center; gap: 4px; } .more-link:hover { color: var(--color-accent); } .more-link .fa { font-size: 11px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } a.card { color: inherit; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; } a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; } .card-cover { position: relative; height: 200px; overflow: hidden; background: var(--color-bg-gray); display: block; } .card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } a.card:hover .card-cover img { transform: scale(1.06); } .no-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 36px; background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light)); } .card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; } .card-body h3 { font-family: var(--font-heading); font-size: 16px; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } a.card:hover .card-body h3 { color: var(--color-primary); } .card-body p { font-size: 13px; color: var(--color-text-muted); line-height: 1.7; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; } .card-body span { font-size: 12px; color: var(--color-text-light); margin-top: auto; }
.hero-section { background: linear-gradient(rgba(40,24,50,0.4), rgba(40,24,50,0.6)), url('https://images.unsplash.com/photo-1547887538-e3a2f32cb1cc?w=1400&q=80') center/cover no-repeat; padding: 120px 0 100px; text-align: center; color: #fff; }
.hero-content { max-width: 720px; margin: 0 auto; } .hero-badge { display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,0.45); border-radius: 20px; font-size: 11px; letter-spacing: 6px; margin-bottom: 20px; color: rgba(255,255,255,0.85); }
.hero-title { font-family: var(--font-heading); font-size: 38px; font-weight: 700; margin: 0 0 16px; color: #fff; } .hero-subtitle { font-size: 18px; opacity: 0.9; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; } .btn-hero-primary { display: inline-block; padding: 14px 36px; background: var(--color-accent); color: #fff !important; border-radius: 24px; font-size: 16px; font-weight: 700; border: none; transition: background 0.2s, transform 0.2s; }
.btn-hero-primary:hover { background: #b08840; transform: translateY(-2px); } .btn-hero-secondary { display: inline-block; padding: 14px 36px; background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.5); border-radius: 24px; font-size: 16px; font-weight: 600; transition: all 0.2s; }
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.section-works, .section-quote { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; } .section-label { display: inline-block; font-size: 11px; letter-spacing: 5px; color: var(--color-accent); margin-bottom: 10px; font-weight: 700; }
.section-title { font-family: var(--font-heading); font-size: 32px; margin: 0 0 12px; } .section-desc { font-size: 16px; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } .product-img { height: 200px; overflow: hidden; }
.scent-gradient { width: 100%; height: 100%; } .sc-rose { background: linear-gradient(135deg, #E8C8D0, #C898A8, #F0D8E0, #D8A8B8); } .sc-amber { background: linear-gradient(135deg, #C8A060, #A08040, #D8B070, #B89050); }
.sc-oil { background: linear-gradient(135deg, #D8C8B8, #B8A898, #E8D8C8, #C8B8A8); } .sc-proust { background: linear-gradient(135deg, #C0A8D0, #9888A8, #D0B8E0, #A898B8); }
.sc-sandal { background: linear-gradient(135deg, #A08060, #806040, #B89070, #907050); } .sc-aldehyde { background: linear-gradient(135deg, #E0D8D0, #C8C0B8, #F0E8E0, #D8D0C8); }
.product-body { padding: 18px; } .product-badge { display: inline-block; padding: 3px 12px; background: var(--color-primary-light); color: var(--color-primary); font-size: 11px; font-weight: 700; border-radius: 12px; margin-bottom: 8px; letter-spacing: 1px; }
.product-body h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 8px; } .product-body p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.8; }
.scent-banner { background: #fff; border-radius: var(--radius-md); padding: 40px 36px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent); } .scent-quote { font-size: 28px; color: var(--color-primary); opacity: 0.12; margin-bottom: 10px; }
.scent-banner blockquote { margin: 0 0 20px; padding: 0; border: none; } .scent-banner blockquote p { font-family: var(--font-heading); font-size: 18px; line-height: 2; color: var(--color-text-dark); margin: 0; } .scent-banner blockquote footer { font-size: 14px; color: var(--color-text-muted); margin-top: 12px; }
.scent-actions { display: flex; gap: 16px; flex-wrap: wrap; } .scent-pledge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-primary); font-weight: 600; background: var(--color-primary-light); padding: 8px 16px; border-radius: 20px; }
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.65); padding: 50px 0 0; font-size: 14px; } .footer-row { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: var(--color-accent); font-family: var(--font-heading); font-size: 18px; margin: 0 0 16px; } .footer-col p { line-height: 1.8; margin: 0 0 8px; color: rgba(255,255,255,0.5); } .footer-col a { display: block; color: rgba(255,255,255,0.5); padding: 4px 0; } .footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center; } .footer-copyright a { color: rgba(255,255,255,0.35); margin-left: 12px; }
#floatbtn { position: fixed; right: 20px; bottom: 60px; z-index: 900; } #back-to-top { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--color-primary); color: #fff !important; border-radius: 50%; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all 0.3s; font-size: 16px; line-height: 1; } #back-to-top .fa { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; } #back-to-top.show { opacity: 1; visibility: visible; } #back-to-top:hover { background: var(--color-accent); }
.page-banner { background: linear-gradient(135deg, #2A1838 0%, #4A3060 50%, #3a2048 100%); padding: 60px 0; text-align: center; color: #fff; }
.page-banner-title { font-family: var(--font-heading); font-size: 32px; margin: 0 0 8px; color: #fff; } .breadcrumb-inline { font-size: 13px; color: rgba(255,255,255,0.65); } .breadcrumb-inline a { color: rgba(255,255,255,0.8); } .breadcrumb-inline .fa { margin: 0 8px; font-size: 11px; }
.page-container { padding: 40px 15px 60px; } .breadcrumb-box { margin-bottom: 20px; font-size: 13px; color: var(--color-text-light); } .breadcrumb-box a { color: var(--color-text-muted); } .breadcrumb-box .fa { margin: 0 8px; font-size: 11px; }
.article-card-list { display: flex; flex-direction: column; gap: 20px; } .article-card { display: flex; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform 0.25s, box-shadow 0.25s; } .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-cover { flex-shrink: 0; width: 260px; min-height: 180px; overflow: hidden; display: block; position: relative; } .article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } .article-card:hover .article-cover img { transform: scale(1.06); }
.article-body { flex: 1; min-width: 0; padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; } .article-title { font-family: var(--font-heading); font-size: 18px; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-intro { font-size: 14px; color: var(--color-text-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--color-text-light); } .meta-cat { background: var(--color-primary-light); color: var(--color-primary); padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.article-detail { background: #fff; border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .article-detail-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-accent-pink); }
.article-detail-title { font-family: var(--font-heading); font-size: 28px; margin: 0 0 12px; } .article-detail-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--color-text-light); } .detail-cat { background: var(--color-primary-light); color: var(--color-primary); padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.article-detail-content { font-size: 16px; line-height: 1.9; } .article-detail-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; } .article-detail-content p { margin: 0 0 16px; } .article-detail-content h2, .article-detail-content h3 { font-family: var(--font-heading); margin: 28px 0 14px; }
.article-detail-nav { display: flex; gap: 16px; margin-top: 24px; } .detail-nav-item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: all 0.25s; } .detail-nav-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--color-primary); } .detail-nav-prev { justify-content: flex-start; } .detail-nav-next { justify-content: flex-end; text-align: right; } .detail-nav-arrow { flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--color-primary-light); color: var(--color-primary); border-radius: 50%; font-size: 15px; transition: all 0.3s; } .detail-nav-item:hover .detail-nav-arrow { background: var(--color-primary); color: #fff; } .detail-nav-body { flex: 1; min-width: 0; } .detail-nav-label { display: block; font-size: 12px; color: var(--color-primary); margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; } .detail-nav-title { display: block; font-size: 15px; font-weight: 600; color: var(--color-text-dark); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .detail-nav-empty { flex: 1; min-width: 0; }
.article-summary { margin: 30px 0; padding: 20px 24px; background: var(--color-bg-warm); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); } .article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .summary-deco { color: var(--color-accent); flex-shrink: 0; } .article-summary-title { font-family: var(--font-heading); font-size: 16px; margin: 0; } .article-summary-text { font-size: 14px; line-height: 1.8; margin: 0 0 12px; } .article-summary-cite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--color-border); font-size: 12px; color: var(--color-text-light); } .cite-label { font-weight: 600; } .cite-text { flex: 1; min-width: 0; font-family: Menlo, monospace; background: #fff; padding: 4px 8px; border-radius: var(--radius-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-section { margin-top: 40px; } .related-section h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 16px; } .related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); display: block; border: 1px solid var(--color-border); } .related-card:hover { transform: translateY(-2px); } .related-cover { height: 120px; overflow: hidden; } .related-cover img { width: 100%; height: 100%; object-fit: cover; } .related-body { padding: 12px; } .related-body h4 { font-size: 14px; margin: 0 0 6px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .related-body span { font-size: 12px; color: var(--color-text-light); }
.images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .image-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: block; border: 1px solid var(--color-border); } .image-card:hover { transform: translateY(-3px); } .image-cover { height: 200px; overflow: hidden; } .image-cover img { width: 100%; height: 100%; object-fit: cover; } .image-body { padding: 14px; display: flex; align-items: center; justify-content: space-between; } .image-body h3 { font-size: 14px; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .image-date { font-size: 12px; color: var(--color-text-light); margin-left: 8px; }
.cover-page .cover-slider { margin-bottom: 24px; border-radius: var(--radius-sm); overflow: hidden; } .cover-content { background: #fff; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .cover-text { font-family: var(--font-heading); font-size: 18px; line-height: 1.9; margin-bottom: 24px; } .cover-articles h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--color-accent); } .cover-article-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--color-border); } .cover-article-item:last-child { border-bottom: none; } .cover-article-title { font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cover-article-date { font-size: 12px; color: var(--color-text-light); margin-left: 16px; flex-shrink: 0; }
.widget { background: #fff; border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .widget-head { margin-bottom: 14px; } .widget-title { font-family: var(--font-heading); font-size: 17px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--color-accent-pink); }
.nav-list, .hot-list, .latest-list, .tool-list { list-style: none; padding: 0; margin: 0; } .nav-list li, .tool-item { padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .nav-list li:last-child, .tool-item:last-child { border-bottom: none; } .nav-list li a, .tool-item { display: block; font-size: 14px; color: var(--color-text-dark); } .tool-item:hover { color: var(--color-accent); } .tool-item .fa { color: var(--color-primary); margin-right: 8px; width: 18px; text-align: center; } .nav-list li a::before { content: '~'; color: var(--color-accent); margin-right: 8px; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .hot-item:last-child { border-bottom: none; } .hot-rank { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border-radius: 50%; background: var(--color-bg-gray); color: var(--color-text-muted); } .rank-1, .rank-2, .rank-3 { background: var(--color-accent); color: #fff; } .hot-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.latest-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .latest-item:last-child { border-bottom: none; } .latest-date { flex-shrink: 0; width: 44px; text-align: center; } .date-day { display: block; font-size: 18px; font-weight: 700; color: var(--color-primary); line-height: 1.1; font-family: var(--font-heading); } .date-month { display: block; font-size: 11px; color: var(--color-text-light); } .latest-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget-ad .ad-link { display: block; border-radius: var(--radius-sm); overflow: hidden; } .widget-ad img { width: 100%; }
.product-gallery { margin-bottom: 20px; } .gallery-main { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; border: 1px solid var(--color-border); } .gallery-main img { width: 100%; display: block; } .gallery-thumbs { display: flex; gap: 8px; } .gallery-thumb { width: 72px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; } .gallery-thumb.active { border-color: var(--color-primary); } .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .product-detail-top { display: flex; gap: 28px; margin-bottom: 28px; } .product-detail-top .product-gallery { flex: 0 0 400px; min-width: 0; } .product-info { flex: 1; min-width: 0; } .product-info .product-title { font-family: var(--font-heading); font-size: 24px; margin: 0 0 10px; } .product-info .product-cat { display: inline-block; padding: 3px 12px; background: var(--color-primary-light); color: var(--color-primary); font-size: 12px; font-weight: 600; border-radius: 12px; margin-bottom: 12px; } .product-info .product-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 18px; } .btn-product-inquire { display: inline-block; padding: 10px 28px; background: var(--color-primary); color: #fff !important; font-size: 14px; border-radius: 20px; font-weight: 600; } .btn-product-inquire:hover { background: var(--color-accent); }
.product-content { font-size: 16px; line-height: 1.9; } .product-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; } .contact-info-card { background: #fff; padding: 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .contact-info-card h3 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 10px; color: var(--color-primary); } .contact-info-card h3 .fa { color: var(--color-accent); margin-right: 8px; } .contact-info-card p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.8; }
.contact-form-title { font-family: var(--font-heading); font-size: 20px; margin: 0 0 20px; } .contact-form { background: #fff; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; } .form-group { display: flex; flex-direction: column; } .form-group label { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-dark); } .form-group .required { color: var(--color-accent); }
.form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); color: var(--color-text-dark); background: var(--color-bg-warm); } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-primary); outline: none; } .form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { padding: 12px 36px; background: var(--color-primary); color: #fff; border: none; border-radius: 20px; font-size: 16px; font-weight: 600; cursor: pointer; } .btn-submit:hover { background: var(--color-accent); }
.search-empty { text-align: center; padding: 60px 20px; } .empty-icon { font-size: 56px; color: var(--color-border); margin-bottom: 16px; } .search-empty h3 { font-family: var(--font-heading); font-size: 20px; color: var(--color-text-muted); margin: 0 0 8px; } .search-empty p { color: var(--color-text-light); margin: 0 0 24px; } .search-form { max-width: 480px; margin: 0 auto; } .search-input-group { display: flex; } .search-inp { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--color-border); border-right: none; border-radius: 20px 0 0 20px; font-size: 15px; font-family: var(--font-body); } .search-inp:focus { border-color: var(--color-primary); outline: none; } .search-btn { height: 44px; padding: 0 20px; background: var(--color-primary); color: #fff; border: none; border-radius: 0 20px 20px 0; font-size: 16px; cursor: pointer; } .search-btn:hover { background: var(--color-accent); }
.pagination-box { text-align: center; margin-top: 30px; } .pagination { display: inline-flex; list-style: none; padding: 0; margin: 0; gap: 6px; } .pagination li a, .pagination li span { display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 14px; border: 1px solid var(--color-border); background: #fff; text-align: center; border-radius: 20px; font-size: 14px; } .pagination li a:hover { border-color: var(--color-primary); color: var(--color-primary); } .pagination .active a, .pagination .active span { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
@media (max-width: 768px) {
    .products-grid, .exhibit-grid, .process-grid, .stats-grid, .testimonial-grid, .card-grid { grid-template-columns: 1fr; } .hero-title { font-size: 28px; } .section-title { font-size: 24px; }
    .article-card { flex-direction: column; } .article-cover { width: 100%; min-height: 200px; } .product-detail-top { flex-direction: column; } .product-detail-top .product-gallery { flex: none; }
    .footer-row { grid-template-columns: 1fr; } .images-grid { grid-template-columns: repeat(2, 1fr); } .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; }
    .main-menu { flex-wrap: wrap; } .main-menu > li > a { padding: 10px 14px; font-size: 13px; }
    .site-header .container { flex-wrap: wrap; } .mobile-toggle { display: block; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
