.price-hero{background:linear-gradient(135deg,#17120d,#3b2416);color:#fff;padding:80px 0 70px}
.price-hero .wrap{position:relative}
.price-hero span{color:#dfb15b;font-size:12px;font-weight:900;letter-spacing:2px}
.price-hero h1{font-size:clamp(40px,6vw,68px);margin:12px 0}
.price-hero p{color:#d2cbc4;max-width:720px;line-height:1.7}
.cart-floating-link{position:absolute;right:0;top:8px;background:#dfb15b;color:#15100b;padding:13px 17px;border-radius:999px;font-weight:900}
.cart-floating-link b{display:inline-grid;place-items:center;background:#17120d;color:#fff;width:25px;height:25px;border-radius:50%;margin-left:7px}
.price-section{padding:45px 0;background:#f7f4ef}
.price-message{padding:13px 16px;margin-top:18px;border-radius:9px}
.price-message.success{background:#e6f7ed;color:#176c3d}
.price-message.error{background:#fff0f0;color:#a12626}
.price-category-nav{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px}
.price-category-nav a{background:#fff;border:1px solid #e0d7ca;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:800}
.price-category-list{display:grid;gap:22px}
.price-category-card{background:#fff;border:1px solid #e6ddd2;border-radius:17px;padding:25px;scroll-margin-top:110px;overflow:hidden}
.price-category-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.price-category-heading>span{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#a9351e;color:#fff;font-weight:900}
.price-category-heading h2{margin:0 0 5px;color:#862816}
.price-category-heading p{margin:0;color:#888;font-size:12px}

/* FORCE FULL WIDTH – dùng !important để thắng mọi CSS cũ còn sót lại */
.price-category-card .price-matrix-wrap{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    overflow-x:auto!important;
    border:1px solid #e5d6c8!important;
    border-radius:14px!important
}
.price-category-card table.price-matrix{
    display:table!important;
    width:100%!important;
    max-width:none!important;
    min-width:820px!important;
    table-layout:fixed!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:#fff!important
}
.price-category-card table.price-matrix thead{display:table-header-group!important}
.price-category-card table.price-matrix tbody{display:table-row-group!important}
.price-category-card table.price-matrix tr{display:table-row!important;width:100%!important}
.price-category-card table.price-matrix th,
.price-category-card table.price-matrix td{
    display:table-cell!important;
    width:25%!important;
    max-width:25%!important;
    padding:16px 14px!important;
    text-align:center!important;
    vertical-align:middle!important;
    border-right:1px solid #eadfd5!important;
    border-bottom:1px solid #eadfd5!important
}
.price-category-card table.price-matrix tr:last-child th,
.price-category-card table.price-matrix tr:last-child td{border-bottom:0!important}
.price-category-card table.price-matrix th:last-child,
.price-category-card table.price-matrix td:last-child{border-right:0!important}
.price-category-card table.price-matrix thead th{
    background:#a9351e!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:900!important
}
.price-category-card table.price-matrix tbody th{
    background:#f7eee7!important;
    color:#6f2a1b!important;
    font-size:15px!important;
    font-weight:900!important
}
.price-category-card table.price-matrix tbody td strong{
    display:block!important;
    color:#9e321f!important;
    font-size:18px!important;
    margin:0 0 10px!important;
    white-space:nowrap!important
}
.price-category-card table.price-matrix tbody td form{
    display:block!important;
    width:100%!important;
    margin:0!important
}
.price-category-card table.price-matrix tbody td button{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    border:0!important;
    background:#17120d!important;
    color:#fff!important;
    border-radius:9px!important;
    padding:10px 8px!important;
    font-size:12px!important;
    font-weight:900!important;
    cursor:pointer!important
}
.price-category-card table.price-matrix tbody td button:hover{background:#a9351e!important}

/* Danh mục bình thường: 3 dịch vụ mỗi hàng */
.price-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.price-service-card{min-width:0;border:1px solid #e8ddd2;border-radius:14px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:17px}
.price-service-content h3{font-size:15px;line-height:1.4;margin:0 0 9px;color:#2b211b}
.price-service-content p{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.price-service-content p span{background:#f4ebe3;color:#7a493b;padding:5px 8px;border-radius:999px;font-size:10px}
.price-service-value{margin-top:15px;padding-top:13px;border-top:1px solid #eee3d9}
.price-service-value strong{display:block;color:#a9351e;font-size:18px}
.price-service-card form{margin:15px 0 0}
.price-service-card form button{width:100%;border:0;background:#17120d;color:#fff;border-radius:9px;padding:11px 12px;font-size:11px;font-weight:900}
.mobile-cart-bar{display:none}

/* Giỏ hàng */
.cart-layout,.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:25px;align-items:start}
.cart-list,.cart-summary,.checkout-card,.checkout-order,.cart-empty{background:#fff;border:1px solid #e5ddd2;border-radius:15px;padding:22px}
.cart-row{display:grid;grid-template-columns:minmax(220px,1fr) 180px 75px 55px;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #eee}
.cart-row b{display:block}.cart-row small{display:block;color:#888;margin-top:5px}
.cart-row input{width:70px;padding:9px;border:1px solid #ddd;border-radius:8px}
.cart-remove{border:0;background:transparent;color:#b23232}
.cart-actions{display:flex;justify-content:space-between;gap:10px;padding-top:17px}
.cart-summary,.checkout-order{position:sticky;top:110px}
.checkout-button,.checkout-submit{display:flex;justify-content:center;width:100%;border:0;background:#a9351e;color:#fff;padding:14px;border-radius:9px;font-weight:900;margin-top:15px}
.checkout-form{display:grid;gap:18px}
.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.checkout-form input,.checkout-form textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:9px}
.payment-choice{display:flex;gap:11px;padding:13px;border:1px solid #e5ddd2;border-radius:10px;margin-top:10px}
.payment-choice input{width:auto}
.checkout-item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eee;font-size:12px}
.checkout-total{display:flex;justify-content:space-between;padding-top:15px}
.price-success{min-height:70vh;background:#f7f4ef;padding:80px 0}
.success-card{max-width:680px;margin:auto;text-align:center;background:#fff;padding:45px;border-radius:18px;border:1px solid #e5ddd2}
.price-empty{text-align:center;background:#fff;padding:50px;border-radius:14px}

@media(max-width:980px){
    .price-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .cart-layout,.checkout-layout{grid-template-columns:1fr}
    .cart-summary,.checkout-order{position:static}
}
@media(max-width:620px){
    .cart-floating-link{display:none}
    .mobile-cart-bar{display:flex;position:fixed;z-index:90;left:12px;right:12px;bottom:12px;justify-content:space-between;background:#17120d;color:#fff;padding:14px 17px;border-radius:12px;font-weight:900}
    .price-category-card{padding:16px}
    .price-category-card table.price-matrix{min-width:760px!important}
    .price-card-grid{grid-template-columns:1fr!important}
    .checkout-grid{grid-template-columns:1fr}
}
