.ha-food-product-info-description{
  color:#fff;
}

@media only screen and (min-width: 1500px) {
}

@media (max-width:1400px) {
  .techno-farm-main-swiper,.techno-farm-thumb-swiper-container{
     height:500px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ha-food-nav-link {
    padding: 10px 7px !important;
  }
}

@media (max-width: 991.98px) {
  section {
    overflow: hidden;
  }
  section .container,
  footer .container {
    padding-left: 0;
    padding-right: 0;
  }
  .lenis-scrollbar {
    display: none;
  }
  /* header start */
  .ha-food-icon-link {
    background: transparent;
    box-shadow: none;
    font-size: 1.25rem;
  }
  .ha-food-icon-link:hover {
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    background: transparent;
  }
  .ha-food-header {
    padding: 15px 0;
  }
  .ha-food-mobile-controls {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }

  .ha-food-mobile-actions {
    padding: 6px 8px;
  }

  .ha-food-mobile-action-btn {
    width: 36px;
    height: 36px;
  }

  .ha-food-mobile-toggle {
    width: 42px;
    height: 42px;
  }

  .ha-food-mobile-toggle span {
    width: 16px;
  }
  .ha-food-mobile-controls {
    display: none !important;
  }
  /* header end */

  /* slider start */

  .ha-food-product-main {
    width: 200px;
    height: 200px;
  }

  .ha-food-accessory {
    width: 80px;
    height: 80px;
  }

  .ha-food-accessory img {
    width: 60px;
    height: 60px;
  }
  .ha-food-slide-container {
    padding-top: 0;
    padding-bottom: 150px;
  }

  .ha-food-product-circle {
    width: 200px;
    height: 200px;
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    -o-animation: none;
  }
  .ha-food-product-main {
    width: 160px;
    height: 160px;
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    -o-animation: none;
  }
  .ha-food-slide-visual {
    padding: 0px;
  }
  .ha-food-product-showcase {
    max-width: 300px;
    height: 300px;
  }
  .ha-food-slide-description {
    max-width: 600px;
    margin: 0 auto;
  }
  .ha-food-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .ha-food-main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .ha-food-slide-description ul {
    padding-left: 0;
  }
  .ha-food-moonlight-spotlight {
    display: none !important;
  }
  .clouds img {
    bottom: -7%;
  }
  .ha-food-bottom-section-top,
  .ha-food-hero-bottom-bg {
    display: none;
  }
  .ha-food-cloud-top .clouds img {
    bottom: -5%;
  }
  /* slider end */

  /* trang chủ start */

  /* about us start */
  .ha-food-event-section {
    padding-right: 0;
  }
  .ha-food-event-image {
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
  }
  .ha-food-bottom-section-bg {
    background-attachment: initial;
  }
  /* about us end */

  /* mùa trung thu start */
  .ha-food-moonlight-spotlight-cloud-left {
    max-width: 200px;
    left: 95px;
  }
  .ha-food-moonlight-spotlight-cloud-left-big {
    max-width: 400px;
  }
  /* mùa trung thu end */

  /* các lý do để lựa chọn hafood start */
  .ha-food-reasons-bg {
    background-attachment: initial;
  }
  /* các lý do để lựa chọn hafood end */

  /* các hoạt động start */
  .ha-food-activity-overlay-title {
    min-height: 50%;
  }
  .ha-food-activity-card .ha-food-activity-overlay-title {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
  .ha-food-activity-card {
    border-color: var(--ha-food-gold);
  }
  .ha-food-activity-card:hover {
    box-shadow: none;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }
  /* các hoạt động end */

  /* khách hàng đánh giá start */
  .ha-food-testimonials-background {
    background-attachment: initial;
  }

  /* trang chủ end */

  /* footer start */
  .ha-food-footer-bg {
    background-attachment: initial;
  }
  /* footer end */

  /* trang về chúng tôi start */
  /* banner start */

  .ha-food-about-hero-banner {
    min-height: 300px;
    background-attachment: initial;
  }
  .ha-food-about-hero-banner .clouds img {
    bottom: -45%;
  }
  /* banner end */

  .page-about-us .ha-food-about-hero-title .title-highlight {
    font-size: 2rem;
  }

  .page-about-us .ha-food-about-hero-title .title-main {
    font-size: 3rem;
  }

  .page-about-us .ha-food-about-hero-stats {
    justify-content: center;
  }

  .page-about-us .ha-food-about-text {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-about-us .ha-food-vision-content {
    padding-left: 0;
    margin-top: 40px;
  }

  .page-about-us .ha-food-team-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-about-us .team-stats {
    justify-content: center;
  }
  .page-about-us .about-main-image {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
  }
  .about-small-image {
    bottom: -6%;
    left: 6%;
    max-width: 120px;
  }
  .page-about-us .ha-food-vision-bg {
    background-attachment: initial;
    opacity: 0.89;
  }
  .page-about-us .ha-food-vision-image {
    max-width: 600px;
    margin: 0 auto;
  }
  .page-about-us .ha-food-vision-image .about-main-image {
    width: 100%;
  }
  .page-about-us .ha-food-about-content {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .page-about-us .ha-food-core-values::before,
  .page-about-us .ha-food-core-values-bg-wave::before {
    transform: scaleX(2);
    -webkit-transform: scaleX(2);
    -moz-transform: scaleX(2);
    -ms-transform: scaleX(2);
    -o-transform: scaleX(2);
  }
  .page-about-us .ha-food-core-values::after,
  .page-about-us .ha-food-core-values-bg-wave::after {
    transform: scaleX(2) rotateX(180deg);
    -webkit-transform: scaleX(2) rotateX(180deg);
    -moz-transform: scaleX(2) rotateX(180deg);
    -ms-transform: scaleX(2) rotateX(180deg);
    -o-transform: scaleX(2) rotateX(180deg);
  }
  .ha-food-core-values {
    padding-bottom: 70px;
  }
  .page-about-us .team-main-image {
    max-height: initial;
  }
  .ha-food-certificates-bg-image {
    background-attachment: initial;
  }
  /* trang về chúng tôi end */

  /* trang sản phẩm start */
  .san-pham .ha-food-products-hero-title {
    font-size: 3rem;
  }

  .san-pham .ha-food-products-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .san-pham .products-sort {
    justify-content: center;
    margin-top: 0px;
  }

  .san-pham .products-count {
    text-align: center;
  }
  .san-pham .category-link {
    padding: 13px 14px;
  }
  .san-pham .sidebar-title {
    font-size: 0.95rem;
    padding-bottom: 8px;
    margin-bottom: 14px;
  }
  /* trang sản phẩm end */

  /* trang sản phẩm chi tiết start */

  .techno-farm-thumb-swiper .swiper-slide img {
    height: 100%;
  }

  .san-pham-detail .premium-product-card .product-image-container {
    height: 180px;
  }
  .san-pham-detail .ha-food-product-info {
    padding-left: 0;
    margin-top: 40px;
  }
  .san-pham-detail .ha-food-related-products .ha-food-product-info {
    margin-top: 0;
    padding-left: 15px;
    text-align: center;
  }

  .san-pham-detail .ha-food-product-hero-title {
    font-size: 2.2rem;
  }

  .san-pham-detail .ha-food-product-info .action-buttons {
    flex-direction: column;
  }

  .san-pham-detail .ha-food-product-info .btn-order-now,
  .san-pham-detail .ha-food-product-info .btn-add-to-cart {
    width: 100%;
  }
  /* trang sản phẩm chi tiết end */

  /* trang liên hệ start */
  .lien-he .contact-hero-title .title-main {
    font-size: 3rem;
  }

  .lien-he .contact-hero-title .title-sub {
    font-size: 2rem;
  }

  .lien-he .contact-form-wrapper {
    padding: 40px 30px;
  }

  .lien-he .form-title {
    font-size: 2rem;
  }

  .lien-he .map-overlay {
    position: relative;
    top: 0;
    left: 0;
    margin: 20px;
    max-width: none;
  }
  .lien-he .contact-info-card {
    padding: 15px 12px; /* Giảm từ 20px 15px */
    margin-bottom: 0; /* Thêm margin cho 2-column layout */
  }
  .lien-he .card-icon {
    width: 50px; /* Giảm từ 60px */
    height: 50px;
  }
  .lien-he .card-icon img {
    width: 50%;
  }
  .lien-he .contact-info-card .card-content {
    font-size: 0.85rem; /* Giảm từ 0.9rem */
  }
  .lien-he .card-content h3 {
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem); /* Mobile optimization */
    margin-bottom: 10px; /* Giảm spacing */
  }
  .lien-he .card-content p {
    line-height: 1.4; /* Tighter line height */
    margin-bottom: 0;
  }
  .lien-he .map-frame {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }
  .lien-he .map-overlay {
    margin: 0 auto;
  }
  .lien-he .ha-food-contact-map .map-wrapper {
    padding-top: 50px;
  }
  .lien-he .ha-food-contact-info,
  .lien-he .ha-food-contact-form {
    padding: 30px 0;
  }
  /* trang liên hệ end */

  /* trang dự án start */
  .page-project .projects-hero-title .title-main {
    font-size: 2.8rem;
  }

  .page-project .projects-stats {
    gap: 30px;
    justify-content: center;
  }

  .page-project .showcase-item.main-item {
    grid-row: span 1;
  }

  .page-project .portfolio-filter {
    gap: 8px;
  }

  .page-project .filter-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .page-project .timeline-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .page-project .timeline-item .timeline-content {
    text-align: center !important;
    margin-top: 20px;
  }

  .page-project .timeline-marker {
    margin: 0;
  }

  .page-project .process-timeline::before {
    display: none;
  }

  .page-project .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .page-project .author-info {
    text-align: center;
  }

  .page-project .showcase-item .showcase-overlay {
    transform: translateY(0);
  }
  .page-project .timeline-content li::before {
    display: none;
  }
  .page-project .timeline-content {
    max-width: 600px;
    margin: 0 auto;
  }
  /* trang dự án end */

  /* bổ sung trang dự án timeline start */
  .ha-food-process .process-bg-image {
    background-attachment: initial;
  }

  /* bổ sung trang dự án timeline end */

  .clouds img {
    bottom: -20%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 30px 0;
  }
  .vh-btn-dang-hang-form .vh-btn-dat-hang {
    width: 100%;
  }

  .vh-quay-lai {
    width: 100%;
  }

  .vh-quay-lai a {
    width: 100%;
    justify-content: center;
  }
  .lenis-scrollbar {
    width: 3px;
  }
  .lenis-scrollbar.visible {
    width: 5px;
  }
  /* ha food start */
  /* header start */
  .ha-food-search-container {
    margin: 10px;
    max-height: 95vh;
    border-radius: 15px;
  }

  .ha-food-search-header {
    padding: 25px 25px 15px;
  }

  .ha-food-search-title h3 {
    font-size: 22px;
  }

  .ha-food-search-form,
  .ha-food-search-suggestions {
    padding-left: 25px;
    padding-right: 25px;
  }

  .ha-food-search-input {
    padding: 16px 20px;
    font-size: 16px;
  }

  .ha-food-search-submit {
    padding: 16px 20px;
  }

  .ha-food-search-products {
    grid-template-columns: 1fr;
  }

  .ha-food-search-tags {
    justify-content: center;
  }
  /* header end */

  /* slider start */
  .ha-food-hero {
    min-height: auto;
  }

  .ha-food-slide-container {
    height: auto;
  }

  .ha-food-title-sub {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .ha-food-slide-actions {
    flex-direction: column;
    align-items: center;
  }

  .ha-food-cta-primary,
  .ha-food-cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .ha-food-accessory {
    width: 60px;
    height: 60px;
  }

  .ha-food-accessory img {
    width: 45px;
    height: 45px;
  }

  .ha-food-slider-navigation {
    padding: 0 15px;
  }

  .ha-food-slider-prev,
  .ha-food-slider-next {
    width: 50px;
    height: 50px;
  }

  .ha-food-scroll-indicator {
    right: 0px;
  }
  .ha-food-product-showcase {
    max-width: 200px;
    height: 200px;
  }
  .ha-food-product-circle {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }

  .ha-food-product-main {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }
  .ha-food-slide-content {
    padding: 0px 0px 15px 0px;
  }
  .ha-food-slide-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    margin-bottom: 10px;
  }
  .ha-food-badge {
    margin-bottom: 10px;
  }
  .ha-food-title-main {
    margin-top: -23px;
  }
  .clouds img {
    bottom: -25%;
  }
  .ha-food-decoration {
    display: none;
  }
  /* slider end */

  /* trang chủ about us start */
  .ha-food-about-title {
    margin-top: -5px;
  }
  .ha-food-cloud-top .clouds img {
    bottom: -5%;
  }
  .ha-food-slide-container {
    padding-bottom: 110px;
  }
  .ha-food-event-image-small {
    width: 190px;
  }
  .ha-food-event-image-small-wrapper {
    bottom: -38px;
  }
  .ha-food-event-section {
    padding-right: 26px;
  }
  .ha-food-event-image-small-logo {
    top: -23px;
    left: -30px;
    width: 70px;
    height: 70px;
  }
  .ha-food-event-image-small-logo img {
    width: 66%;
  }
  .ha-food-bottom-section {
    padding-top: 100px;
    padding-bottom: 0;
  }
  /* về chúng tôi end */

  /* màu trung thu start */

  .ha-food-season-content {
    line-height: 1.5;
  }
  .ha-food-moonlight-spotlight-cloud-left {
    max-width: 150px;
    left: 50px;
  }
  .ha-food-moonlight-spotlight-cloud-left-big {
    max-width: 300px;
  }
  /* mùa trung thu end */

  /* dự án nổi bật start */
  .ha-food-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  .ha-food-swiper-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  /* dự án nổi bật end */

  /* lý do để lựa chọn hafood start */
  .ha-food-reason-card {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .ha-food-reason-card:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }
  .ha-food-reason-card {
    padding: 6px 10px;
  }
  .ha-food-reason-content {
    line-height: 1.5;
    font-size: 0.85rem;
  }
  .ha-food-reason-card p {
    color: var(--ha-food-white);
    line-height: 1.6;
    font-size: 0.88rem;
  }
  .ha-food-collection-content h3 {
    font-size: 1.4rem;
  }
  /* lý do để lựa chọn hafood end */

  /* các bộ sưu tập start */
  .ha-food-activity-title {
    font-size: 1rem;
    margin-bottom: 0;
  }
  /* các bộ sưu tập end */

  /* trang chủ about us end */

  /* khách hàng đánh giá start */
  .ha-food-testimonials-navigation {
    margin-top: 0;
  }
  .ha-food-testimonials-pagination {
    margin-top: 20px;
    padding-bottom: 10px;
  }
  .ha-food-testimonial-card {
    padding: 20px;
    min-height: 200px; /* Giảm từ 300px */
    margin: 15px; /* Giảm từ 20px */
    flex-direction: column; /* Vertical layout cho mobile */
    text-align: center; /* Center alignment */
    align-items: center;
  }

  .ha-food-testimonial-avatar {
    width: 80px; /* Giảm từ 120px */
    height: 80px;
    margin-right: 0; /* Remove margin-right */
    margin-bottom: 15px; /* Add bottom margin */
  }

  .ha-food-testimonial-content {
    width: 100%;
  }

  .ha-food-testimonial-quote {
    margin-bottom: 10px;
    display: none;
  }
  .ha-food-testimonial-text {
    margin-bottom: 15px;
    font-size: 1rem; /* Giảm từ 1.1rem */
    line-height: 1.6; /* Giảm từ 1.8 */
  }

  .ha-food-testimonial-author h5 {
    font-size: 1rem; /* Responsive font size */
    margin-bottom: 5px;
  }

  .ha-food-testimonial-author span {
    font-size: 0.85rem; /* Giảm từ 0.95rem */
  }
  /* khách hàng đánh giá end */

  /* footer start */
  .ha-food-footer-bottom {
    text-align: center;
    margin-top: 0;
  }
  .ha-food-footer-links-bottom {
    justify-content: center;
    margin-bottom: 10px;
  }
  /* footer end */

  /* trang về chúng tôi start */
  .page-about-us .ha-food-about-hero-title .title-highlight {
    font-size: 1.8rem;
  }

  .page-about-us .ha-food-about-hero-title .title-main {
    font-size: 2.5rem;
  }

  .page-about-us .stat-number {
    font-size: 2.5rem !important;
  }

  .page-about-us .vision-point {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .page-about-us .value-content {
    padding-right: 5px;
  }

  .page-about-us .team-stats {
    gap: 30px;
  }

  .page-about-us .product-highlights,
  .page-about-us .team-badges {
    position: static;
    background: rgba(255, 255, 255, 1);
    margin-top: 20px;
    border-radius: 15px;
  }
  .about-small-image {
    bottom: -28px;
    left: -11px;
    max-width: 90px;
  }
  .page-about-us .ha-food-about-highlight {
    background: transparent;
    text-align: center;
  }
  .ha-food-about-content {
    margin-bottom: 0;
  }
  .page-about-us .vision-points::before {
    display: none;
  }
  .page-about-us .ha-food-vision {
    padding-top: 0;
  }
  .page-about-us .ha-food-core-values::before,
  .page-about-us .ha-food-core-values-bg-wave::before {
    transform: scaleX(4);
    -webkit-transform: scaleX(4);
    -moz-transform: scaleX(4);
    -ms-transform: scaleX(4);
    -o-transform: scaleX(4);
  }
  .page-about-us .ha-food-core-values::after,
  .page-about-us .ha-food-core-values-bg-wave::after {
    transform: scaleX(4) rotateX(180deg);
    -webkit-transform: scaleX(4) rotateX(180deg);
    -moz-transform: scaleX(4) rotateX(180deg);
    -ms-transform: scaleX(4) rotateX(180deg);
    -o-transform: scaleX(4) rotateX(180deg);
  }

  .page-about-us .certificate-page {
    height: 300px;
  }

  .page-about-us .certificate-cover-title {
    font-size: 1.2rem;
  }

  .page-about-us .certificate-cover-description {
    font-size: 0.85rem;
  }

  .page-about-us .certificate-cover-overlay {
    padding: 1.5rem;
  }

  .page-about-us .btn-book-control {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* trang về chúng tôi end */

  /* banner start */

  .ha-food-about-hero-banner {
    min-height: 200px;
  }
  .ha-food-about-hero-content-inner {
    text-align: center;
  }
  .ha-food-about-hero-banner .clouds img {
    bottom: -30%;
  }
  /* banner end */

  /* trang sản phẩm start */
  .san-pham .ha-food-products-hero {
    padding: 120px 0 60px;
  }

  .san-pham .ha-food-products-hero-title {
    font-size: 2.5rem;
  }

  .san-pham .ha-food-products-hero-subtitle {
    font-size: 1.1rem;
  }

  .san-pham .ha-food-products-sidebar {
    padding: 20px;
  }

  .san-pham .sidebar-title {
    font-size: 1.3rem;
  }

  .san-pham .category-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .san-pham .product-image {
    height: 200px;
  }

  .san-pham .product-info {
    padding: 20px 15px;
  }

  .san-pham .product-title {
    font-size: 1.1rem;
  }

  .san-pham .current-price {
    font-size: 1.2rem;
  }

  .san-pham .btn-add-cart,
  .san-pham .btn-buy-now {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  .san-pham .ha-food-products-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
  }
  /* trang sản phẩm end */

  /* trang sản phẩm chi tiết start */
  .san-pham-detail .ha-food-related-products {
    padding-top: 0;
  }
  .san-pham-detail .ha-food-product-detail {
    padding-bottom: 0;
  }
  .san-pham-detail .ha-food-product-info {
    margin-top: 0;
  }
  .san-pham-detail .ha-food-product-info .product-detail-price {
    margin-bottom: 15px;
  }
  .san-pham-detail .ha-food-product-info .product-divider {
    margin: 20px 0;
  }
  .description-content blockquote {
    padding: 20px 30px;
  }
  .description-content blockquote::before {
    top: -16px;
    left: 4px;
  }
  .description-content h1,
  .description-content h2,
  .description-content h3,
  .description-content h4,
  .description-content h5,
  .description-content h6 {
    margin: 10px 0 8px 0;
  }
  .san-pham-detail .ha-food-related-products {
    padding: 60px 0;
  }

  .san-pham-detail .premium-product-card .product-actions-row {
    flex-direction: column;
  }

  .san-pham-detail .premium-product-card .btn-add-cart,
  .san-pham-detail .premium-product-card .btn-order-now {
    border-radius: 0;
  }

  .san-pham-detail .premium-product-card .product-image-container {
    height: 200px;
  }
  .san-pham-detail .ha-food-product-detail {
    padding: 40px 0;
  }

  .san-pham-detail .ha-food-product-hero {
    padding: 80px 0 40px;
  }

  .san-pham-detail .ha-food-product-hero-title {
    font-size: 1.8rem;
  }

  .san-pham-detail .ha-food-breadcrumb {
    font-size: 1rem;
  }

  .san-pham-detail .ha-food-product-info .product-detail-title {
    font-size: 1.6rem;
  }

  .san-pham-detail .ha-food-product-info .current-price {
    font-size: 1.3rem;
  }

  .san-pham-detail .ha-food-product-gallery .thumbnail-images {
    flex-wrap: wrap;
    justify-content: center;
  }

  .san-pham-detail .ha-food-product-info .product-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .action-buttons {
    flex-direction: column;
  }

  .btn-order-now,
  .btn-add-to-cart {
    width: 100%;
    min-width: auto;
  }

  .quantity-controls {
    transform: scale(0.9);
  }
  .description-content {
    font-size: 15px;
  }

  .description-content h1 {
    font-size: 1.8rem;
  }

  .description-content h3 {
    font-size: 1.3rem;
  }

  .description-content.collapsed {
    max-height: 250px;
  }

  .description-content table {
    font-size: 14px;
  }

  .description-content table th,
  .description-content table td {
    padding: 10px 15px;
  }

  #searchModal .modal-dialog {
    margin: 1rem;
    max-width: none;
  }

  .ha-food-search-header {
    padding: 20px;
  }

  #searchModal .modal-body {
    padding: 20px;
  }

  .ha-food-search-header .modal-title {
    font-size: 1.2rem;
  }

  .ha-food-search-products {
    grid-template-columns: 1fr;
  }

  .ha-food-search-input {
    padding: 15px 20px;
    font-size: 15px;
  }

  .ha-food-search-submit {
    padding: 15px 20px;
  }

  /* trang sản phẩm chi tiết end */

  /* trang liên hệ start */
  .lien-he .ha-food-contact-hero {
    padding: 60px 0;
    min-height: auto;
  }

  .lien-he .contact-hero-title .title-main {
    font-size: 2.5rem;
  }

  .lien-he .contact-hero-title .title-sub {
    font-size: 1.5rem;
  }

  .lien-he .contact-quick-info {
    margin-top: 30px;
  }

  .lien-he .ha-food-contact-form {
    padding: 30px 0;
  }

  .lien-he .contact-form-wrapper {
    padding: 30px 20px;
    margin: 0;
  }

  .lien-he .form-title {
    font-size: 1.8rem;
  }

  .lien-he .ha-food-contact-info {
    padding: 20px 0;
  }

  .lien-he .section-title {
    margin-bottom: 16px;
  }

  .lien-he .floating-lantern {
    font-size: 2rem;
  }
  .lien-he .map-overlay {
    max-width: 90%;
  }
  .lien-he .map-overlay {
    padding: 16px;
  }
  .lien-he .map-frame iframe {
    height: 300px !important;
  }
  /* trang liên hệ end */

  /* trang dự án start */
  .page-project .ha-food-projects-hero {
    padding: 60px 0;
    min-height: auto;
  }

  .page-project .projects-hero-title .title-main {
    font-size: 2.2rem;
  }

  .page-project .projects-hero-title .title-sub {
    font-size: 1.4rem;
  }

  .page-project .stat-number {
    font-size: 2.2rem;
  }

  .page-project .projects-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-project .section-title {
    font-size: 2.2rem;
  }

  .page-project .chinese-accent {
    font-size: 1.4rem;
  }

  .page-project .ha-food-portfolio,
  .page-project .ha-food-process,
  .page-project .ha-food-testimonials,
  .page-project .ha-food-project-cta {
    padding: 60px 0;
  }

  .page-project .timeline-content {
    padding: 20px;
  }

  .page-project .cta-title {
    font-size: 2rem;
  }

  .page-project .cta-form-wrapper {
    padding: 30px 20px;
  }

  .page-project .floating-pattern {
    font-size: 2rem;
  }
  .page-project .timeline-item .timeline-content {
    padding: 15px;
  }
  /* trang dự án end */

  /* trang dự án chi tiết start */
  .page-project-detail .project-cta {
    padding-top: 0;
  }
  /* trang dự án chi tiết end */

  .ha-food-about-text {
    line-height: 1.5;
  }
  .ha-food-season-text p {
    margin-bottom: 0;
  }
  .ha-food-product-info-title {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .ha-food-product-info {
    padding: 5px 10px;
  }
  .ha-food-product-price-label {
    display: none !important;
  }
  .container {
    width: 93%;
  }
  .ha-footer-product-btn {
    font-size: 10px;
  }
  .ha-food-about-hero .cloud-1 {
    display: none;
  }

  .ha-food-category-list {
    opacity: 1;
    visibility: visible;
    max-height: max-content;
  }
}

@media (max-width: 576px) {
  /* header start */
  .ha-food-mobile-controls {
    bottom: 15px;
    right: 15px;
    gap: 12px;
  }

  .ha-food-mobile-actions {
    padding: 8px 12px;
    gap: 10px;
  }

  .ha-food-mobile-action-btn {
    width: 44px;
    height: 44px;
  }

  .ha-food-mobile-action-btn svg {
    width: 18px;
    height: 18px;
  }

  .ha-food-mobile-toggle {
    width: 50px;
    height: 50px;
  }

  .ha-food-mobile-toggle span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  .ha-food-mobile-toggle:hover span {
    width: 24px;
  }

  .ha-food-cart-count {
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }

  /* offcanvas cart start */
  .ha-food-modern-cart {
    --bs-offcanvas-width: 100%;
  }

  .ha-food-cart-item {
    flex-direction: column;
    gap: 15px;
    padding: 18px;
  }

  .ha-food-item-controls {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .ha-food-cart-actions {
    flex-direction: column;
    gap: 12px;
  }

  .ha-food-continue-btn,
  .ha-food-checkout-btn {
    flex: none;
  }

  .ha-food-cart-header {
    padding: 20px;
  }

  .ha-food-cart-title {
    font-size: 1.2rem;
  }

  .ha-food-empty-cart {
    padding: 40px 15px;
  }

  .ha-food-empty-cart-icon {
    font-size: 3rem;
  }

  .ha-food-empty-cart-message {
    font-size: 1.1rem;
  }
  /* offcanvas cart end */
  /* header end */

  /* trang về chúng tôi start */
  .page-about-us .ha-food-about-hero-stats {
    gap: 20px;
  }

  .page-about-us .stat-item {
    flex: 1;
    min-width: 80px;
  }

  .page-about-us .vision-main-image {
    height: 300px;
  }

  .page-about-us .vision-content h3 {
    font-size: 2rem;
  }

  .page-about-us .vision-content p {
    font-size: 1rem;
  }

  .page-about-us .team-stat .stat-number {
    font-size: 2rem;
  }

  .page-about-us .certificate-image {
    height: 250px;
  }

  .page-about-us .certificate-page {
    height: 250px;
  }

  .page-about-us .certificate-cover-title {
    font-size: 1.1rem;
  }

  .page-about-us .certificate-cover-description {
    font-size: 0.8rem;
  }

  .page-about-us .certificate-book-controls {
    gap: 1rem;
  }
  /* trang về chúng tôi end */

  /* trang sản phẩm start */
  .san-pham .ha-food-products-hero-title {
    font-size: 2rem;
  }

  .san-pham .category-link {
    justify-content: center;
    text-align: start;
  }

  .san-pham .category-link i {
    margin-right: 8px;
  }

  .san-pham .product-image {
    height: 180px;
  }

  .san-pham .ha-food-products-pagination .page-link {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .san-pham .ha-food-products-pagination .page-item {
    margin: 0 2px;
  }
  /* trang sản phẩm end */

  /* trang sản phẩm chi tiết start */
  .san-pham-detail .premium-product-card .product-title {
    font-size: 1rem;
  }

  .san-pham-detail .premium-product-card .product-content {
    padding: 15px 10px;
  }

  .san-pham-detail .premium-product-card .product-image-container {
    margin: 10px;
    height: 160px;
  }
  /* trang sản phẩm chi tiết end */

  /* trang liên hệ start */
  .lien-he .contact-hero-title .title-main {
    font-size: 2rem;
  }

  .lien-he .contact-hero-description {
    font-size: 1rem;
  }

  .lien-he .contact-form-wrapper {
    border-radius: 15px;
    padding: 25px 15px;
  }

   .techno-farm-main-swiper,.techno-farm-thumb-swiper-container{
     height:400px;
  }

  .lien-he .form-title {
    font-size: 1.5rem;
  }

  .lien-he .contact-info-card {
    padding: 12px 10px; /* Ultra-compact cho small mobile */
  }
  .lien-he .card-icon {
    width: 45px; /* Còn nhỏ hơn nữa */
    height: 45px;
    margin-bottom: 8px; /* Giảm spacing */
  }
  .lien-he .card-content h3 {
    font-size: 0.85rem; /* Fixed size cho small screen */
    margin-bottom: 8px;
  }
  .lien-he .card-content {
    font-size: 0.8rem; /* Smaller text */
  }
  .lien-he .card-link {
    font-size: 0.75rem; /* Smaller link */
  }
  /* trang liên hệ end */

  /* trang dự án start */
  .page-project .projects-hero-title .title-main {
    font-size: 1.8rem;
  }

  .page-project .projects-hero-description {
    font-size: 1rem;
  }

  .page-project .portfolio-filter {
    flex-direction: column;
    align-items: center;
  }

  .page-project .filter-btn {
    width: 200px;
    text-align: center;
  }

  .page-project .testimonial-card {
    padding: 30px 20px;
    margin: 0 5px;
  }

  .page-project .cta-features {
    gap: 12px;
  }

  .page-project .feature-item {
    font-size: 1rem;
  }
  /* trang dự án end */

  .ha-food-testimonial-avatar {
    width: 70px; /* Còn nhỏ hơn */
    height: 70px;
    margin-bottom: 12px;
    top: 0;
  }
  /* Testimonial Cards - Extra Small Mobile */
  .ha-food-testimonial-card {
    padding: 15px;
    min-height: 180px; /* Còn nhỏ hơn nữa */
    margin: 10px; /* Giảm margin hơn nữa */
    overflow: hidden;
  }
  .ha-food-testimonial-text {
    font-size: 0.85rem; /* Còn nhỏ hơn */
    line-height: 1.4;
    margin-bottom: 7px;
  }
  .ha-food-testimonial-author h5 {
    margin-bottom: 0;
  }

  .page-project .portfolio-info {
    padding: 10px;
  }
  .page-project .portfolio-category {
    margin-bottom: 9px;
  }
  .page-project .portfolio-info h4 {
    color: var(--text-color);
    margin-bottom: 4px;
    font-size: 0.9rem;
  }
}

/* Mobile Small Optimization */
@media (max-width: 480px) {
  .ha-food-testimonial-author h5 {
    font-size: 0.95rem;
  }

  .ha-food-testimonial-author span {
    font-size: 0.8rem;
  }

  #categoryCheckbox + .ha-food-category-list {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  #categoryCheckbox:checked + .ha-food-category-list {
    opacity: 1;
    visibility: visible;
    max-height: max-content;
  }
}


@media (max-width: 440px) {
   .techno-farm-main-swiper,.techno-farm-thumb-swiper-container{
     height:350px;
  }
}
@media (max-width:410px) {
 .techno-farm-main-swiper,.techno-farm-thumb-swiper-container{
     height:300px;
  }
}
@media (max-width: 330px) {
  /* header start */
  .ha-food-mobile-controls {
    bottom: 12px;
    right: 12px;
    gap: 10px;
  }

  .ha-food-mobile-actions {
    padding: 6px 10px;
    gap: 8px;
    border-radius: 25px;
  }

  .ha-food-mobile-action-btn {
    width: 40px;
    height: 40px;
  }

  .ha-food-mobile-action-btn svg {
    width: 16px;
    height: 16px;
  }

  .ha-food-mobile-toggle {
    width: 46px;
    height: 46px;
  }

  .ha-food-mobile-toggle span {
    width: 18px;
    margin: 2px 0;
  }

  .ha-food-mobile-toggle:hover span {
    width: 22px;
  }
  .ha-food-mobile-controls {
    bottom: 8px;
    right: 8px;
    transform: scale(0.9);
    transform-origin: bottom right;
  }
  /* header end */

  /* ===== PORTFOLIO MOBILE OPTIMIZATION ===== */
  /* Mobile-First Portfolio Grid - 2 Columns */
  .page-project .portfolio-card {
    margin-bottom: 15px; /* Giảm margin giữa cards */
  }

  .page-project .portfolio-category {
    font-size: 0.75rem; /* Giảm từ 0.8rem */
    padding: 4px 12px; /* Giảm từ 5px 15px */
  }

  .page-project .portfolio-info h4 {
    font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1rem); /* Mobile optimization */
    margin-bottom: 8px; /* Giảm từ 10px */
    line-height: 1.3;
  }

  .portfolio-info-defined-style1 {
    font-size: 0.8rem; /* Giảm từ 0.9rem */
    line-height: 1.4;
    /* Limit to 2 lines on mobile */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Reduce hover effects on small touch devices */
  .page-project .portfolio-card:hover {
    transform: translateY(-5px); /* Giảm từ -10px */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); /* Softer shadow */
  }
  /* ===== END PORTFOLIO MOBILE OPTIMIZATION ===== */

}

/* Tablet Optimization */
@media (min-width: 768px) and (max-width: 991px) {
  .page-project .portfolio-info {
    padding: 20px; /* Between mobile and desktop */
  }

  .page-project .portfolio-info h4 {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  }

  .portfolio-info-defined-style1 {
    font-size: 0.85rem;
  }
}

/* ===== ADDITIONAL CONTACT INFO MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
  /* Contact Info Grid Spacing Optimization */
  .lien-he .ha-food-contact-info .row {
    --bs-gutter-x: 15px; /* Giảm gutter từ 30px (gx-5) cho mobile */
    --bs-gutter-y: 15px; /* Giảm gutter từ 24px (gy-4) cho mobile */
  }
}
