/*
Theme CSS: hoatuoi-theme - App-like Flower Shop UI
*/

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', var(--font-family);
  background-color: #fdf7f9;
  color: #2d3142;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* Space for bottom navigation */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* App Top Notice Bar (Chạy chữ từ trái qua phải) */
.hoa-top-notice-wrap {
  background: linear-gradient(90deg, #ff5e8e, #ff8da1);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.hoa-top-notice-track {
  display: inline-flex;
  gap: 50px;
  animation: hoa-marquee-ltr 22s linear infinite;
}

.hoa-top-notice-track:hover {
  animation-play-state: paused;
}

.hoa-notice-text {
  display: inline-block;
}

@keyframes hoa-marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* App Header */
.hoa-app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #fae1e9;
  box-shadow: 0 2px 10px rgba(255, 94, 142, 0.05);
}

.hoa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

.hoa-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  color: #ff477e;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hoa-logo-icon {
  width: 32px;
  height: 32px;
  background: #ffe4ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hoa-search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.hoa-search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  background: #fdf0f4;
  border: 1px solid #ffd1df;
  border-radius: 20px;
  font-size: 13.5px;
  color: #2d3142;
  outline: none;
  transition: all 0.2s ease;
}

.hoa-search-input:focus {
  background: #ffffff;
  border-color: #ff5e8e;
  box-shadow: 0 0 0 3px rgba(255, 94, 142, 0.15);
}

.hoa-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8da1;
  font-size: 14px;
}

.hoa-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hoa-hotline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0f5;
  color: #ff5e8e;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #ffd1df;
  transition: all 0.2s;
}

.hoa-hotline-btn:hover {
  background: #ff5e8e;
  color: #ffffff;
}

/* App Hero Banner */
.hoa-hero-banner {
  background: linear-gradient(135deg, #ffeef4 0%, #fff7fa 100%);
  border-radius: 16px;
  padding: 20px;
  margin: 16px auto;
  border: 1px solid #fcdbe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hoa-hero-text h1 {
  font-size: 22px;
  font-weight: 800;
  color: #2d3142;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hoa-hero-text h1 span {
  color: #ff5e8e;
}

.hoa-hero-text p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.hoa-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hoa-hero-tag {
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #d6336c;
  border: 1px solid #fed2e2;
}

/* iOS App-style Category Icons Grid (Phong cách App iPhone) */
.hoa-app-categories-section {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 12px 10px;
  margin: 14px 0 18px;
  border: 1px solid #f7dbe4;
  box-shadow: 0 4px 14px rgba(255, 94, 142, 0.05);
}

.hoa-ios-icons-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.hoa-ios-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  max-width: 68px;
  text-decoration: none;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hoa-ios-app-item:active {
  transform: scale(0.94);
}

.hoa-ios-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%; /* Hình tròn */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #ffffff;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .hoa-ios-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%; /* Hình tròn */
  }
}

.hoa-ios-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}

.hoa-ios-app-item:hover .hoa-ios-icon-box {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 94, 142, 0.25);
}

.hoa-ios-app-item:hover .hoa-ios-icon-img {
  transform: scale(1.08);
}

.hoa-ios-app-item.active .hoa-ios-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 71, 126, 0.35);
  border: 2px solid #ffffff;
  outline: 2.5px solid #ff477e;
  outline-offset: 2px;
}

.hoa-ios-app-item.active .hoa-ios-icon-img {
  transform: scale(1.05);
}

.hoa-ios-label {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  line-height: 1.25;
  transition: color 0.2s;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hoa-ios-label {
    font-size: 12.5px;
  }
}

.hoa-ios-app-item.active .hoa-ios-label {
  color: #ff477e;
  font-weight: 800;
}

.hoa-ios-app-item:hover .hoa-ios-label {
  color: #ff477e;
}

/* 2-Column Product Grid (App Layout) */
.hoa-product-section {
  margin-top: 10px;
  margin-bottom: 30px;
}

.hoa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hoa-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #2d3142;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hoa-section-count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.hoa-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .hoa-grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .hoa-grid-2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Flower Product Card */
.hoa-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f7dbe4;
  box-shadow: 0 2px 10px rgba(255, 94, 142, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.hoa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 94, 142, 0.12);
  border-color: #ffb8cd;
}

.hoa-card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #fff0f5;
  overflow: hidden;
}

.hoa-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hoa-card:hover .hoa-card-img {
  transform: scale(1.05);
}

.hoa-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff477e;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
  text-transform: uppercase;
}

.hoa-card-video-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s;
}

.hoa-card-video-btn:hover {
  background: #ff5e8e;
}

.hoa-card-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hoa-card-dip {
  font-size: 11px;
  color: #ff5e8e;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.hoa-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #2d3142;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.hoa-card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 10px;
}

.hoa-card-sale-price {
  font-size: 15px;
  font-weight: 800;
  color: #ff477e;
}

.hoa-card-reg-price {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}

.hoa-card-discount {
  font-size: 10.5px;
  background: #ffe4ec;
  color: #d6336c;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.hoa-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.hoa-btn-order-now {
  background: #ff5e8e;
  color: #ffffff;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  width: 100%;
}

.hoa-btn-order-now:hover {
  background: #e84877;
  box-shadow: 0 4px 10px rgba(255, 94, 142, 0.3);
}

/* Bottom Navigation Bar (App Bar) */
.hoa-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  height: 62px;
  background: #ffffff;
  border-top: 1px solid #fae1e9;
  border-left: 1px solid #fae1e9;
  border-right: 1px solid #fae1e9;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

@media (max-width: 1140px) {
  .hoa-bottom-nav {
    border-left: none;
    border-right: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

.hoa-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 10.5px;
  font-weight: 600;
  gap: 2px;
  flex: 1;
  height: 100%;
  transition: color 0.2s;
  cursor: pointer;
}

.hoa-nav-item svg, .hoa-nav-item .hoa-nav-icon {
  font-size: 20px;
}

.hoa-nav-item:hover, .hoa-nav-item.active {
  color: #ff477e;
}

/* Single Flower Page */
.hoa-single-wrap {
  padding: 20px 0 40px;
}

.hoa-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .hoa-single-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.hoa-single-gallery {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #f7dbe4;
}

.hoa-single-main-img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #fff0f5;
}

.hoa-single-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.hoa-single-thumb-item {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.hoa-single-thumb-item.active {
  border-color: #ff5e8e;
}

.hoa-single-info {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #f7dbe4;
}

.hoa-single-title {
  font-size: 24px;
  font-weight: 800;
  color: #2d3142;
  line-height: 1.3;
  margin-bottom: 8px;
}

.hoa-single-price-box {
  background: #fff0f5;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid #ffd1df;
}

.hoa-single-sale-price {
  font-size: 26px;
  font-weight: 800;
  color: #ff477e;
}

.hoa-single-reg-price {
  font-size: 15px;
  color: #9ca3af;
  text-decoration: line-through;
}

.hoa-single-gift-box {
  background: #fdf2f8;
  border-left: 4px solid #ff5e8e;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #831843;
  margin-bottom: 20px;
}

/* Modals & Popups */
.hoa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.hoa-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hoa-modal-box {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  padding: 24px;
  position: relative;
}

.hoa-modal-overlay.open .hoa-modal-box {
  transform: translateY(0);
}

.hoa-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
}

.hoa-modal-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
}

.hoa-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #2d3142;
}

/* Order Form Styling */
.hoa-form-group {
  margin-bottom: 14px;
}

.hoa-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}

.hoa-form-input, .hoa-form-select, .hoa-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
  transition: border-color 0.2s;
}

.hoa-form-input:focus, .hoa-form-select:focus, .hoa-form-textarea:focus {
  background: #ffffff;
  border-color: #ff5e8e;
  box-shadow: 0 0 0 3px rgba(255, 94, 142, 0.12);
}

.hoa-form-input.hoa-input-invalid {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.hoa-form-input.hoa-input-valid {
  border-color: #10b981 !important;
  background: #f0fdf4 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.hoa-input-error {
  display: block;
  color: #ef4444;
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 600;
  animation: hoa-shake 0.3s ease;
}

.hoa-input-success {
  display: block;
  color: #059669;
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 600;
  animation: hoa-fade-in 0.25s ease;
}

.hoa-input-checking {
  display: block;
  color: #6b7280;
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 500;
}

@keyframes hoa-fade-in {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hoa-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.hoa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Upsell Accessory Section */
.hoa-upsell-box {
  background: #fff8fa;
  border: 1px dashed #ffb8cd;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.hoa-upsell-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #d6336c;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hoa-upsell-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #fae1e9;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.hoa-upsell-item:hover {
  border-color: #ff8da1;
}

.hoa-upsell-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.hoa-upsell-price {
  color: #ff477e;
  font-weight: 700;
  font-size: 13px;
  margin-left: auto;
}

/* Payment Method Box */
.hoa-payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.hoa-pay-option {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hoa-pay-option.selected {
  border-color: #ff5e8e;
  background: #fff0f5;
}

.hoa-pay-option strong {
  display: block;
  font-size: 13px;
  color: #2d3142;
}

.hoa-pay-option span {
  font-size: 11px;
  color: #6b7280;
}

/* Order Success Screen */
.hoa-order-success-box {
  text-align: center;
  padding: 10px 0;
}

.hoa-qr-wrap {
  margin: 16px auto;
  padding: 12px;
  background: #fff;
  border: 2px solid #ff5e8e;
  border-radius: 14px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 94, 142, 0.15);
}

.hoa-qr-wrap img {
  width: 240px;
  height: 240px;
  object-fit: contain;
}

/* Tracking Page */
.hoa-tracking-box {
  max-width: 600px;
  margin: 30px auto;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #f7dbe4;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.hoa-tracking-search {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

/* Visual Step Timeline */
.hoa-timeline-wrap {
  margin: 20px 0 25px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 10px;
  border: 1px solid #fce3ec;
}

.hoa-timeline-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #d6336c;
  margin-bottom: 16px;
  text-align: center;
}

.hoa-timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.hoa-timeline-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: #f1d5de;
  z-index: 1;
}

.hoa-timeline-progress {
  position: absolute;
  top: 18px;
  left: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #ff5e8e, #ff477e);
  z-index: 2;
  transition: width 0.4s ease;
  max-width: 75%;
}

.hoa-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  flex: 1;
  text-align: center;
}

.hoa-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 6px;
  transition: all 0.25s ease;
}

.hoa-timeline-step.completed .hoa-step-icon {
  border-color: #10b981;
  background: #ecfdf5;
}

/* Active step icon: 1 vòng pulse lan toả */
.hoa-timeline-step.active .hoa-step-icon {
  border-color: #ff5e8e;
  background: #fff0f5;
  transform: scale(1.12);
  position: relative;
  z-index: 2;
}

.hoa-timeline-step.active .hoa-step-icon::before {
  content: '';
  position: absolute;
  inset: -2px;           /* bám khít viền ngoài của icon (38px + 2px border) */
  border-radius: 50%;
  border: 2px solid #ff5e8e;
  opacity: 0;
  animation: hoa-ripple 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes hoa-ripple {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.1); }
}

.hoa-step-text {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.25;
}

.hoa-timeline-step.completed .hoa-step-text {
  color: #059669;
}

.hoa-timeline-step.active .hoa-step-text {
  color: #ff477e;
  font-weight: 800;
}

/* Fullscreen Lightbox Slider (Xem ảnh đầy đủ) */
.hoa-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.2s;
}

.hoa-single-main-img-wrap:hover .hoa-zoom-hint {
  background: rgba(255, 94, 142, 0.85);
}

.hoa-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(8px);
}

.hoa-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hoa-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: background 0.2s;
}

.hoa-lightbox-close:hover {
  background: #ff5e8e;
}

.hoa-lightbox-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  z-index: 100001;
}

.hoa-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: all 0.2s;
}

.hoa-lightbox-arrow:hover {
  background: #ff5e8e;
  transform: translateY(-50%) scale(1.1);
}

.hoa-lightbox-arrow.prev {
  left: 16px;
}

.hoa-lightbox-arrow.next {
  right: 16px;
}

.hoa-lightbox-content {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100000;
}

.hoa-lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: transform 0.2s ease;
}

.hoa-lightbox-thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 6px;
  z-index: 100001;
}

.hoa-lb-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.hoa-lb-thumb.active, .hoa-lb-thumb:hover {
  opacity: 1;
  border-color: #ff5e8e;
  transform: scale(1.08);
}

/* Pagination Styling (16 items / page) */
.hoa-pagination-wrap {
  margin: 35px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hoa-pagination-wrap .page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

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

.hoa-pagination-wrap .page-numbers a,
.hoa-pagination-wrap .page-numbers button.hoa-ajax-page-btn,
.hoa-pagination-wrap .page-numbers button,
.hoa-pagination-wrap .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ffd1df;
  color: #4b5563;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  font-family: inherit;
}

.hoa-pagination-wrap .page-numbers button.hoa-ajax-page-btn:hover,
.hoa-pagination-wrap .page-numbers button:hover,
.hoa-pagination-wrap .page-numbers a:hover {
  background: #fff0f5;
  border-color: #ff5e8e;
  color: #ff477e;
  transform: translateY(-1px);
}

.hoa-pagination-wrap .page-numbers span.current {
  background: linear-gradient(135deg, #ff477e, #ff6b98);
  border-color: #ff477e;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 71, 126, 0.3);
}

.hoa-pagination-wrap .page-numbers .dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #9ca3af;
}

.hoa-pagination-wrap .page-numbers .prev,
.hoa-pagination-wrap .page-numbers .next {
  font-weight: 700;
  padding: 0 14px;
}

/* Main Multi-column Footer */
.hoa-main-footer {
  background: #ffffff;
  border-top: 1px solid #fae1e9;
  padding: 45px 0 90px;
  margin-top: 50px;
  color: #4b5563;
  font-size: 13.5px;
}

.hoa-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.hoa-footer-logo {
  font-weight: 800;
  font-size: 19px;
  color: #ff477e;
  margin-bottom: 10px;
}

.hoa-footer-desc {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 14px;
}

.hoa-footer-contact p {
  margin-bottom: 8px;
  color: #374151;
}

.hoa-footer-contact a {
  color: #ff477e;
  font-weight: 700;
  text-decoration: none;
}

.hoa-footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.hoa-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: #ff5e8e;
  border-radius: 2px;
}

.hoa-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hoa-footer-links li a {
  color: #4b5563;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.15s ease;
  display: inline-block;
}

.hoa-footer-links li a:hover {
  color: #ff477e;
  transform: translateX(3px);
}

.hoa-footer-bottom {
  border-top: 1px solid #f3f4f6;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #9ca3af;
}

@media (max-width: 860px) {
  .hoa-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


