/* HTHVN - WooCommerce product detail */
.single-product .content-area{padding:0}.single-product .site-main{padding:0}.hth-product-page{padding:0 0 48px;background:#fff}.hth-product-breadcrumb{padding-top:26px;padding-bottom:18px;color:#777;font-size:14px}.hth-product-breadcrumb .woocommerce-breadcrumb{margin:0;color:#777}.hth-product-breadcrumb a{color:#555}.hth-bc-sep{display:inline-block;margin:0 10px;color:#bbb}
.hth-product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;align-items:start;padding-bottom:34px}.hth-product-gallery{border:1px solid #ececec;border-radius:10px;padding:18px;background:#fff;min-width:0}.hth-product-gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}.hth-product-gallery .woocommerce-product-gallery__image{border-radius:8px;overflow:hidden}.hth-product-gallery .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain}.hth-product-gallery .flex-control-thumbs{display:flex!important;gap:10px;margin:16px 0 0!important;padding:0!important;list-style:none}.hth-product-gallery .flex-control-thumbs li{width:72px!important;float:none!important;border:1px solid #e3e3e3;border-radius:7px;padding:4px}.hth-product-gallery .flex-control-thumbs li img{border-radius:4px}.hth-product-gallery .woocommerce-product-gallery__trigger{z-index:3}
.hth-product-summary{padding:8px 0 0}.hth-product-badge{display:inline-flex;align-items:center;border:1px solid #ef1b24;color:#ef1b24;border-radius:5px;padding:4px 9px;margin-bottom:13px;font-size:14px;font-weight:800;text-transform:uppercase}.hth-product-title{font-size:clamp(30px,3.1vw,46px);letter-spacing:-.025em;margin-bottom:24px}.hth-product-meta-table{margin:0 0 22px;max-width:620px}.hth-product-meta-table>div{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:6px 0}.hth-product-meta-table dt{color:#777}.hth-product-meta-table dd{margin:0;font-weight:600;color:#222}.hth-product-short-desc{border-top:1px solid #eee;padding-top:16px;margin-top:10px}.hth-product-short-desc p{font-size:14px}.hth-product-actions{display:flex;align-items:stretch;gap:15px;flex-wrap:wrap;margin-top:26px}.hth-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 26px;border-radius:6px;font-weight:800;border:1px solid #e3131c;transition:.2s ease}.hth-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(224,13,23,.12)}.hth-btn-primary{background:#e3131c;color:#fff}.hth-btn-outline{background:#fff;color:#c9141c}.hth-btn-light{background:#fff;color:#d20d16;border-color:#fff}.hth-btn-ghost{background:transparent;color:#fff;border-color:#fff}.hth-woo-add-to-cart form.cart{display:flex!important;align-items:stretch;gap:10px;margin:0!important}.hth-woo-add-to-cart .quantity .qty{height:54px;width:78px;border:1px solid #ddd;border-radius:6px;padding:0 8px}.hth-woo-add-to-cart .single_add_to_cart_button{min-height:54px!important;border-radius:6px!important;background:#e3131c!important;color:#fff!important;padding:12px 24px!important;font-weight:800!important}.hth-woo-add-to-cart .variations{margin:0 0 14px!important}.hth-woo-add-to-cart .variations td,.hth-woo-add-to-cart .variations th{padding:4px 8px 4px 0}.hth-woo-add-to-cart select{min-height:44px;border:1px solid #ddd;border-radius:6px;padding:6px 10px}
.hth-product-info-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:20px;margin-top:8px}.hth-info-card{border:1px solid #ececec;border-radius:8px;padding:22px 24px;background:#fff}.hth-info-card h2,.hth-product-section h2{color:#c9141c;font-size:22px;margin-bottom:15px}.hth-check-list{list-style:none;padding:0;margin:0}.hth-check-list li{position:relative;padding:4px 0 4px 26px;color:#444}.hth-check-list li:before{content:'●';position:absolute;left:2px;top:4px;color:#e3131c;font-size:14px}.hth-wholesale-list{margin:0}.hth-wholesale-list>div{display:grid;grid-template-columns:185px 1fr;gap:14px;padding:5px 0}.hth-wholesale-list dt{font-weight:700;color:#555}.hth-wholesale-list dd{margin:0;color:#444}
.hth-product-section{padding-top:24px}.hth-product-copy{font-size:15px;color:#444}.hth-product-copy p{color:#444}.hth-product-copy ul,.hth-product-copy ol{padding-left:22px}.hth-product-detail-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e7e7e7;border-radius:8px;overflow:hidden;background:#fff;table-layout:fixed}.hth-product-detail-table th,.hth-product-detail-table td{padding:11px 14px;border-bottom:1px solid #ececec;text-align:left;font-size:14px;vertical-align:middle}.hth-product-detail-table th{width:33%;background:#fafafa;color:#333;font-weight:700}.hth-product-detail-table td{color:#222;word-break:break-word}.hth-product-detail-table tr:last-child th,.hth-product-detail-table tr:last-child td{border-bottom:0}.hth-detail-key{display:inline-flex;align-items:center;gap:10px;line-height:1.35}.hth-detail-key .hth-field-icon,.hth-detail-key .hth-ui-icon{width:18px;height:18px;flex:0 0 18px;color:#4d4d4d}.hth-detail-key-text{display:inline-block}
.hth-related,.hth-business-posts{padding-top:30px}.hth-section-title{font-size:22px;color:#c9141c;margin-bottom:14px}.hth-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.hth-related-card{display:grid;grid-template-columns:110px 1fr;gap:16px;align-items:center;border:1px solid #ececec;border-radius:8px;padding:14px;background:#fff}.hth-related-image{aspect-ratio:1/1;border-radius:6px;overflow:hidden;background:#fafafa;display:grid;place-items:center}.hth-related-image img{width:100%;height:100%;object-fit:contain}.hth-related-card h3{font-size:16px;margin:0 0 6px}.hth-related-card p{font-size:14px;margin:0 0 9px;color:#666}.hth-related-link{display:inline-flex;border:1px solid #e3131c;border-radius:4px;padding:6px 11px;color:#cf1018;font-size:14px;font-weight:700}.hth-business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.hth-business-card{border:1px solid #ececec;border-radius:8px;overflow:hidden;background:#fff}.hth-business-card img{width:100%;height:165px;object-fit:cover}.hth-business-card-copy{padding:13px}.hth-business-card h3{font-size:15px;line-height:1.4;margin-bottom:9px}.hth-business-card a{font-size:14px;color:#d3151d;font-weight:700}
.hth-product-cta{margin-top:32px;background:linear-gradient(100deg,#d70913,#ef1b24);color:#fff;border-radius:8px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;align-items:center;padding:25px 32px}.hth-product-cta-icon{font-size:44px}.hth-product-cta-copy h2{font-size:22px;margin:0 0 6px}.hth-product-cta-copy p{color:#fff;margin:0;font-size:14px;opacity:.95}.hth-product-cta-actions{display:flex;gap:12px}.single-product .site-footer{border-top:1px solid #eee}
/* Remove default Woo wrappers/sidebar spacing because this template is full width. */
.single-product #primary,.single-product .woocommerce-page #primary{width:100%;float:none}.single-product #secondary{display:none}.single-product .woocommerce-notices-wrapper{width:min(1180px,calc(100% - 40px));margin:14px auto}.single-product .woocommerce-message,.single-product .woocommerce-error,.single-product .woocommerce-info{border-top-color:#e3131c}
@media(max-width:900px){.hth-product-hero{grid-template-columns:1fr;gap:26px}.hth-product-gallery{max-width:680px;width:100%;margin:auto}.hth-product-info-grid{grid-template-columns:1fr}.hth-related-grid,.hth-business-grid{grid-template-columns:1fr 1fr}.hth-product-cta{grid-template-columns:auto 1fr}.hth-product-cta-actions{grid-column:1/-1}}
@media(max-width:640px){.hth-product-breadcrumb{padding-top:18px}.hth-product-hero{padding-bottom:20px}.hth-product-title{font-size:30px}.hth-product-meta-table>div{grid-template-columns:108px 1fr}.hth-product-actions,.hth-woo-add-to-cart form.cart{display:grid!important;grid-template-columns:1fr}.hth-btn,.hth-woo-add-to-cart .single_add_to_cart_button{width:100%}.hth-woo-add-to-cart .quantity .qty{width:100%}.hth-wholesale-list>div{grid-template-columns:1fr;gap:2px;border-bottom:1px dashed #eee;padding:8px 0}.hth-related-grid,.hth-business-grid{grid-template-columns:1fr}.hth-related-card{grid-template-columns:92px 1fr}.hth-product-cta{grid-template-columns:1fr;padding:24px}.hth-product-cta-icon{display:none}.hth-product-cta-actions{display:grid;grid-template-columns:1fr}.hth-product-detail-table th{width:46%}.hth-product-detail-table th,.hth-product-detail-table td{padding:10px 11px}.hth-detail-key{gap:8px}}
/* v7.8 - editable icons/text alignment */
.hth-field-icon{width:20px;height:20px;object-fit:contain;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}.hth-title-icon{width:23px;height:23px;flex-basis:23px;margin-right:9px}.hth-info-card h2,.hth-product-section h2,.hth-section-title{display:flex;align-items:center;gap:0}.hth-btn{gap:9px}.hth-btn .hth-field-icon{width:19px;height:19px;flex-basis:19px}.hth-field-icon--svg{color:currentColor}.hth-field-icon--svg svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hth-check-list li{display:flex;align-items:flex-start;gap:8px;padding:5px 0;color:#444}.hth-check-list li:before{display:none}.hth-check-list li .hth-field-icon{margin-top:1px;color:#e3131c}.hth-wholesale-list dt{display:flex;align-items:center;gap:8px}.hth-wholesale-list dt .hth-field-icon{color:#555}.hth-product-detail-table th>span{vertical-align:middle}.hth-product-detail-table th .hth-field-icon{margin-right:8px;color:#666}.hth-cta-icon-img{width:58px;height:58px;object-fit:contain}.hth-product-cta-icon .hth-field-icon--fallback{font-size:44px;width:auto;height:auto;color:#fff}

/* ==========================================================
 * v7.65 - Icon trang sản phẩm theo mẫu: line icon gọn, đồng bộ
 * ========================================================== */
.hth-info-card{padding:20px 24px}
.hth-info-card h2{font-size:20px!important;line-height:1.3;margin:0 0 12px;font-weight:700!important}
.hth-check-list li,.hth-wholesale-list>div{font-size:15px;line-height:1.45}
.hth-check-list li{gap:10px;padding:4px 0}
.hth-wholesale-list>div{grid-template-columns:210px minmax(0,1fr);gap:18px;padding:5px 0}
.hth-wholesale-list dt{font-weight:600;color:#222}
.hth-wholesale-list dd{color:#333}

/* Fallback icon: không còn ký tự tròn/kim cương thô. */
.hth-info-card .hth-field-icon--fallback{
  overflow:hidden;text-indent:-9999px;font-size:0;
  background-repeat:no-repeat;background-position:center;background-size:contain;
}
.hth-info-card h2 .hth-title-icon.hth-field-icon--fallback{
  width:25px;height:25px;flex:0 0 25px;margin-right:10px;
}
.hth-info-card:first-child h2 .hth-title-icon.hth-field-icon--fallback{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3131c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2.8 2.8 5.7 6.3.9-4.55 4.44 1.08 6.27L12 17.15l-5.63 2.96 1.08-6.27L2.9 9.4l6.3-.9L12 2.8Z'/%3E%3C/svg%3E");
}
.hth-info-card:nth-child(2) h2 .hth-title-icon.hth-field-icon--fallback{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3131c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2.5 8 4.2v10.6l-8 4.2-8-4.2V6.7l8-4.2Z'/%3E%3Cpath d='m4.5 6.9 7.5 4 7.5-4M12 11v10'/%3E%3C/svg%3E");
}
.hth-check-list li .hth-field-icon--fallback{
  width:18px;height:18px;flex:0 0 18px;margin-top:2px;border-radius:50%;background:#e3131c;position:relative;text-indent:0;
}
.hth-check-list li .hth-field-icon--fallback:after{
  content:'✓';display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-size:12px;font-weight:700;line-height:1;
}
.hth-wholesale-list dt .hth-field-icon--fallback{width:20px;height:20px;flex:0 0 20px}
.hth-wholesale-list>div:nth-child(1) dt .hth-field-icon--fallback{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 5v15M16 5v15M4 10h16'/%3E%3C/svg%3E")}
.hth-wholesale-list>div:nth-child(2) dt .hth-field-icon--fallback{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 9h16M8 13h2M14 13h2M8 17h2M14 17h2'/%3E%3C/svg%3E")}
.hth-wholesale-list>div:nth-child(3) dt .hth-field-icon--fallback{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 4.5-8 4.5-8-4.5L12 3Z'/%3E%3Cpath d='m4 7.5 8 4.5 8-4.5v9L12 21l-8-4.5v-9Z'/%3E%3C/svg%3E")}
.hth-wholesale-list>div:nth-child(4) dt .hth-field-icon--fallback{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")}
.hth-wholesale-list>div:nth-child(5) dt .hth-field-icon--fallback{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8'%3E%3Crect x='5' y='4' width='14' height='16' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E")}
@media(max-width:640px){.hth-wholesale-list>div{grid-template-columns:1fr;gap:2px}}

/* ==========================================================
 * v7.66 - Related slider, action icons & product quote modal
 * ========================================================== */
.hth-ui-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;color:currentColor}
.hth-ui-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hth-btn .hth-ui-icon{width:19px;height:19px;flex-basis:19px}
.hth-btn{font-weight:700!important;cursor:pointer;font-family:inherit}
.hth-section-icon{color:#d9151d;width:22px;height:22px;flex-basis:22px;margin-right:8px}

.hth-related{position:relative;padding-top:28px}
.hth-related-heading{display:flex;align-items:center;justify-content:space-between}
.hth-related .hth-section-title{font-size:19px!important;line-height:1.25;margin:0 0 12px;color:#d9151d;font-weight:700!important}
.hth-related-slider{position:relative;padding:0 36px}
.hth-related-viewport{overflow:hidden;scroll-behavior:smooth}
.hth-related-track{display:flex;gap:16px;align-items:stretch}
.hth-related-card{flex:0 0 calc((100% - 32px)/3);min-width:0;display:grid;grid-template-columns:108px minmax(0,1fr);gap:13px;align-items:center;border:1px solid #e7e7e7;border-radius:7px;padding:11px 13px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.025)}
.hth-related-image{width:108px;height:108px;aspect-ratio:auto;border-radius:5px;overflow:hidden;background:#fff;display:grid;place-items:center}
.hth-related-image img{width:100%;height:100%;object-fit:contain;padding:3px}
.hth-related-copy{min-width:0}
.hth-related-brand{font-size:12px;color:#555;font-weight:600;line-height:1.3;margin-bottom:2px}
.hth-related-card h3{font-size:13px!important;line-height:1.28;margin:0 0 5px;font-weight:700!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hth-related-card h3 a{color:#171717}
.hth-related-card p{font-size:11px;margin:0 0 6px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hth-related-link{appearance:none;background:#fff;display:inline-flex;align-items:center;justify-content:center;min-height:30px;border:1px solid #e3131c;border-radius:4px;padding:5px 12px;color:#cf1018;font-size:11px;font-weight:600!important;line-height:1.2;cursor:pointer;font-family:inherit}
.hth-related-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:30px;height:30px;border:1px solid #e2e2e2;border-radius:50%;background:#fff;color:#555;display:none;align-items:center;justify-content:center;padding:0;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.06)}
.hth-related.is-scrollable .hth-related-arrow{display:flex}
.hth-related-prev{left:0}.hth-related-next{right:0}
.hth-related-arrow .hth-ui-icon{width:17px;height:17px}
.hth-related-arrow:disabled{opacity:.3;cursor:default}

html.hth-modal-open{overflow:hidden}
.hth-quote-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:18px}
.hth-quote-modal.is-open{display:flex}
.hth-quote-backdrop{position:absolute;inset:0;background:rgba(15,18,22,.58);backdrop-filter:blur(2px)}
.hth-quote-dialog{position:relative;z-index:2;width:min(570px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.22);padding:26px}
.hth-quote-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f5f5f5;color:#555;display:grid;place-items:center;cursor:pointer;padding:7px}
.hth-quote-close .hth-ui-icon{width:18px;height:18px}
.hth-quote-head{display:flex;gap:13px;align-items:flex-start;padding-right:40px;margin-bottom:17px}
.hth-quote-head-icon{width:43px;height:43px;border-radius:10px;background:#fff0f1;color:#e3131c;display:grid;place-items:center;flex:0 0 43px}
.hth-quote-head-icon .hth-ui-icon{width:23px;height:23px}
.hth-quote-head h2{font-size:23px!important;line-height:1.2;margin:1px 0 4px;color:#171717!important;font-weight:700!important}
.hth-quote-head p{margin:0;color:#666;font-size:14px;line-height:1.45}
.hth-quote-product{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;background:#fff5f5;border:1px solid #ffd9dc;border-radius:8px;padding:10px 12px;margin-bottom:16px;font-size:14px}
.hth-quote-product span{color:#777}.hth-quote-product strong{color:#171717;font-weight:700}
.hth-quote-form{display:grid;gap:12px;margin:0}
.hth-quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hth-quote-form label{display:grid;gap:6px;margin:0;color:#333;font-size:13px;font-weight:600}
.hth-quote-form label span b{color:#e3131c}
.hth-quote-form input,.hth-quote-form textarea{width:100%;margin:0!important;border:1px solid #ddd!important;border-radius:7px!important;background:#fff!important;color:#222!important;font:inherit!important;font-size:14px!important;box-shadow:none!important;outline:0!important}
.hth-quote-form input{height:44px!important;padding:0 12px!important}
.hth-quote-form textarea{min-height:96px!important;padding:10px 12px!important;resize:vertical}
.hth-quote-form input:focus,.hth-quote-form textarea:focus{border-color:#e3131c!important;box-shadow:0 0 0 3px rgba(227,19,28,.08)!important}
.hth-quote-submit{min-height:47px;border:0;border-radius:7px;background:#e3131c;color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.hth-quote-submit:hover{background:#ca1018}.hth-quote-submit:disabled{opacity:.65;cursor:wait}
.hth-quote-submit .hth-ui-icon{width:19px;height:19px}
.hth-quote-status{min-height:0;font-size:13px;line-height:1.4}.hth-quote-status.is-success{color:#14743b;background:#effaf3;border:1px solid #cfeeda;border-radius:6px;padding:8px 10px}.hth-quote-status.is-error{color:#b5121b;background:#fff1f1;border:1px solid #ffd4d6;border-radius:6px;padding:8px 10px}
.hth-quote-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:900px){
  .hth-related-card{flex-basis:calc((100% - 16px)/2)}
}
@media(max-width:640px){
  .hth-related-slider{padding:0 31px}
  .hth-related-card{flex-basis:100%;grid-template-columns:92px minmax(0,1fr);padding:10px}
  .hth-related-image{width:92px;height:92px}
  .hth-related-arrow{width:27px;height:27px}
  .hth-quote-dialog{padding:21px 17px;border-radius:12px}
  .hth-quote-grid{grid-template-columns:1fr}
  .hth-quote-product{grid-template-columns:1fr;gap:3px}
}

/* v7.68 - Detail table auto icons + cleaner table layout */
