/* Nam Lê product detail: the original three-column presentation. */
body.az-namle-product { background:#fff; color:#181d24; }
body.az-namle-product #page > .az-product-trail { display:none; }
#page .az-namle-product-detail { padding:30px 0 60px; background:#fff; font:16px/1.5 var(--az-font-main,Arial,sans-serif); }
#page .az-namle-product-detail .az-namle-container { width:min(1312px,calc(100% - 64px)); max-width:none; margin-inline:auto; }
.az-namle-product-detail *, .az-namle-product-detail *::before, .az-namle-product-detail *::after { box-sizing:border-box; }
#page .az-namle-product-summary { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; align-items:start; margin-bottom:32px; }
#page .az-namle-product-summary--no-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
#page .az-namle-product-summary :is(.az-product-gallery,.az-product-info) { min-width:0; padding:0; border:0; border-radius:0; background:#fff; box-shadow:none; }
#page .az-namle-product-summary .az-product-main-frame { border:0; border-radius:0; background:#fff; }
#page .az-namle-product-summary h1 { margin:0 0 14px; color:#181d24; font:600 24px/1.3 var(--az-font-main,Arial,sans-serif); }
.az-namle-product-sale { position:absolute; z-index:2; top:4px; left:4px; display:inline-flex; align-items:center; gap:4px; padding-right:8px; border-radius:20px; background:#ed3038; color:#fff; font-size:12px; font-weight:700; }
.az-namle-product-sale > span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#ffe400; color:#181d24; font:700 22px/1 Arial; }
#page .az-namle-product-summary :is(.az-product-gallery-nav,.az-product-gallery-zoom) { display:grid; place-items:center; opacity:0; }
#page .az-namle-product-summary .az-product-gallery:is(:hover,:focus-within) .az-product-gallery-nav { opacity:1; }
#page .az-namle-product-summary .az-product-gallery:is(:hover,:focus-within) .az-product-gallery-zoom { opacity:1; }
#page .az-namle-product-summary .az-product-thumbs { gap:8px; margin-top:12px; }
#page .az-namle-product-summary .az-product-thumb { border-radius:2px; background:#fff; }
#page .az-namle-product-summary .az-product-thumb.is-active { border-color:#ffc559; }
.az_single_price { margin:0 0 14px; padding:16px 20px; border-radius:10px; background:#f5d38b; box-shadow:0 0 5px #0002; color:#181d24; font-size:15px; }
.az_single_price > div { margin-bottom:7px; }
.az_single_price > div:last-child { margin:0; }
.az_single_price del { color:#ff6256; }
.az_single_price :is(.az-namle-sale,.sale_amount) { color:#ff1b1b; }
.az_single_price .az-namle-sale { font-size:20px; }
.az_single_price small { font-size:12px; }
.az-namle-native-price, .az-namle-contact-price { margin-bottom:14px; color:#f33; font-size:22px; font-weight:600; }
.sanpham_cungloai_list { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 24px; padding:0; list-style:none; }
#page .sp_cungloai_box { position:relative; display:flex; flex-direction:column; min-width:128px; padding:8px 18px; border:1px solid #eee; border-radius:6px; background:#f8f8f8; color:#181d24; text-align:center; text-decoration:none; box-shadow:0 0 5px #0001; }
#page .sp_cungloai_box.active { background:#ffc559; }
.sp_cungloai_box.active::after { position:absolute; top:0; right:0; content:'✓'; padding:0 3px; color:#fff; font-size:11px; }
.sp_cungloai_title { font-weight:600; }
.sp_cungloai_loaiphong { font-size:12px; text-transform:uppercase; }
.show-thongso-tomtat { margin-bottom:20px; padding:16px 20px; border-radius:14px; background:#eee; }
.box-thongso-tomtat { margin:0; padding:0; list-style:none; }
.box-thongso-tomtat li { margin:0 0 9px; color:#888; font-size:15px; }
.box-thongso-tomtat li:last-child { margin:0; }
.box-thongso-tomtat li > span { margin-right:6px; color:#ffc559; }
.box-thongso-tomtat strong { color:#333; }
#page .az-namle-product-detail fieldset { min-width:0; margin:0 0 22px; padding:18px 10px 10px; border:1px solid #aaa; border-radius:4px; background:#fff; color:#888; }
#page .az-namle-product-detail legend { width:auto; margin:0 0 0 4px; padding:2px 24px; border:0; border-radius:30px; background:linear-gradient(90deg,#f5d083,#fff5c4); color:#333; font-size:16px; font-weight:600; }
.az-namle-product-excerpt p { margin:0 0 10px; }
.az-namle-product-excerpt ul { margin:0; padding:0; list-style:none; }
.az-namle-product-excerpt li { margin-bottom:10px; }
.az-namle-product-excerpt li::before { content:'●'; margin-right:5px; color:#f79400; }
#page .az-namle-product-detail .az-product-actions { margin:0; }
#page .az-namle-product-detail form.cart { display:flex; flex-wrap:wrap; gap:12px; margin:0; }
#page .az-namle-product-detail form.cart .quantity { display:flex; align-items:center; min-width:0; margin:0; }
.az-namle-quantity-label { flex-basis:100%; color:#888; font-size:13px; }
#page .az-namle-product-detail .quantity input.qty { width:44px; height:46px; margin:0; padding:4px; border:1px solid #ddd; border-radius:0; background:#fff; color:#181d24; text-align:center; appearance:textfield; }
#page .az-namle-product-detail .quantity input.qty::-webkit-inner-spin-button { appearance:none; }
#page .az-namle-product-detail .az-namle-quantity-step { width:28px; min-width:28px; height:46px; min-height:0; padding:0; border:1px solid #ddd; border-radius:3px; background:#fff; color:#555; box-shadow:none; }
#page .az-namle-product-detail form.cart .single_add_to_cart_button { width:100%; min-height:50px; margin:0; border:1px solid #747980; border-radius:5px; background:#fff; color:#181d24; font-size:13px; font-weight:700; text-transform:uppercase; box-shadow:none; }
#page .az-namle-product-detail form.cart .single_add_to_cart_button:hover { background:#fff5c4; }
#page .az-namle-product-detail .single_variation_wrap { width:100%; }
#page .az-namle-product-detail .woocommerce-variation-add-to-cart { display:flex; flex-wrap:wrap; gap:12px; }
#page .az-namle-product-detail .woocommerce-variation-price { display:none; }
#page .az-namle-product-content { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:30px; align-items:start; }
.az-namle-product-tabs { min-width:0; }
#page .az-namle-product-detail .woocommerce-tabs { margin:0; padding:0; border:0; background:#fff; box-shadow:none; }
#page .az-namle-product-detail .woocommerce-tabs ul.tabs { display:flex; flex-wrap:wrap; gap:28px; margin:0 0 26px; padding:0; border:0; list-style:none; }
#page .az-namle-product-detail .woocommerce-tabs ul.tabs::before,
#page .az-namle-product-detail .woocommerce-tabs ul.tabs li::before,
#page .az-namle-product-detail .woocommerce-tabs ul.tabs li::after { display:none; }
#page .az-namle-product-detail .woocommerce-tabs ul.tabs li { margin:0; padding:9px 0 0; border:0; border-top:3px solid transparent; border-radius:0; background:transparent; }
#page .az-namle-product-detail .woocommerce-tabs ul.tabs li.active { border-top-color:#181d24; }
#page .az-namle-product-detail .woocommerce-tabs ul.tabs li a { padding:0; color:#555; font-size:15px; font-weight:700; text-decoration:none; }
#page .az-namle-product-detail .woocommerce-tabs .panel { margin:0; padding:0; color:#888; font-size:14px; line-height:1.7; }
#page .az-namle-product-detail .woocommerce-tabs .panel h2 { margin:0 0 12px; color:#555; font-size:24px; font-weight:500; }
.az-namle-description-wrap { max-height:760px; overflow:hidden; }
.az-namle-description-wrap.is-expanded { max-height:none; }
.az-namle-description-wrap img { max-width:100%; height:auto; }
#page .az-namle-description-more { display:block; margin:28px auto 10px; padding:10px 20px; border:0; border-radius:5px; background:#fff5c4; color:#333; font-size:13px; box-shadow:none; }
#page .az-namle-description-more[hidden] { display:none; }
#page .tab_thongso h2 { margin:0 0 8px; padding-bottom:3px; border-bottom:1px solid #747980; color:#333; font-size:18px; font-weight:600; }
#page .tab_thongso table { width:100%; margin:0; border:0; border-collapse:collapse; color:#888; font-size:16px; line-height:1.5; }
#page .tab_thongso :is(th,td) { padding:14px 15px; border:0; background:transparent; font-weight:400; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
#page .tab_thongso th { width:35%; }
#page .tab_thongso tr:nth-child(odd) { background:#f8f8f8; }
.az-namle-product-section-title { display:flex; align-items:center; gap:15px; margin:32px 0 30px; color:#181d24; font-size:22px; font-weight:500; text-align:center; text-transform:uppercase; }
.az-namle-product-section-title::before, .az-namle-product-section-title::after { content:''; flex:1; height:1px; background:#ddd; }
.az-namle-product-reason-content { color:#888; font-size:16px; }
.az-namle-product-reason-content ul { columns:2; column-gap:30px; margin:0; padding:0; list-style:none; }
.az-namle-product-reason-content li { break-inside:avoid; margin:0 0 12px; }
.az-namle-product-reason-content li::before { content:'✓'; margin-right:5px; color:#ff8b00; }
.az-namle-other-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; }
#page .az-namle-other-products .az-product-card { padding:0; border:0; border-radius:0; background:#fff; box-shadow:none; transform:none; }
#page .az-namle-other-products .az-product-card__image { border-radius:0; background:#fff; }
#page .az-namle-other-products .az-product-card__image::after { display:none; }
#page .az-namle-other-products .az-product-card__body { gap:0; padding:12px 6px; text-align:center; }
#page .az-namle-other-products .az-product-card__title { display:block; overflow:visible; color:#697b90; font-size:14px; font-weight:400; -webkit-line-clamp:unset; }
.az-namle-other-products .az-product-card__brand { font-size:12px; }
#page .az-namle-other-products .az-product-card__price { justify-content:center; min-height:0; margin:auto 0 0; color:#ff1b1b; font-size:20px; }
#page .az-namle-other-products .az-product-card__price del { order:0; color:#ff6256; font-size:1em; font-weight:400; }
#page .az-namle-other-products .az-product-card__price ins { order:1; color:#ff1b1b; }
#page .az-namle-other-products .az-product-card__badge { top:4px; left:4px; min-width:0; min-height:22px; gap:3px; padding:0 7px 0 0; background:#ed3038; box-shadow:none; font-size:11px; }
.az-namle-other-products .az-product-card__badge > span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#ffe400; color:#181d24; font:700 22px/1 Arial; }
.az-namle-image-dialog { width:min(94vw,1100px); max-width:none; max-height:94vh; padding:32px; border:0; border-radius:6px; background:#fff; }
.az-namle-image-dialog::backdrop { background:#000b; }
.az-namle-image-dialog img { display:block; max-width:100%; max-height:80vh; margin:auto; object-fit:contain; }
.az-namle-image-dialog button { position:absolute; top:4px; right:4px; width:32px; height:32px; padding:0; border:0; background:#181d24; color:#fff; font-size:24px; }
@media (max-width:1000px) {
  #page .az-namle-product-detail .az-namle-container { width:calc(100% - 40px); }
  #page .az-namle-product-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .az-namle-product-aside { grid-column:2; }
  #page .az-namle-product-content { grid-template-columns:minmax(0,1fr); }
  .az-namle-other-products { gap:18px; }
}
@media (max-width:600px) {
  #page .az-namle-product-detail { padding-top:20px; }
  #page .az-namle-product-detail .az-namle-container { width:calc(100% - 32px); }
  #page .az-namle-product-summary, #page .az-namle-product-summary--no-gallery { grid-template-columns:minmax(0,1fr); }
  .az-namle-product-aside { grid-column:1; }
  .az-namle-product-section-title { font-size:18px; }
  .az-namle-product-reason-content ul { columns:1; }
  .az-namle-other-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  #page .az-namle-other-products .az-product-card__price { font-size:16px; }
  #page .tab_thongso :is(th,td) { padding:12px 10px; font-size:14px; }
  #page .az-namle-product-detail .woocommerce-tabs ul.tabs { gap:16px; }
  #page .az-namle-product-detail .woocommerce-tabs ul.tabs li a { font-size:13px; }
}
