/* Lias static site overrides: hide WooCommerce UI, floating buttons, order modal */

/* Hidden WooCommerce / theme features */
.nasa-icon-wishlist, .nasa-wishlist-link, .btn-wishlist, [class*="wishlist"],
.nasa-compare-list-bottom, .btn-compare, a.quick-view,
.nasa-icon-mini-cart, .cart-link, .mini-cart {
  display: none !important;
}

/* Header search: keep the space so layout does not shift */
.nasa-header-search-wrap { visibility: hidden !important; }

/* Mobile search triggers and panels */
a.mobile-search, .nasa-bot-item-search, .warpper-mobile-search,
.nasa-close-search-mobile, .botbar-mobile-search,
li.nasa-icon-search, a.search-icon {
  display: none !important;
}

/* No online card payment any more: hide "Guaranteed Safe Checkout" badges */
.safe-checkout { display: none !important; }

/* Floating contact buttons */
.lias-float {
  position: fixed; left: 16px; bottom: 20px;
  display: flex; flex-direction: column; gap: 10px; z-index: 99999;
}
.lias-float a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  text-decoration: none; font: 700 13px/1 inherit;
}
.lias-float .lias-zalo { background: #0068FF; }
.lias-float .lias-call { background: #0B5D7A; }

/* Order modal */
.lias-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lias-overlay[hidden] { display: none; }
.lias-modal {
  background: #fff; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto;
  border-radius: 12px; padding: 24px 20px; position: relative; box-sizing: border-box;
}
.lias-modal h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #0B5D7A; }
.lias-product { font-size: 14px; font-weight: 600; color: #333; margin: 0 0 16px; }
.lias-modal label { display: block; font-size: 13px; color: #444; margin: 0 0 4px; }
.lias-field { margin-bottom: 12px; }
.lias-modal input, .lias-modal textarea {
  width: 100%; height: 44px; border: 1px solid #d0d7de; border-radius: 8px;
  padding: 0 12px; font-size: 15px; box-sizing: border-box;
}
.lias-modal textarea { height: 80px; padding: 10px 12px; }
.lias-submit {
  width: 100%; height: 46px; background: #0B5D7A; color: #fff; border: 0;
  border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer;
}
/* Theme styles button:hover/focus in red; keep brand color */
.lias-modal .lias-submit:hover, .lias-modal .lias-submit:focus {
  background: #0B5D7A !important; color: #fff !important; opacity: .92;
}
.lias-submit:disabled { opacity: .6; cursor: wait; }
.lias-close {
  position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0;
  background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #666;
}
.lias-msg { padding: 10px 12px; border-radius: 8px; font-size: 14px; margin: 12px 0 0; }
.lias-msg:empty { display: none; }
.lias-msg.ok { color: #15803d; background: #ecfdf5; }
.lias-msg.err { color: #b91c1c; background: #fef2f2; }
.lias-alt { font-size: 13px; color: #555; text-align: center; margin-top: 12px; }
.lias-alt a { color: #0B5D7A; }
.lias-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Empty "Tags" sidebar widget (product-tag pages are not published) */
.widget_nasa_tag_cloud { display: none !important; }

/* Fake counters, cookie notice, promo strip */
.nasa-last-sold, #nasa-counter-viewing, .nasa-viewing, .nasa-cookie-notice-container, .nasa-promotion-news { display: none !important; }

.lias-float a:focus-visible, .lias-submit:focus-visible, .lias-close:focus-visible,
.lias-modal input:focus-visible, .lias-modal textarea:focus-visible {
  outline: 3px solid #0B5D7A; outline-offset: 2px;
}
.lias-modal [aria-invalid="true"], .wpcf7-form [aria-invalid="true"] { border-color: #b91c1c !important; }
.lias-noscroll { overflow: hidden !important; }
@media (max-width: 480px) { .lias-modal { padding: 20px 16px; } }

/* Homepage header (type-6): logo moved into the menu row (right side); hide the now-empty top row on desktop */
.header-type-6 #masthead > .row.nasa-hide-for-mobile { display: none !important; }
.nasa-menus-wrapper > .lias-logo-right { margin-left: auto; display: flex; align-items: center; padding-left: 24px; }
.nasa-menus-wrapper > .lias-logo-right img.header_logo { height: 44px !important; width: auto !important; max-width: none !important; }

/* Theme JS shrinks menu font on resize (inline style, threshold 2640px) - lock natural sizes */
.nasa-menus-wrapper-reponsive .header-nav > li > a { font-size: 14.5px !important; margin-left: 0 !important; }
.nasa-menus-wrapper-reponsive .header-nav > li:not(:last-child) > a { margin-right: 40px !important; }
.nasa-menus-wrapper-reponsive .header-nav > li:last-child > a { margin-right: 0 !important; }
.nasa-menus-wrapper-reponsive .nasa-title-vertical-menu { font-size: 15px !important; }

/* Footer logo: show at a reasonable size */
.elementor-element-126feb5 { text-align: center; }
.elementor-element-126feb5 img { width: 200px !important; max-width: 60% !important; height: auto !important; }

/* Mobile/tablet: keep floating Zalo/Call above the theme bottom bar (61px tall, shown below 1024px) */
@media (max-width: 1023px) {
  .lias-float { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Homepage: hide the empty "Tin Tuc" (news) section until real posts exist */
.elementor-element-2b57fd44 { display: none !important; }

/* Empty top bar (account link + promo strip were removed) */
.nasa-topbar-wrap { display: none !important; }
