/*
Theme Name: DCT Market Legal
Theme URI: https://dinhcongthuong.com
Author: DCT
Description: Giao diện thương mại điện tử dành cho biểu mẫu pháp lý, tương thích WooCommerce và SePay.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: dct-market
*/
:root{--navy:#102942;--navy2:#173d59;--gold:#d6a04b;--cream:#fff9ef;--line:#e8e9ec;--ink:#202b36}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:15px/1.6 Arial,Helvetica,sans-serif;background:#fff}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{background:#f4f6f8;color:#415266;font-size:12px}.topbar .wrap,.head-main,.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:22px}.topbar .wrap{padding:7px 0}.head-main{padding:22px 0}.logo{font-size:26px;font-weight:900;color:var(--navy);line-height:1.1;letter-spacing:-.5px}.logo small{display:block;color:#a67c3e;font-size:10px;letter-spacing:2.2px;margin-top:8px}.searchform{display:flex;max-width:500px;flex:1}.searchform input{flex:1;min-width:0;border:1px solid #d7dce3;padding:12px 14px;border-radius:5px 0 0 5px}.searchform button,.btn{border:0;background:var(--gold);color:#162639;font-weight:700;padding:12px 20px;border-radius:5px}.searchform button{border-radius:0 5px 5px 0}.head-contact{font-size:13px;text-align:right}.head-contact strong{display:block;color:var(--navy);font-size:18px}.nav{background:var(--navy);color:#fff}.nav-inner{justify-content:flex-start}.nav-cat{width:260px;background:var(--gold);color:#13273a;font-weight:800;padding:14px 16px;flex-shrink:0}.nav nav{display:flex;gap:0;flex-wrap:wrap}.nav nav a{padding:14px 18px;font-weight:700;font-size:13px}.nav nav a:hover{background:#24445f}.hero-layout{display:grid;grid-template-columns:260px 1fr;gap:16px;margin-top:16px}.sidecats{border:1px solid var(--line);border-radius:5px;overflow:hidden}.sidecats a{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 15px;font-size:13px}.sidecats a:hover{background:var(--cream)}.sidecats a:last-child{border:0}.sidecats .num{color:#b1874a;font-weight:800}.hero{min-height:340px;background:linear-gradient(115deg,#0e2944,#234963);border-radius:6px;display:flex;align-items:center;padding:38px 42px;color:#fff;position:relative;overflow:hidden}.hero:after{content:'§';position:absolute;font-family:Georgia,serif;font-size:350px;color:#fff;opacity:.06;right:50px;top:-135px}.hero-content{position:relative;z-index:1;max-width:590px}.eyebrow{font-size:12px;letter-spacing:2px;color:#e7ba72;font-weight:800}.hero h1{font-size:clamp(28px,3.5vw,46px);line-height:1.2;margin:14px 0}.hero p{font-size:16px;color:#e2ebf3;max-width:510px}.hero .btn{display:inline-block;margin-top:12px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px auto}.benefit{padding:17px 14px;background:#f7f9fb;border:1px solid #e8edf1;border-radius:6px;text-align:center;font-size:13px;font-weight:700}.benefit b{color:#b78c49;margin-right:5px}.section{margin:30px 0 45px}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--gold);margin-bottom:16px}.section-title h2{font-size:19px;background:var(--navy);color:#fff;padding:9px 18px;margin:0}.section-title a{font-size:13px;color:#8a652b}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-card:hover{box-shadow:0 9px 25px #0b274214}.product-image{aspect-ratio:1.2;background:#f5f6f8;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-placeholder{background:#f8f5ed;width:74%;height:75%;box-shadow:0 7px 17px #0002;border:1px solid #e4dccd;padding:22px;text-align:center;color:var(--navy);display:flex;flex-direction:column;justify-content:center;gap:8px}.product-placeholder:before{content:'BIỂU MẪU PHÁP LÝ';font-size:9px;letter-spacing:1.5px;color:#b68b47}.product-placeholder strong{font:700 19px/1.3 Georgia,serif}.product-body{padding:14px;display:flex;flex:1;flex-direction:column}.product-name{font-weight:700;font-size:14px;line-height:1.45;min-height:42px}.price{font-size:17px;color:#bb7e24;font-weight:800;margin:8px 0 12px}.price del{color:#999;font-size:12px}.price ins{text-decoration:none}.product-actions{margin-top:auto}.product-actions a{display:block;text-align:center;background:var(--gold);padding:10px 8px;font-size:12px;font-weight:800;border-radius:4px}.category-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.category-tile{border:1px solid var(--line);border-radius:5px;padding:23px;text-align:center;background:#fbfaf7;font-weight:800}.category-tile span{display:block;font-size:30px;color:var(--gold);margin-bottom:8px}.content-area{padding:30px 0 55px;min-height:45vh}.content-area h1{font-size:30px;color:var(--navy)}.woocommerce div.product div.images img{border-radius:6px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#b47d28}.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce button.button,.woocommerce a.button{background:var(--gold);color:#132b42;border-radius:5px}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#bd8532;color:#fff}.single-product .summary .price{font-size:26px}.single-product .summary:after{content:'✓ File Word chỉnh sửa được    ✓ Bản giấy giao toàn quốc    ✓ Hỗ trợ 0944 676 167';white-space:pre-wrap;display:block;border:1px solid #e4d5b9;background:#fffaf0;padding:16px;margin-top:25px;font-size:13px;color:#36506a;line-height:2}.footer{background:#0d263e;color:#dce5ed;padding:42px 0 15px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer h3{color:#fff;margin-top:0}.footer a{display:block;margin:9px 0;font-size:13px}.copyright{border-top:1px solid #ffffff24;padding-top:16px;margin-top:28px;font-size:12px}.floating-contact{position:fixed;right:20px;bottom:22px;background:var(--gold);border-radius:28px;padding:11px 17px;font-size:13px;font-weight:800;color:#14273a;box-shadow:0 3px 15px #0002;z-index:30}.mobile-toggle{display:none}.woocommerce ul.products li.product .button{background:var(--gold);color:#132b42}.woocommerce .woocommerce-breadcrumb{margin-bottom:25px}@media(max-width:900px){.hero-layout{grid-template-columns:210px 1fr}.nav-cat{width:210px}.product-grid{grid-template-columns:repeat(3,1fr)}.hero{padding:25px}.head-contact{display:none}}@media(max-width:700px){.topbar{display:none}.head-main{flex-wrap:wrap;padding:15px 0}.logo{font-size:21px}.searchform{order:3;flex-basis:100%;max-width:none}.nav-cat{display:none}.nav-inner{display:block}.nav nav{justify-content:space-around}.nav nav a{padding:12px 8px;font-size:12px}.hero-layout{display:block}.sidecats{display:none}.hero{min-height:290px}.hero h1{font-size:30px}.benefits{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-body{padding:10px}.product-name{font-size:12px}.price{font-size:14px}.category-strip{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.section-title h2{font-size:15px}.floating-contact{right:12px;bottom:12px}}

/* DCT 2.0 refinement */
:root{--navy:#102b44;--gold:#e4ad58;--ink:#203247}body{background:#fcfcfd}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #e4ad58;outline-offset:2px}.topbar{background:#102b44;color:#eef4f8}.head-main{padding:26px 0}.logo{font-family:Georgia,serif;letter-spacing:.2px}.searchform input{border-radius:9px 0 0 9px}.searchform button{border-radius:0 9px 9px 0}.nav{box-shadow:0 5px 12px #0c2b4310}.hero{min-height:390px;background:radial-gradient(circle at 85% 10%,#3d6780 0%,transparent 45%),linear-gradient(115deg,#102b44,#153f5c);border-radius:12px}.hero:after{content:'⚖';font-size:260px;top:-45px;right:45px;opacity:.10}.hero h1{font-family:Georgia,serif;font-weight:700;letter-spacing:-1px}.hero .btn,.product-actions a{transition:transform .2s,background .2s}.hero .btn:hover,.product-actions a:hover{transform:translateY(-2px);background:#f0c47b}.sidecats,.product-card,.benefit,.category-tile{border-radius:10px}.sidecats a{transition:background .2s}.product-card{background:#fff;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #102b4418}.product-placeholder{border-radius:3px}.product-placeholder strong{font-size:17px}.section-title{border-bottom:1px solid #e4e7ed;padding-bottom:12px}.section-title h2{background:transparent;color:var(--navy);padding:0;font-size:23px}.section-title h2:before{content:'';display:inline-block;width:5px;height:24px;background:var(--gold);vertical-align:middle;margin-right:11px;border-radius:3px}.category-tile:hover{background:#fff5e6}.benefit{background:#fff}.trust-note{font-size:12px;color:#5c6976;margin:12px 0 0}.hero-subtitle{font-weight:700;color:#f1c781}.product-price-pending{color:#65758a;font-size:13px;font-weight:600}.shop-intro{margin:16px 0;color:#637387}.woocommerce .quantity .qty{padding:7px}.woocommerce-checkout #payment{border-radius:10px}.woocommerce form .form-row input.input-text{padding:12px;border:1px solid #d7dce3;border-radius:6px}
@media(max-width:700px){.hero{border-radius:10px;min-height:330px}.hero:after{font-size:160px;top:0;right:-10px}.section-title h2{font-size:19px}.product-placeholder{padding:10px}.product-placeholder strong{font-size:13px}.head-main{padding:17px 0}}
