/*
Theme Name: Hải Thịnh Phát Content
Author: Hải Thịnh Phát
Description: Giao diện đồng phục với trang, bài viết và danh mục sản phẩm có thể chỉnh sửa trong WordPress.
Version: 1.0.2
Text Domain: htp-content
*/
:root{font-family:'Be Vietnam Pro',Arial,sans-serif;color:#192d46}*{box-sizing:border-box}body{margin:0}img{max-width:100%}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #4591e8;outline-offset:3px}.wrap{max-width:1220px;margin:auto;padding:0 42px}.htp-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #dce6f0}.htp-strip{background:#132d50;color:#fff;font-size:.82rem}.htp-strip .wrap{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:15px}.htp-strip a{color:#fff;text-decoration:none;font-weight:700}.htp-nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.htp-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;color:#142b51}.htp-brand img{height:49px;width:55px;object-fit:contain}.htp-links{display:flex;align-items:center;gap:24px;font-size:.9rem;font-weight:700}.htp-links a{color:#142b51;text-decoration:none}.htp-links a:hover,.htp-links a[aria-current]{color:#1858b0}.htp-links .htp-quote{background:#173e79;color:#fff;padding:12px 18px;border-radius:5px}.htp-zalo{position:fixed;right:20px;bottom:20px;z-index:60;background:#0868d8;color:#fff!important;text-decoration:none;font-weight:800;padding:13px 16px;border-radius:40px;box-shadow:0 9px 25px #14335966}.htp-editor-content{max-width:850px;margin:40px auto;padding:0 24px 70px;line-height:1.8}.htp-editor-content h1{line-height:1.2}.htp-editor-content img{height:auto}.htp-editor-content a{color:#1858b0}.htp-article-header{background:#173e79;color:#fff;padding:48px 0}.htp-article-header h1{font-size:clamp(2rem,4vw,3.4rem);margin:0}.htp-article-header .wrap{max-width:900px}.htp-article-header a{color:#cde3fc}.htp-article-header p{color:#e0ecf8;line-height:1.7}.htp-product-list{max-width:1220px;margin:0 auto;padding:35px 42px 80px}.htp-product-list h1{color:#142b51;font-size:2.6rem}.htp-filters{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 25px}.htp-filters a{border:1px solid #c8d8e9;border-radius:7px;text-decoration:none;color:#254264;padding:9px 14px}.htp-filters a.active{background:#173e79;color:#fff}.htp-search{display:flex;gap:8px;margin-bottom:25px}.htp-search input{font:inherit;padding:11px 14px;border:1px solid #bdcfe2;border-radius:5px;max-width:500px;width:100%}.htp-search button{background:#173e79;color:white;border:0;padding:10px 16px;border-radius:5px}.htp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.htp-product{border:1px solid #dce6f0;background:#fff;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.htp-product-image{display:grid;place-items:center;aspect-ratio:1;background:#edf2f8;padding:15px}.htp-product-image img{width:100%;height:100%;object-fit:contain}.htp-product-body{padding:17px;display:flex;flex:1;flex-direction:column}.htp-product-body h2{font-size:1rem;line-height:1.45;margin:0 0 9px}.htp-product-body h2 a{color:#142b51;text-decoration:none}.htp-product-body p{color:#536981;font-size:.86rem;line-height:1.6}.htp-product-body .button{margin-top:auto;display:inline-block;color:#173e79;font-weight:700}.htp-pagination{margin-top:32px}.htp-pagination a,.htp-pagination span{display:inline-block;padding:8px 12px;border:1px solid #c8d8e9;margin-right:5px}.htp-single{max-width:1180px;margin:auto;padding:40px 42px 85px}.htp-single-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.htp-single-photo{aspect-ratio:1;background:#edf2f8;display:grid;place-items:center;padding:25px}.htp-single-photo img{height:100%;width:100%;object-fit:contain}.htp-single h1{color:#142b51;font-size:clamp(2rem,3.5vw,3.3rem)}.htp-single p{line-height:1.75;color:#536981}.htp-single .button{display:inline-block;background:#173e79;color:white;text-decoration:none;border-radius:5px;padding:12px 17px}.htp-single .htp-detail-content{margin-top:38px}.htp-post-list{max-width:900px;margin:auto;padding:40px 24px 80px}.htp-post-list article{border-bottom:1px solid #dce6f0;padding:18px 0}.htp-post-list a{color:#173e79}.htp-footer .sf-bottom a{color:inherit}@media(max-width:1000px){.htp-grid{grid-template-columns:repeat(3,1fr)}.htp-links{gap:12px}}@media(max-width:750px){.wrap{padding:0 22px}.htp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.htp-single-grid{grid-template-columns:1fr}.htp-strip{display:none}.htp-nav{min-height:68px}.htp-brand{font-size:.85rem}.htp-brand img{width:43px}.htp-links a:not(.htp-quote){display:none}.htp-links .htp-quote{font-size:.8rem;padding:10px 12px}.htp-product-list,.htp-single{padding-left:22px;padding-right:22px}}@media(max-width:380px){.htp-grid{grid-template-columns:1fr}}
/* Catalog cards: fixed square image areas and visible, aligned actions. */
.htp-product-list .htp-grid{align-items:stretch}
.htp-product-list .htp-product{min-width:0;height:100%}
.htp-product-list .htp-product-image{display:block;position:relative;width:100%;aspect-ratio:1/1;height:auto;min-height:0;flex:none;padding:0;overflow:hidden;background:#edf2f8}
.htp-product-list .htp-product-image img{position:absolute;inset:15px;width:calc(100% - 30px);height:calc(100% - 30px);max-width:none;object-fit:contain;object-position:center}
.htp-product-list .htp-product-body{display:flex;flex:1;flex-direction:column;min-width:0}
.htp-product-list .htp-product-body a.button{display:block;margin-top:auto;padding:11px 15px;border:0;border-radius:5px;background:#173e79;color:#fff;text-align:center;text-decoration:none;line-height:1.4}
.htp-product-list .htp-product-body a.button:hover{background:#285fa9;color:#fff!important}
/* Fixed quick contact menu inspired by the supplied reference. */
body{padding-bottom:108px}
.htp-zalo{display:none}
.htp-contact-bar{position:fixed;z-index:80;bottom:16px;left:50%;transform:translateX(-50%);width:min(1320px,calc(100% - 36px));min-height:90px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;background:#fff;border-radius:28px;box-shadow:0 8px 35px rgba(20,45,80,.16);padding:13px 18px}
.htp-contact-bar a,.htp-contact-bar button{appearance:none;border:0;border-right:1px solid #d8e2ef;background:transparent;color:#084b87;text-decoration:none;font:inherit;display:flex;align-items:center;justify-content:center;gap:13px;min-width:0;min-height:62px;padding:5px 12px;cursor:pointer;text-align:left}
.htp-contact-bar>:last-child{border-right:0}
.htp-contact-bar a:hover,.htp-contact-bar button:hover{color:#0873bd;background:#f3f8fd;border-radius:12px}
.htp-contact-bar strong{display:block;font-size:clamp(.77rem,1.15vw,1.08rem);line-height:1.25;white-space:nowrap;font-weight:800}
.htp-contact-bar small{display:block;margin-top:4px;color:#4d6380;font-size:clamp(.68rem,.9vw,.83rem);white-space:nowrap}
.htp-contact-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#086fc8;color:#fff;font-size:1.45rem;font-weight:800;line-height:1}
@media(max-width:850px){body{padding-bottom:90px}.htp-contact-bar{bottom:8px;width:calc(100% - 16px);min-height:72px;border-radius:20px;padding:7px 4px}.htp-contact-bar a,.htp-contact-bar button{flex-direction:column;gap:3px;min-height:58px;padding:2px 1px;text-align:center}.htp-contact-icon{width:27px;height:27px;font-size:1rem}.htp-contact-bar strong{font-size:clamp(.56rem,1.8vw,.76rem);white-space:normal}.htp-contact-bar small{display:none}}
@media(max-width:430px){.htp-contact-bar strong{font-size:.57rem}.htp-contact-icon{width:26px;height:26px}}
/* Product archive refresh */
.htp-catalog-page{background:#f7f9fc}
.htp-catalog-hero{background:radial-gradient(circle at 86% 25%,#2b669e 0,transparent 35%),linear-gradient(120deg,#112e50,#194679);color:#fff;padding:0;overflow:hidden}
.htp-catalog-hero .wrap{max-width:1220px}
.htp-catalog-hero-grid{display:grid;grid-template-columns:54% 46%;align-items:center;gap:24px;min-height:460px}
.htp-catalog-hero-copy{position:relative;z-index:1;padding:60px 0}
.htp-catalog-eyebrow,.htp-catalog-overline{display:block;font-size:.76rem;font-weight:800;letter-spacing:.16em}
.htp-catalog-eyebrow{color:#9ed2ff;margin-bottom:15px}
.htp-catalog-hero h1{font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.08;letter-spacing:-.045em;max-width:800px;margin:0 0 19px}
.htp-catalog-hero h1 em{font-style:normal;color:#a8d4fa}
.htp-catalog-hero p{max-width:670px;color:#e1ecf7;font-size:1.03rem;line-height:1.75;margin:0 0 25px}
.htp-catalog-jump{display:inline-flex;align-items:center;gap:14px;background:#fff;color:#173e79;text-decoration:none;font-weight:800;padding:12px 18px;border-radius:7px}
.htp-catalog-jump:hover{background:#e8f3ff}
.htp-catalog-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:32px}
.htp-catalog-hero-cta{display:inline-flex;align-items:center;gap:14px;background:transparent;color:#fff;border:1.5px solid #6f9bcf;text-decoration:none;font-weight:800;padding:12px 18px;border-radius:7px;cursor:pointer;font-size:1rem;font-family:inherit;transition:background .2s,border-color .2s}
.htp-catalog-hero-cta:hover{background:#ffffff1a;border-color:#a8d4fa}
.htp-catalog-hero-stats{list-style:none;display:flex;flex-wrap:wrap;gap:30px;margin:0;padding:20px 0 0;border-top:1px solid #ffffff2e}
.htp-catalog-hero-stats li{display:flex;flex-direction:column;gap:4px}
.htp-catalog-hero-stats strong{font-size:1.55rem;font-weight:800;color:#fff;letter-spacing:-.02em}
.htp-catalog-hero-stats span{font-size:.8rem;color:#bcd3ea}
.htp-catalog-hero-visual{position:relative;padding:36px 0 36px 10px}
.htp-catalog-hero-visual img{width:100%;height:100%;min-height:340px;max-height:440px;object-fit:cover;object-position:top center;display:block;border-radius:18px;box-shadow:0 25px 60px #05173f66}
@media (max-width:880px){.htp-catalog-hero-grid{grid-template-columns:1fr;min-height:0;gap:0}.htp-catalog-hero-copy{padding:44px 0 20px}.htp-catalog-hero-visual{padding:0 0 32px;min-height:0}.htp-catalog-hero-visual img{min-height:220px;max-height:300px}.htp-catalog-hero-stats{gap:20px}}
.htp-catalog-page .htp-product-list{max-width:1220px;padding:55px 42px 84px;scroll-margin-top:125px}
.htp-catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.htp-catalog-overline{color:#2b74ac;margin-bottom:9px}
.htp-catalog-heading h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;letter-spacing:-.035em;color:#142b51;margin:0}
.htp-catalog-count{margin:0 0 4px;color:#637991;font-weight:600;white-space:nowrap}
.htp-catalog-page .htp-filters{border-bottom:1px solid #dbe5f0;padding-bottom:20px;margin:0 0 25px;gap:9px}
.htp-catalog-page .htp-filters a{border-radius:100px;background:#fff;padding:10px 16px;color:#38516e;font-weight:700;font-size:.88rem;transition:background .2s,border-color .2s}
.htp-catalog-page .htp-filters a:hover{border-color:#1c66a8;color:#174a7e}
.htp-catalog-page .htp-filters a.active{background:#173e79;border-color:#173e79;color:#fff}
.htp-catalog-page .htp-grid{gap:20px}
.htp-catalog-page .htp-product{border:1px solid #e0e8f1;border-radius:14px;box-shadow:0 8px 22px #183f7010;transition:transform .2s ease,box-shadow .2s ease}
.htp-catalog-page .htp-product:hover{transform:translateY(-4px);box-shadow:0 18px 35px #173e7926}
.htp-catalog-page .htp-product-image{background:#eef3f8}
.htp-catalog-page .htp-product-image img{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);transition:transform .25s ease}
.htp-catalog-page .htp-product:hover img{transform:scale(1.04)}
.htp-catalog-page .htp-product-body{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:72px;padding:14px 17px}
.htp-catalog-page .htp-product-body h3{font-size:.98rem;line-height:1.4;margin:0;color:#142b51}
.htp-catalog-page .htp-product-body h3 a{text-decoration:none;color:inherit}
.htp-catalog-page .htp-product-body h3 a:hover{color:#1767a8}
.htp-card-arrow{flex:none;display:grid;place-items:center;border-radius:50%;width:29px;height:29px;background:#e8f1f9;color:#17588f;font-weight:800}
.htp-catalog-empty{padding:35px;background:#fff;border-radius:10px;color:#536981}
.htp-catalog-page .htp-pagination{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin:35px 0 0}
.htp-catalog-page .htp-pagination a,.htp-catalog-page .htp-pagination span{border-radius:7px;margin:0;background:#fff;text-decoration:none;color:#173e79}
.htp-catalog-page .htp-pagination .current{background:#173e79;color:#fff}
.htp-catalog-cta{margin-top:65px;display:flex;justify-content:space-between;align-items:center;gap:28px;background:#e8f1fa;border:1px solid #d4e3f0;border-radius:16px;padding:28px 34px}
.htp-catalog-cta h2{font-size:1.55rem;margin:0 0 7px;color:#142b51}
.htp-catalog-cta p{margin:0;color:#526a83;line-height:1.6}
.htp-catalog-cta button{flex:none;border:0;border-radius:7px;background:#173e79;color:#fff;font:inherit;font-weight:800;padding:14px 19px;cursor:pointer}
.htp-catalog-cta button:hover{background:#285fa9}
@media(max-width:750px){.htp-catalog-hero{padding:44px 0 50px}.htp-catalog-page .htp-product-list{padding:37px 22px 65px}.htp-catalog-heading{align-items:start;display:block}.htp-catalog-count{margin-top:12px}.htp-catalog-page .htp-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:15px}.htp-catalog-page .htp-filters a{white-space:nowrap}.htp-catalog-page .htp-grid{gap:12px}.htp-catalog-page .htp-product-body{min-height:68px;padding:11px}.htp-catalog-page .htp-product-body h3{font-size:.84rem}.htp-card-arrow{width:24px;height:24px}.htp-catalog-cta{display:block;padding:24px;margin-top:45px}.htp-catalog-cta button{margin-top:19px}}
@media(max-width:380px){.htp-catalog-page .htp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.htp-catalog-page .htp-product-body h3{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){.htp-catalog-page .htp-product,.htp-catalog-page .htp-product-image img{transition:none}}

/* Gentle product catalog interactions */
.htp-catalog-page .htp-product-list .htp-product{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.htp-catalog-page .htp-product-list .htp-product:hover,.htp-catalog-page .htp-product-list .htp-product:focus-within{transform:translateY(-6px);border-color:#9abbd8;box-shadow:0 18px 36px rgba(23,62,121,.17)}
.htp-catalog-page .htp-product-list .htp-product-image img{transition:transform .5s ease}
.htp-catalog-page .htp-product-list .htp-product:hover .htp-product-image img,.htp-catalog-page .htp-product-list .htp-product:focus-within .htp-product-image img{transform:scale(1.055)}
.htp-catalog-page .htp-card-arrow{transition:background .3s ease,color .3s ease,transform .3s ease}
.htp-catalog-page .htp-product-list .htp-product:hover .htp-card-arrow,.htp-catalog-page .htp-product-list .htp-product:focus-within .htp-card-arrow{background:#173e79;color:#fff;transform:rotate(-8deg)}
.htp-catalog-page .htp-filters a,.htp-catalog-page .htp-catalog-jump,.htp-catalog-page button{transition:background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease}
.htp-catalog-page .htp-catalog-jump:hover,.htp-catalog-page .htp-catalog-hero-cta:hover,.htp-catalog-page .htp-catalog-cta button:hover{box-shadow:0 8px 20px rgba(10,35,70,.18)}
@keyframes htp-catalog-reveal{from{opacity:0;translate:0 35px}to{opacity:1;translate:0 0}}
@supports (animation-timeline:view()){
@media(prefers-reduced-motion:no-preference){
.htp-catalog-page .htp-product-list .htp-product{animation:htp-catalog-reveal ease-out both;animation-timeline:view();animation-range:entry 0% cover 45%}
}}
@media(hover:none){.htp-catalog-page .htp-product-list .htp-product:hover{transform:none}.htp-catalog-page .htp-product-list .htp-product:hover .htp-product-image img{transform:none}}
@media(prefers-reduced-motion:reduce){.htp-catalog-page .htp-product-list .htp-product,.htp-catalog-page .htp-product-list .htp-product-image img,.htp-catalog-page .htp-card-arrow,.htp-catalog-page .htp-filters a,.htp-catalog-page .htp-catalog-jump,.htp-catalog-page button{animation:none!important;transition:none!important;translate:none!important}.htp-catalog-page .htp-product-list .htp-product:hover,.htp-catalog-page .htp-product-list .htp-product:focus-within,.htp-catalog-page .htp-product-list .htp-product:hover .htp-product-image img,.htp-catalog-page .htp-product-list .htp-product:focus-within .htp-product-image img{transform:none}}
