body{
  margin: 0;
}
.justify-center{
  justify-content: center;
}


/* Header Top Bar Styles */
.px-header-top-bar {
  background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
  background-image: 
      radial-gradient(circle at 20% 50%, rgba(200, 180, 150, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(180, 160, 140, 0.15) 0%, transparent 50%);
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: block !important;
  width: 100%;
  position: relative;
  z-index: 100;
}

.px-header-top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.px-header-top-bar-inner {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Logo Section */
.px-header-top-logo {
  flex-shrink: 0;
  min-width: 150px;
}

.px-header-top-logo-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.px-header-top-logo-img {
  height: 90px;
  width: auto;
  display: block;
  max-width: 100%;
}

/* Search Input Section */
.px-header-top-search {
  flex: 1;
  max-width: 500px;
  margin: 0 auto;
}

.px-header-top-search-form {
  width: 100%;
}

.px-header-top-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.px-header-top-search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  background-color: #ffffff;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.px-header-top-search-input::placeholder {
  color: #999;
  font-style: italic;
}

.px-header-top-search-input:focus {
  border-color: #fbdf4b;
  box-shadow: 0 0 0 3px rgba(251, 223, 75, 0.1);
}

.px-header-top-search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.px-header-top-search-submit:hover {
  color: #fbdf4b;
}

.px-header-top-search-submit i {
  font-size: 18px;
}

/* Right Section */
.px-header-top-right {
  display: flex !important;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
  min-width: 0;
}

.px-header-top-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.px-header-top-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  flex-shrink: 0;
}

.px-header-top-item-icon i {
  font-size: 18px;
  color: #333;
}

.px-header-top-item-content {
  display: flex;
  flex-direction: column;
}

.px-header-top-item-label {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.px-header-top-item-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.px-header-top-hotline-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.px-header-top-hotline-link:hover {
  color: #fbdf4b;
}
.site-header{
  top: 90px;
}

/* Hide logo in menu on desktop when top bar is visible */
.hidden-desktop {
  display: none !important;
}



/* Menu Items - Increase width to prevent text wrapping */
.px-menu .desktop-menu .menu > .menu-item {
  min-width: auto;
  white-space: nowrap;
}

.px-menu .desktop-menu .menu > .menu-item > a {
  padding-left: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.px-menu .desktop-menu .menu > .menu-item.menu-item-has-children > a {
  padding-right: 30px;
  min-width: 100px;
}

/* Center menu in px-menu-row main */
.px-menu .px-menu-row.main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Ensure menu container has enough space and is centered */
.px-menu .px-menu-col.mid {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.px-menu .px-menu-block.menu {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.px-menu .desktop-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.px-menu .desktop-menu .menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#desktop-main-menu{
  padding-left: 0;
}
.px-menu-row{
  padding-left: 0px !important;
}

/* Mobile Logo Styles */
.px-menu-logo-mobile-link {
  display: block;
  line-height: 0;
  max-width: 200px;
}

.px-menu-logo-mobile-img {
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.text-white{
  color: #ffffff!important;
}

/* Pagination Styles */
.px-pagination {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 48px;
}

.px-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Previous/Next Links */
.page-prev,
.page-next {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.page-prev {
  color: #999;
}

.page-prev.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

.page-next {
  color: #333;
}

.page-next.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

.page-prev:hover:not(.disabled) {
  color: #333;
}

.page-next:hover:not(.disabled) {
  color: #fbdf4b;
}

.page-prev i,
.page-next i {
  font-size: 14px;
}

/* Page Numbers */
.page-numbers {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-numbers li {
  margin: 0;
  padding: 0;
}

.page-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.page-numbers .page-numbers:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

.page-numbers .page-numbers.current {
  background-color: #666;
  color: #ffffff;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}

.page-numbers .page-numbers.dots {
  color: #999;
  cursor: default;
  pointer-events: none;
  padding: 0 4px;
  min-width: auto;
}

.page-numbers .page-numbers.dots:hover {
  background-color: transparent;
}
.px-footer-logo-img{
  width: 90%;
}
.px-contact-form .form-group, .px-contact-form .form-group .captcha-input-wrapper{
  display: flex;
}
.px-product-filter--heading button.fl-center-v{
  border: none !important;
}

/* CTA Button - Đăng ký nhận gạch mẫu */
.px-btn-cta-gach {
  display: inline-block;
  background-color: #1a1a1a;
  color: #ffffff !important;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none !important;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.px-btn-cta-gach:hover {
  background-color: #ffffff;
  color: #1a1a1a !important;
  border-color: #1a1a1a;
}

/* Mobile CTA */
.px-btn-cta-gach-mobile {
  display: inline-block;
  background-color: #1a1a1a;
  color: #ffffff !important;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none !important;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.menu-item-cta-mobile {
  padding: 10px 15px !important;
}

/* Sample Request Modal */
.px-sample-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.px-sample-modal-overlay.active {
  display: flex;
}

.px-sample-modal {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 40px 30px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.px-sample-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.px-sample-modal-close:hover {
  color: #000;
}

.px-sample-modal-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.px-sample-modal-desc {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 0 0 25px;
}

.px-sample-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.px-sample-form-group {
  flex: 1;
}

.px-sample-form-group.full {
  flex: 1 1 100%;
}

.px-sample-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.px-sample-form-group input[type="text"],
.px-sample-form-group input[type="email"],
.px-sample-form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.px-sample-form-group input:focus,
.px-sample-form-group select:focus {
  border-color: #1a1a1a;
}

.px-sample-form-group select {
  appearance: auto;
  cursor: pointer;
}

.px-sample-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  font-size: 13px !important;
  cursor: pointer;
}

.px-sample-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.px-sample-checkbox-label a {
  color: #333;
  font-weight: 600;
}

.px-sample-submit-btn {
  cursor: pointer;
  width: auto;
}

.px-sample-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.px-sample-form-message {
  text-align: center;
  padding: 12px;
  margin-top: 15px;
  font-size: 14px;
  border-radius: 0;
}

.px-sample-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.px-sample-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.text-danger {
  color: #dc3545;
}

/* Responsive modal */
@media (max-width: 600px) {
  .px-sample-modal {
    padding: 25px 20px 20px;
  }
  .px-sample-form-row {
    flex-direction: column;
    gap: 0;
  }
  .px-sample-modal-title {
    font-size: 20px;
  }
}