:root {
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.02) 100%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px rgba(0, 0, 0, 0.22);
    --glass-blur: blur(16px) saturate(150%);
    --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
}
.subtitle { color: #E8B856; font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.page-banner { position: relative; text-align: center; padding: 150px 20px 56px; overflow: hidden; z-index: 1; }
.banner-ghost { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 92px; font-family: 'Montserrat', sans-serif; font-size: clamp(4rem, 13vw, 10.5rem); font-weight: 900; letter-spacing: 4px; color: rgba(255, 255, 255, 0.05); white-space: nowrap; pointer-events: none; user-select: none; }
.banner-inner { position: relative; max-width: 860px; margin: 0 auto; }
.banner-title { font-family: 'Montserrat', sans-serif; font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 900; color: #fff; line-height: 1.12; margin-bottom: 16px; }
.banner-sub { color: #C9CDC9; font-size: 1.02rem; line-height: 1.65; max-width: 620px; margin: 0 auto; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.cat-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.09); color: #EDEBE4; font-size: 0.92rem; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.cat-pill .cat-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(232, 184, 86, 0.22); color: #E8B856; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; transition: background 0.3s ease, color 0.3s ease; }
.cat-pill .cat-count { color: #9AA39C; font-size: 0.8rem; font-weight: 700; }
.cat-pill:hover { border-color: rgba(232, 184, 86, 0.5); }
.cat-pill.is-active { background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); border-color: transparent; color: #1A1A1A; }
.cat-pill.is-active .cat-check { background: rgba(26, 26, 26, 0.85); color: #EFC26B; }
.cat-pill.is-active .cat-count { color: rgba(26, 26, 26, 0.65); }
.products-section { position: relative; z-index: 2; padding: 70px 0 10px 0; }
.products-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.shop-section { padding-top: 26px; }
.shop-count { color: #9AA39C; font-size: 0.9rem; margin-bottom: 20px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: var(--glass-border); box-shadow: var(--glass-shadow); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.5s var(--ease-liquid), border-color 0.5s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.20); }
.product-img-wrap { height: 210px; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease-liquid); }
.product-card:hover .product-img { transform: scale(1.05); }
.shop-section .product-img-wrap { background: #F7F3EA; height: 240px; }
.shop-section .product-img { object-fit: contain; padding: 12px; box-sizing: border-box; }
.product-body { padding: 22px 24px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: #E8B856; }
.product-price { color: #E8B856; font-size: 1.05rem; font-weight: 800; margin: 2px 0 8px; }
.product-desc { font-size: 0.93rem; color: #C9CFC9; line-height: 1.55; margin-bottom: 16px; }
.product-specs { color: #9AA39C; font-size: 0.82rem; line-height: 1.55; border-top: 1px dashed rgba(255, 255, 255, 0.12); padding-top: 10px; margin-bottom: 16px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.product-actions .btn-primary { background-color: #E8B856; color: #1A1A1A; border: none; padding: 15px 30px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; cursor: pointer; box-shadow: 0 10px 24px rgba(232, 184, 86, 0.18); transition: transform 0.45s var(--ease-liquid), box-shadow 0.45s var(--ease-liquid), opacity 0.3s ease; }
.product-actions .btn-primary:hover { opacity: 0.95; transform: translateY(-2px); }
.product-actions .product-btn { margin-top: 0; flex: 1 1 120px; display: inline-block; text-align: center; text-decoration: none; padding: 13px 20px; font-size: 0.82rem; font-family: inherit; }
.shop-empty { text-align: center; color: #C9CDC9; padding: 40px 20px; }
.shop-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 34px 0 0; }
.shop-pagination .page-link { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); color: #EDEBE4; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease; }
.shop-pagination .page-link:hover { border-color: #E8B856; color: #E8B856; }
.shop-pagination .page-item.active .page-link { background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); border-color: transparent; color: #1A1A1A; }
@media (max-width: 992px) {
    .products-grid { grid-template-columns: 1fr; }
}
/* Search Module Styles */
.search-hero { max-width: 860px; margin: 0 auto; padding: 28px 20px 4px; position: relative; z-index: 2; }
.search-hero--top { padding-top: 150px; }
.search-form { width: 100%; }
.search-input-wrap { display: flex; gap: 12px; }
.search-input { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.search-input::placeholder { color: #9AA39C; }
.search-input:focus { border-color: #E8B856; box-shadow: 0 0 0 3px rgba(232, 184, 86, 0.18); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border: none; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-weight: 800; font-size: 0.95rem; font-family: inherit; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px rgba(232, 184, 86, 0.18); transition: transform 0.45s var(--ease-liquid), opacity 0.3s ease; }
.search-btn:hover { opacity: 0.95; transform: translateY(-2px); }
.hint-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.hint-label { color: #9AA39C; font-size: 0.9rem; font-weight: 700; }
.hint-pill { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.09); color: #EDEBE4; font-size: 0.88rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; }
.hint-pill:hover { border-color: rgba(232, 184, 86, 0.5); color: #EFC26B; }
.result-bar-wrap { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; position: relative; z-index: 2; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 16px; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: var(--glass-border); box-shadow: var(--glass-shadow); }
.result-bar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.result-bar__icon { color: #E8B856; font-size: 1.1rem; }
.result-bar__text { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: #C9CDC9; font-size: 0.95rem; min-width: 0; }
.result-bar__label { font-weight: 600; color: #9AA39C; }
.result-bar__keyword { color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.result-bar__badge { padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
.result-bar__clear { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.result-bar__clear:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.result-bar__hint { margin-top: 12px; color: #9AA39C; font-size: 0.9rem; display: flex; gap: 8px; align-items: baseline; }
.result-bar__hint i { color: #E8B856; }
@media (max-width: 640px) {
    .search-input-wrap { flex-direction: column; }
    .search-btn { justify-content: center; }
    .result-bar { flex-direction: column; align-items: flex-start; }
}
/*Product Detail Module Styles*/
.pd-crumb { margin-bottom: 26px; }
.pd-crumb a { color: #E8B856; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.pd-crumb a:hover { color: #F2CD82; }
.pd-hero { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: start; }
.pd-pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.6px; text-decoration: none; }
.pd-title { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; color: #fff; line-height: 1.15; margin: 18px 0 10px; }
.pd-meta { color: #9AA39C; font-size: 0.85rem; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 14px; }
.pd-price { font-size: 1.6rem; font-weight: 800; color: #E8B856; margin-bottom: 16px; }
.pd-subtitle { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 800; color: #fff; margin: 20px 0 10px; line-height: 1.35; }
.pd-desc { color: #C9CDC9; line-height: 1.8; font-size: 1.02rem; margin-bottom: 16px; }
.pd-features { list-style: none; padding: 0; margin: 0 0 16px; }
.pd-features li { display: flex; gap: 10px; align-items: flex-start; color: #EDEBE4; line-height: 1.6; margin-bottom: 8px; }
.pd-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(232, 184, 86, 0.22); color: #E8B856; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; margin-top: 2px; }
.pd-note { color: #9AA39C; font-size: 0.85rem; line-height: 1.6; margin-bottom: 18px; }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn-ghost { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: background 0.3s ease, color 0.3s ease; }
.btn-ghost:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.product-btn { margin-top: auto; display: inline-block; text-align: center; text-decoration: none; padding: 13px 20px; font-size: 0.82rem; }
.pd-note-alert { display: flex; gap: 10px; align-items: flex-start; background: rgba(232, 184, 86, 0.10); border: 1px solid rgba(232, 184, 86, 0.35); color: #F2CD82; border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; line-height: 1.6; margin-top: 18px; }
.pd-note-alert i { color: #E8B856; flex-shrink: 0; margin-top: 2px; }
.pd-gallery { display: grid; gap: 16px; }
.pd-gal-main { background: #F7F3EA; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); }
.pd-gal-main img { width: 100%; height: 420px; object-fit: contain; padding: 18px; display: block; box-sizing: border-box; }
.pd-gal-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-gal-thumb { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #1D201B; }
.pd-gal-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.pd-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pd-info-box { background: #1D201B; border: 1px solid rgba(255, 255, 255, 0.08); border-left: 3px solid #E8B856; border-radius: 16px; padding: 22px 20px; }
.pd-info-title { font-family: 'Montserrat', sans-serif; font-size: 1.02rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.pd-info-text { color: #A9AEA9; font-size: 0.9rem; line-height: 1.6; }
.pd-section { margin-top: 40px; }
.pd-longdesc { color: #C9CDC9; line-height: 1.8; font-size: 1.02rem; }
.pd-sec-title { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.35; }
.pd-color-row { display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden; height: 50px; margin-bottom: 10px; background: rgba(255, 255, 255, 0.03); }
.pd-color-swatch { width: 60px; height: 100%; flex-shrink: 0; }
.pd-color-label { padding: 0 16px; flex-grow: 1; color: #EDEBE4; min-width: 0; }
.pd-color-icon { padding: 0 4px 0 16px; color: #E8B856; flex-shrink: 0; }
.pd-color-link { color: #EDEBE4; font-weight: 700; text-decoration: none; }
.pd-color-link:hover { color: #E8B856; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; }
.pd-tags-label { font-weight: 700; color: #9AA39C; font-size: 0.9rem; margin-right: 2px; }
.pd-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-size: 0.85rem; text-decoration: none; transition: background 0.3s ease, color 0.3s ease; }
.pd-tag:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.pd-detail > hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 40px 0; }
.pd-article { color: #C9CDC9; line-height: 1.8; font-size: 1.02rem; }
.pd-article h2, .pd-article h3, .pd-article h4 { font-family: 'Montserrat', sans-serif; color: #fff; font-weight: 800; margin: 28px 0 12px; line-height: 1.35; }
.pd-article h2 { font-size: 1.5rem; }
.pd-article h3 { font-size: 1.25rem; }
.pd-article h4 { font-size: 1.1rem; }
.pd-article p { margin-bottom: 14px; }
.pd-article a { color: #E8B856; }
.pd-article img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 18px auto; }
.pd-article ul, .pd-article ol { margin: 0 0 16px; padding-left: 22px; }
.pd-article li { margin-bottom: 6px; }
.pd-article blockquote { border-left: 3px solid #E8B856; padding-left: 16px; color: #EDEBE4; margin: 18px 0; }
.pd-article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.pd-article th, .pd-article td { border: 1px solid rgba(255, 255, 255, 0.12); padding: 8px 12px; text-align: left; }
.pd-article th { color: #fff; }
@media (max-width: 900px) {
    .pd-hero { grid-template-columns: 1fr; }
    .pd-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .pd-info { grid-template-columns: 1fr; }
    .pd-gal-main img { height: 300px; }
}
/* Post Detail Module Styles */
:root { --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1); }
.pd-crumb { margin-bottom: 26px; }
.pd-crumb a { color: #E8B856; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.pd-crumb a:hover { color: #F2CD82; }
.pd-pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.6px; text-decoration: none; }
.at-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.at-hero--no-photo { grid-template-columns: 1fr; }
.at-photo { position: relative; margin-bottom: 28px; }
.at-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; border: 1px solid rgba(255, 255, 255, 0.08); }
.at-overlay { position: absolute; left: 20px; right: 20px; bottom: -28px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; border-radius: 16px; padding: 20px 22px; display: flex; gap: 14px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.at-overlay-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(26, 26, 26, 0.15); display: flex; align-items: center; justify-content: center; }
.at-overlay-title { font-weight: 800; margin-bottom: 4px; }
.at-overlay-text { font-size: 0.9rem; line-height: 1.55; }
.at-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; line-height: 1.2; margin: 18px 0 0; }
.at-meta { color: #9AA39C; font-size: 0.85rem; letter-spacing: 1.4px; text-transform: uppercase; margin: 12px 0 10px; }
.at-submeta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: #9AA39C; font-size: 0.85rem; margin-bottom: 16px; }
.at-desc p { color: #C9CDC9; line-height: 1.8; margin-bottom: 14px; }
.at-keys-title { font-weight: 800; color: #fff; margin: 22px 0 12px; }
.at-keys { display: flex; flex-wrap: wrap; gap: 10px; }
.at-key { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; color: #EDEBE4; }
.at-key .at-check { width: 20px; height: 20px; border-radius: 50%; background: rgba(232, 184, 86, 0.22); color: #E8B856; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; }
.at-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.at-cta .btn-primary { background-color: #E8B856; color: #1A1A1A; border: none; padding: 15px 30px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; cursor: pointer; box-shadow: 0 10px 24px rgba(232, 184, 86, 0.18); transition: transform 0.45s var(--ease-liquid), box-shadow 0.45s var(--ease-liquid), opacity 0.3s ease; }
.at-cta .btn-primary:hover { opacity: 0.95; transform: translateY(-2px); }
.btn-ghost { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: background 0.3s ease, color 0.3s ease; }
.btn-ghost:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.at-cta .product-btn { margin-top: auto; display: inline-block; text-align: center; text-decoration: none; padding: 13px 20px; font-size: 0.82rem; }
.at-body { margin-top: 34px; color: #C9CDC9; line-height: 1.8; font-size: 1.02rem; }
.at-body h2, .at-body h3, .at-body h4 { font-family: 'Montserrat', sans-serif; color: #fff; font-weight: 800; margin: 28px 0 12px; line-height: 1.35; }
.at-body h2 { font-size: 1.5rem; }
.at-body h3 { font-size: 1.25rem; }
.at-body h4 { font-size: 1.1rem; }
.at-body p { margin-bottom: 14px; }
.at-body a { color: #E8B856; }
.at-body img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 18px auto; }
.at-body ul, .at-body ol { margin: 0 0 16px; padding-left: 22px; }
.at-body li { margin-bottom: 6px; }
.at-body blockquote { border-left: 3px solid #E8B856; padding-left: 16px; color: #EDEBE4; margin: 18px 0; }
.at-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.at-body th, .at-body td { border: 1px solid rgba(255, 255, 255, 0.12); padding: 8px 12px; text-align: left; }
.at-body th { color: #fff; }
.at-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.at-tags-label { font-weight: 700; color: #9AA39C; font-size: 0.9rem; margin-right: 2px; }
.at-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-size: 0.85rem; text-decoration: none; transition: background 0.3s ease, color 0.3s ease; }
.at-tag:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.at-related { margin-top: 56px; }
.at-related-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.at-related-title { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0; }
.at-rel-nav { display: flex; gap: 10px; }
.at-rel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); background: transparent; color: #EDEBE4; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.at-rel-nav button:hover { border-color: #E8B856; color: #E8B856; }
.at-viewport { overflow: hidden; }
.at-track { display: flex; gap: 18px; transition: transform 0.6s var(--ease-liquid); }
.at-card { background: #1D201B; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.at-viewport[data-visible="1"] .at-card { flex: 0 0 100%; }
.at-viewport[data-visible="2"] .at-card { flex: 0 0 calc(50% - 9px); }
.at-viewport[data-visible="4"] .at-card { flex: 0 0 calc(25% - 13.5px); }
.at-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.at-card-body { padding: 14px 16px 18px; }
.at-card-meta { color: #E8B856; font-size: 0.66rem; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 7px; text-transform: uppercase; }
.at-card-title { color: #fff; font-weight: 700; font-size: 0.98rem; line-height: 1.35; margin-bottom: 7px; }
.at-card-excerpt { color: #A9AEA9; font-size: 0.85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
    .at-hero { grid-template-columns: 1fr; }
    .at-overlay { position: static; margin-top: 16px; }
    .at-photo { margin-bottom: 0; }
}
/*search blog*/
.search-hero { max-width: 860px; margin: 0 auto; padding: 28px 20px 4px; position: relative; z-index: 2; }
.search-hero--top { padding-top: 150px; }
.search-form { width: 100%; }
.search-input-wrap { display: flex; gap: 12px; }
.search-input { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.search-input::placeholder { color: #9AA39C; }
.search-input:focus { border-color: #E8B856; box-shadow: 0 0 0 3px rgba(232, 184, 86, 0.18); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border: none; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-weight: 800; font-size: 0.95rem; font-family: inherit; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px rgba(232, 184, 86, 0.18); transition: transform 0.45s var(--ease-liquid), opacity 0.3s ease; }
.search-btn:hover { opacity: 0.95; transform: translateY(-2px); }
.hint-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.hint-label { color: #9AA39C; font-size: 0.9rem; font-weight: 700; }
.hint-pill { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.09); color: #EDEBE4; font-size: 0.88rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; }
.hint-pill:hover { border-color: rgba(232, 184, 86, 0.5); color: #EFC26B; }
.result-bar-wrap { max-width: 1200px; margin: 20px auto 16px; padding: 0 20px; position: relative; z-index: 2; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 16px; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: var(--glass-border); box-shadow: var(--glass-shadow); }
.result-bar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.result-bar__icon { color: #E8B856; font-size: 1.1rem; }
.result-bar__text { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: #C9CDC9; font-size: 0.95rem; min-width: 0; }
.result-bar__label { font-weight: 600; color: #9AA39C; }
.result-bar__keyword { color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.result-bar__badge { padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); color: #1A1A1A; font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
.result-bar__clear { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.result-bar__clear:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
.result-bar__hint { margin-top: 12px; color: #9AA39C; font-size: 0.9rem; display: flex; gap: 8px; align-items: baseline; }
.result-bar__hint i { color: #E8B856; }
.cat-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; max-width: 1200px; margin: 20px auto 0; padding: 0 20px; position: relative; z-index: 3; }
.cat-filter-label { color: #9AA39C; font-size: 0.9rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.cat-filter-label i { color: #E8B856; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.09); color: #EDEBE4; font-size: 0.92rem; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.cat-pill .cat-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(232, 184, 86, 0.22); color: #E8B856; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; transition: background 0.3s ease, color 0.3s ease; }
.cat-pill .cat-count { color: #9AA39C; font-size: 0.8rem; font-weight: 700; }
.cat-pill:hover { border-color: rgba(232, 184, 86, 0.5); }
.cat-pill.is-active { background: linear-gradient(135deg, #EFC26B 0%, #DFA83F 100%); border-color: transparent; color: #1A1A1A; }
.cat-pill.is-active .cat-check { background: rgba(26, 26, 26, 0.85); color: #EFC26B; }
.cat-pill.is-active .cat-count { color: rgba(26, 26, 26, 0.65); }
.cat-clear-filters { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(232, 184, 86, 0.55); color: #EFC26B; font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.cat-clear-filters:hover { background: rgba(232, 184, 86, 0.14); color: #F2CD82; }
@media (max-width: 640px) {
    .search-input-wrap { flex-direction: column; }
    .search-btn { justify-content: center; }
    .result-bar { flex-direction: column; align-items: flex-start; }
    .cat-filter { gap: 10px; }
}
.blog-block-container { width: 100%; max-width: 1280px; }
/* ============================================================
   spacing-fix.css — FIX khoảng trống lớn ở trang /products.
   Cách dùng: dán toàn bộ nội dung file này vào CUỐI file CSS của
   project (sau mọi rule khác) để các rule dưới đây thắng khi cùng
   độ ưu tiên, rồi Ctrl+Shift+R.

   Nguyên nhân (thấy trên ảnh chụp localhost:3003/products): các
   section xếp chồng nhau, mỗi section đều mang padding-top lớn
   thiết kế cho lúc đứng một mình — banner 150px, khối sản phẩm
   70px + 26px, pills margin-top 34px — cộng dồn thành ~300px
   khoảng trống giữa hàng "Gợi ý" và hàng pill nhóm. Nặng nhất là
   hàng pill đang bọc trong một <section class="page-banner"> RIÊNG
   (bản rút gọn, chỉ chứa .cat-pills): section đó cộng thêm đúng
   150px padding-top vô hình lên trên pills.
   Cách sửa GỐC (làm thêm, xem ghi chú trong reply): bỏ thẻ
   <section class="page-banner"> chỉ bọc pills đó đi, chỉ giữ
   <div class="cat-pills">. Các rule dưới đây vừa thu padding vừa
   triệt padding của banner lặp lại, để dù chưa sửa EJS thì khoảng
   trống cũng hết.
   ============================================================ */
.page-banner { padding-bottom: 28px; }
.search-hero { padding-top: 12px; }
.cat-pills { margin-top: 20px; }
/* Banner lặp lại sau banner chính (trường hợp bọc riêng hàng pills):
   triệt padding của nó và ẩn chữ mờ ghost nếu có. */
.page-banner ~ .page-banner { padding-top: 0; padding-bottom: 0; }
.page-banner ~ .page-banner .banner-ghost { display: none; }
/* Banner mà con duy nhất là hàng pills thì cũng triệt padding
   (trình duyệt mới hỗ trợ :has; trình duyệt cũ bỏ qua rule này
   nhưng 2 rule trên vẫn xử lý được). */
.page-banner:has(> .cat-pills:only-child) { padding-top: 0; padding-bottom: 0; }

