
/* ==========================================================================
 * CSS dùng chung cho mặt trận (front-end). Sinh từ các khối <style> inline trong resources/views.
 * Rule mang prefix .dlp-... là phần bị nhiều trang định nghĩa khác nhau nên phải tách theo trang;
 * trang đó khai báo @section('page_class', 'dlp-...') để nhận đúng bản của mình.
 */

/* ---- dailong_front_end/dailong_layout.blade.php:39  [dung chung] ---- */
/* Ảnh chờ của lazy load: dl-lazyload.js gán /loading2.gif kèm lớp này cho mọi ảnh đang chờ
   data-src, và gỡ lớp ngay khi ảnh thật tải xong.
   - !important: ảnh card đều đặt object-fit:cover, không ghi đè thì icon loading bị cắt
     khung nhìn như ảnh thật.
   - padding 16% + box-sizing: thu vùng hiển thị để icon nằm giữa ô thay vì trải đầy. */
img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  object-position: center;
}
img.dl-lazy-holder {
  object-fit: contain !important;
  object-position: center;
  box-sizing: border-box;
  padding: 16%;
  background: #eef2f7;

}

/* --- Cấu trúc chung cho Search --- */
.search-wrapper {
  position: relative;
}

.search-trigger {
  cursor: pointer;
  color: var(--nav-color);
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.search-trigger:hover {
  color: var(--nav-hover-color);
}

.search-form-wrapper {
  position: absolute;
  background: var(--surface-color);
  padding: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: none;
  /* Ẩn mặc định */
  z-index: 999;
}

.search-form-wrapper.active {
  display: block;
  animation: searchFadeIn 0.3s ease;
}

.search-form {
  display: flex;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 4px;
  overflow: hidden;
}

.search-input {
  border: none;
  padding: 8px 12px;
  outline: none;
  width: 100%;
}

.search-submit {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0 15px;
  cursor: pointer;
}

/* --- Cấu hình riêng cho Desktop --- */
@media (min-width: 1200px) {
  .desktop-search .search-form-wrapper {
    right: 0;
    top: 100%;
    min-width: 350px;
  }
}
/* --- Cấu hình riêng cho Mobile --- */
@media (max-width: 1199px) {
  .nav-controls {
    margin-left: 15px;
  }

  .mobile-search .search-form-wrapper {
    position: fixed;
    top: 65px;
    /* Điều chỉnh tùy theo độ cao header của bạn */
    left: 15px;
    right: 15px;
    width: auto;
  }
}
@keyframes searchFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loại bỏ đường gạch chân dưới cho riêng nút search trên Desktop */
.navmenu ul li.search-wrapper:hover > a:before,
    .navmenu ul li.search-wrapper a.active:before {
  display: none !important;
}

/* Đảm bảo nút search không bị đổi màu hoặc dính các hiệu ứng gạch chân mặc định */
.navmenu ul li.search-wrapper a {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Nếu template dùng hiệu ứng gạch chân bằng border-bottom */
.navmenu ul li.search-wrapper:hover > a {
  border-bottom: 0 !important;
}

/* ---- Breadcrumb dùng chung toàn front-end ----
       Một thanh liền mạch (không tách chip) chiếm hết chiều ngang container, góc bo 7px,
       nền tông accent đậm + chữ trắng, các mức phân cách nhau bằng dấu "/". */
.breadcrumb {
  --bs-breadcrumb-divider: '/';
  --bs-breadcrumb-item-padding-x: .6rem;
  --bc-accent: var(--accent-color, #97c5fc);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 25px;
  padding: 13px 18px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(100deg, var(--bc-accent) 0%,
        color-mix(in srgb, var(--bc-accent) 76%, #3a8cf0) 100%);
  border: 1px solid color-mix(in srgb, var(--bc-accent) 70%, #06152f);
  border-radius: 7px;
  box-shadow: 0 10px 22px -16px rgba(10, 31, 67, .9);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Dấu "/" gắn vào mục LI TRƯỚC (::after) thay vì ::before của mục sau,
       nên nó không bị nằm gọn trong pill chữ đậm của mục hiện tại. */
.breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  padding: 0 var(--bs-breadcrumb-item-padding-x);
  color: rgba(255, 255, 255, .45);
  font-weight: 400;
  line-height: 1;
}

.breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease;
}

.breadcrumb-item a:hover {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-item a i {
  font-size: .95em;
  color: rgba(255, 255, 255, .7);
  transition: color .25s ease;
}

.breadcrumb-item a:hover i {
  color: #fff;
}

.breadcrumb-item.active {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .breadcrumb {
    padding: 8px 12px;
    font-size: .8rem;
    --bs-breadcrumb-item-padding-x: .4rem;
  }
}

/* ---- dailong_front_end/footer.blade.php:7  [dung chung] ---- */
/* Container Logo */
.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Chữ Đại Long với hiệu ứng chuyển màu */
.logo .sitename {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.75rem;
  /* 28px */
  font-weight: 800;
  letter-spacing: -0.02em;
  /* Tạo dải màu gradient tươi sáng (Xanh ngọc - Xanh dương - Hồng - Cam - Xanh ngọc) */
  background: linear-gradient(
              120deg, 
              #00f2fe 0%, 
              #4facfe 25%, 
              #ff0844 50%, 
              #ffb199 75%, 
              #00f2fe 100%
            );
  /* Mở rộng kích thước background để thực hiện hiệu ứng trượt màu */
  background-size: 300% 300%;
  /* Cắt background theo khung chữ */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Chạy animation vô hạn */
  animation: brightGradient 6s ease infinite;
  /* Tăng hiệu ứng mịn mượt khi hover */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hiệu ứng tương tác khi rê chuột (Hover) */
.logo:hover .sitename {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(79, 172, 254, 0.35));
}

/* Keyframes điều khiển hướng di chuyển của màu sắc */
@keyframes brightGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.custom-list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list-check > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

/* Tạo Icon Checkmark bằng CSS thuần */
.custom-list-check > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: #22c55e;
  /* Màu xanh lá tươi */
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
}


/* ---- dailong_front_end/header.blade.php:172  [dung chung] ---- */
/* Đánh dấu menu con active trong dropdown (theme chỉ có style cho menu cấp 1) */
.navmenu .dropdown ul a.active,
    .navmenu .dropdown ul li.active > a {
  color: var(--nav-dropdown-hover-color);
  font-weight: 600;
}

/* Mục tài khoản thành viên trong dropdown nav */
.navmenu .dropdown ul li.nav-xu {
  padding: 7px 20px;
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.3;
}

.navmenu .dropdown > a .nav-ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
  vertical-align: middle;
  margin-right: 4px;
}

.navmenu .dropdown ul .nav-logout-form {
  margin: 0;
}

.navmenu .dropdown ul button.nav-logout {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  color: var(--nav-dropdown-color);
  cursor: pointer;
  transition: color .2s;
}

.navmenu .dropdown ul button.nav-logout i {
  font-size: 12px;
  line-height: 0;
  margin-right: 6px;
}

.navmenu .dropdown ul button.nav-logout:hover {
  color: var(--nav-dropdown-hover-color);
}

.search-form-wrapper {
  position: absolute;
}

.search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 30px -8px rgba(15,23,42,.18);
  max-height: 60vh;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.search-suggest.open {
  display: block;
}

.search-suggest .sg-group {
  padding: 8px 14px 4px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
}

.search-suggest .sg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  border-top: 1px solid #f1f5f9;
}

.search-suggest .sg-item:hover {
  background: #f8fafc;
}

.search-suggest .sg-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.search-suggest .sg-title {
  font-size: .85rem;
  color: #334155;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-suggest .sg-item:hover .sg-title {
  color: #2563eb;
}

.search-suggest .sg-empty, .search-suggest .sg-more {
  padding: 12px 14px;
  font-size: .85rem;
  color: #64748b;
  text-align: center;
}

.search-suggest .sg-more {
  display: block;
  border-top: 1px solid #f1f5f9;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}


/* ---- dailong_front_end/partials/affiliate_links.blade.php:64  [dung chung] ---- */
.al-card {
  background: var(--surface-color, #fff);
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px -18px rgba(17,35,68,.5);
}

.al-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.al-title i {
  color: var(--accent-color, #2563eb);
}

.al-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-item {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.al-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px -12px rgba(15,23,42,.28);
  transform: translateY(-2px);
}

.al-banner {
  display: block;
  height: 96px;
  background: #f8fafc;
}

.al-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}

.al-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 2px 8px;
  border-radius: 999px;
}

.al-name {
  font-size: .88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.al-desc {
  font-size: .78rem;
  color: #64748b;
  line-height: 1.45;
}

.al-go {
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-color, #2563eb);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.al-note {
  font-size: .72rem;
  color: #94a3b8;
  margin: 12px 0 0;
  line-height: 1.5;
}


/* ---- dailong_front_end/partials/album_card.blade.php:9  [dung chung] ---- */
/* Chữ của thẻ album vẫn dẫn vào bộ sưu tập trong khi ảnh mở lightbox */
.dl-grid .dl-body .dl-open {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none;
}


/* ---- dailong_front_end/partials/call_float.blade.php:11  [dung chung] ---- */
.float-contact {
  position: fixed;
  left: 15px;
  bottom: 75px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.cf-btn {
  height: 44px;
  padding: 0 16px 0 13px;
  border-radius: 50px;
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: all .35s ease;
}

.cf-btn:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.cf-call {
  background: #16a34a;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .38);
}

.cf-call:hover {
  background: #15803d;
}

.cf-zalo {
  background: #0067ff;
  box-shadow: 0 4px 14px rgba(0, 103, 255, .34);
}

.cf-zalo:hover {
  background: #0052cc;
}

.cf-btn i {
  font-size: 19px;
  line-height: 0;
  position: relative;
}

.cf-zalo svg {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}

/* Vòng sóng quanh icon điện thoại để gây chú ý mà không cần bật tiếng */
.cf-call i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  animation: cfWave 1.8s ease-out infinite;
}

@keyframes cfWave {
  0% {
    transform: scale(.7);
    opacity: .85;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-call i::after {
    animation: none;
  }

  .cf-btn {
    transition: none;
  }
}
/* Màn hẹp: hai nút thành hình tròn xếp dọc, chạm vẫn dùng được */
@media (max-width: 479.98px) {
  .cf-btn {
    padding: 0;
    width: 44px;
    justify-content: center;
  }

  .cf-btn .cf-txt {
    display: none;
  }
}

/* ---- dailong_front_end/partials/cate_sidebar.blade.php:81  [dung chung] ---- */
.cs-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-card {
  background: var(--surface-color);
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px -18px rgba(17,35,68,.5);
}

.cs-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #eef2f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-title i {
  color: var(--accent-color);
}

.cs-hint {
  font-size: .76rem;
  color: #8493ad;
  margin: 10px 0 0;
  line-height: 1.5;
}

.cs-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 13px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.cs-more:hover {
  text-decoration: underline;
}

.cs-more i {
  font-size: .72rem;
}

.cs-search-form {
  display: flex;
  border: 1.5px solid #dfe6f2;
  border-radius: 11px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.cs-search-form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.cs-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 11px 13px;
  font-size: .9rem;
  color: var(--default-color);
  background: transparent;
  outline: none;
}

.cs-search-form button {
  border: 0;
  background: var(--accent-color);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  transition: background .2s;
}

.cs-search-form button:hover {
  background: color-mix(in srgb, var(--accent-color), #000 18%);
}

.cs-hour {
  display: flex;
  gap: 8px;
  font-size: .86rem;
  color: var(--default-color);
  margin: 0 0 8px;
  line-height: 1.5;
}

.cs-hour i {
  color: var(--accent-color);
  font-size: .4rem;
  margin-top: .45rem;
  flex: 0 0 auto;
}

.cs-call {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%), color-mix(in srgb, var(--accent-color), transparent 82%));
}

.cs-call i {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.cs-call span {
  display: flex;
  flex-direction: column;
}

.cs-call small {
  font-size: .7rem;
  color: #6b7a95;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.cs-call strong {
  font-size: 1.02rem;
  color: var(--heading-color);
}

.cs-addr {
  font-size: .8rem;
  color: #6b7a95;
  margin: 11px 0 0;
  line-height: 1.55;
}

.cs-addr i {
  color: var(--accent-color);
  margin-right: 5px;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cs-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f9;
}

/* Ô ảnh là lightbox, dòng chữ nổi dưới đáy mới là link sang trang chi tiết */
.cs-photo {
  position: absolute;
  inset: 0;
  display: block;
}

.cs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.cs-cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 16px 7px 6px;
  font-size: .68rem;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to top, rgba(17,35,68,.82), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-cell:hover img {
  transform: scale(1.1);
}

.cs-cell:hover .cs-cap {
  opacity: 1;
  transform: none;
}

.cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cs-chips a {
  font-size: .78rem;
  color: #43506b;
  text-decoration: none;
  border: 1px solid #e2e8f4;
  border-radius: 999px;
  padding: 5px 11px;
  background: #f7f9fd;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.cs-chips a:hover {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}


/* ---- dailong_front_end/partials/gallery_card.blade.php:9  [dung chung] ---- */
.gc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.gc-card:hover {
  transform: translateY(-4px);
  border-color: #cbd8ec;
  box-shadow: 0 12px 25px -5px rgba(15,23,42,.1);
}

.gc-figure {
  display: block;
  height: 168px;
  padding: 10px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #f8fafc 0%, #e6ecf6 100%);
}

.gc-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

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

.gc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px 13px;
}

.gc-title {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}

.gc-title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gc-title a:hover {
  color: #2563eb;
}

.gc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: .72rem;
  color: #6b7a93;
}

.gc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gc-meta i {
  color: #97a7bf;
}

.gc-meta b {
  color: #334155;
  font-weight: 600;
}

.gc-meta a {
  color: #2563eb;
  text-decoration: none;
}

.gc-meta a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Tên chủ đề + biểu tượng nhuộm màu nhận diện của gallery_type (khai báo ở thẻ article) */
.gc-meta .gc-type {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .74rem;
  background: color-mix(in srgb, var(--dl-ac-type, #2563eb) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--dl-ac-type, #2563eb) 32%, #fff);
}

.gc-meta .gc-type a {
  color: var(--dl-ac-type, #2563eb);
}

.gc-meta .gc-type a:hover {
  color: var(--dl-ac-type, #2563eb);
  text-decoration: none;
}

.gc-meta .gc-type i {
  color: var(--dl-ac-type, #97a7bf);
}

.gc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.gc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: .25s ease;
}

.gc-btn-primary {
  background: #2563eb;
  color: #fff;
}

.gc-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.gc-btn-primary[disabled] {
  opacity: .7;
  cursor: wait;
}

.gc-btn-ghost {
  background: #f1f5f9;
  color: #334155;
}

.gc-btn-ghost:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.gc-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: .74rem;
  font-weight: 600;
}

.gc-hint {
  width: 100%;
  margin: 0;
  font-size: .7rem;
  color: #94a3b8;
}


/* ---- dailong_front_end/partials/gallery_featured.blade.php:9  [dung chung] ---- */
.fs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.fs-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.fs-card:hover {
  transform: translateY(-4px);
  border-color: #cbd8ec;
  box-shadow: 0 18px 34px -18px rgba(15, 23, 42, .28);
}

.fs-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  padding: 18px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #f8fafc 0%, #e6ecf6 100%);
}

.fs-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}

.fs-card:hover .fs-figure img {
  transform: scale(1.04);
}

.fs-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(100deg, var(--dl-ac-type, var(--accent-color, #175cdd)), #0f3f9e);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -8px rgba(10, 31, 67, .9);
}

.fs-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
}

.fs-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.fs-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color .25s ease;
}

.fs-title a:hover {
  color: #2563eb;
}

.fs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .8rem;
  color: #6b7a93;
}

.fs-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fs-meta i {
  color: #97a7bf;
}

.fs-meta b {
  color: #334155;
  font-weight: 600;
}

.fs-meta a {
  color: #2563eb;
  text-decoration: none;
}

.fs-meta a:hover {
  text-decoration: underline;
}

/* Chủ đề của ảnh nhận màu riêng của gallery_type (khai báo ở thẻ article) */
.fs-meta .fs-type {
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 700;
  background: color-mix(in srgb, var(--dl-ac-type, #2563eb) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--dl-ac-type, #2563eb) 32%, #fff);
}

.fs-meta .fs-type i {
  color: var(--dl-ac-type, #97a7bf);
}

.fs-meta .fs-type a {
  color: var(--dl-ac-type, #2563eb);
}

.fs-meta .fs-type a:hover {
  text-decoration: none;
}

.fs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: .25s ease;
}

.fs-btn-primary {
  background: #2563eb;
  color: #fff;
}

.fs-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.fs-btn-primary[disabled] {
  opacity: .7;
  cursor: wait;
}

.fs-btn-ghost {
  background: #f1f5f9;
  color: #334155;
}

.fs-btn-ghost:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.fs-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: .82rem;
  font-weight: 600;
}

.fs-hint {
  width: 100%;
  margin: 0;
  font-size: .78rem;
  color: #94a3b8;
}

/* Tiêu đề ngăn cách khối nổi bật với lưới ảnh phía dưới */
.fs-rest-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.fs-rest-title::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-color, #175cdd);
}

@media (max-width: 991.98px) {
  .fs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .fs-figure {
    height: 260px;
  }
}

/* ---- dailong_front_end/partials/post_card.blade.php:12  [dung chung] ---- */
.dl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(37,99,235,.16);
  border-color: #bfdbfe;
}

.dl-img {
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.dl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.dl-card:hover .dl-img img, .dl-card:hover .dl-img .dl-ph {
  transform: scale(1.05);
}

.dl-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 18px;
}

.dl-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dl-card:hover .dl-title {
  color: #2563eb;
}

.dl-desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Đẩy hàng meta + nút xuống đáy card để các card cùng hàng cân đối */
.dl-foot {
  margin-top: auto;
  padding-top: 10px;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 10px;
  font-size: .74rem;
  color: #6b7a93;
}

.dl-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dl-meta i {
  color: #97a7bf;
}

.dl-meta b {
  color: #334155;
  font-weight: 600;
}

.dl-meta a {
  color: inherit;
  text-decoration: none;
}

.dl-meta a:hover {
  color: #2563eb;
}

.dl-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eff4ff;
  color: #2563eb;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.dl-more:hover {
  background: #2563eb;
  color: #fff;
}


/* ---- dailong_front_end/partials/post_report.blade.php:13  [dung chung] ---- */
/* Khối cuối bài: chia sẻ + báo lỗi */
.pr-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
  padding: 15px 18px;
  background: linear-gradient(90deg, #f8fafc, #eff6ff);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.pr-label {
  font-size: .9rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pr-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pr-spacer {
  flex: 1 1 auto;
}

.sh-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.sh-btn:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.08);
  color: #fff;
}

.sh-fb {
  background: #1877f2;
}

.sh-zalo {
  background: #0067ff;
}

.sh-x {
  background: #0f172a;
}

.sh-in {
  background: #0a66c2;
}

.sh-mail {
  background: #ea4335;
}

.sh-copy {
  background: #16a34a;
}

.sh-btn.copied {
  background: #0d9488;
}

.pr-report {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #fed7aa;
  background: #fff;
  color: #9a3412;
  font-size: .84rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s;
}

.pr-report:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

.pr-report.pulse, .pr-flag.pulse {
  animation: prPulse 1.5s ease-in-out infinite;
}

@keyframes prPulse {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(234,88,12,.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(234,88,12,0);
  }
}

/* Cảnh báo ảnh hỏng (banner đặt trong trang, khối này chỉ lo hành vi) */
.pr-broken {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: .87rem;
  margin-bottom: 20px;
}

.pr-broken.show {
  display: flex;
}

.pr-broken b {
  color: #b91c1c;
}

/* Modal báo lỗi */
.pr-reason {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: #334155;
  cursor: pointer;
  background: #fff;
  transition: border-color .2s, background .2s;
}

.pr-reason:hover {
  border-color: #fdba74;
  background: #fffbeb;
}

.pr-reason.checked {
  border-color: #ea580c;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 600;
}

.pr-reason input {
  margin-top: 3px;
  accent-color: #ea580c;
}

.pr-modal .modal-header, .pr-modal .modal-footer {
  border-color: #e2e8f0;
}

.pr-ok {
  padding: 26px 22px 30px;
  text-align: center;
}

.pr-ok .ic {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pr-ok h5 {
  font-weight: 800;
  color: #0f172a;
}


/* ---- dailong_front_end/partials/post_sidebar.blade.php:83  [dung chung] ---- */
.sb-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sb-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 18px 20px;
}

.sb-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-title i {
  color: #2563eb;
}

.sb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

.sb-item a {
  text-decoration: none;
}

.sb-thumb {
  position: relative;
  flex: 0 0 74px;
  width: 74px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.sb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.sb-item:hover .sb-thumb img {
  transform: scale(1.07);
}

.sb-sale {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #ef4444;
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.sb-thumb-blank {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.15rem;
  background: #f8fafc;
}

.sb-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sb-name {
  font-size: .875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-item:hover .sb-name {
  color: #2563eb;
}

.sb-meta {
  font-size: .75rem;
  color: #94a3b8;
}

.sb-price {
  font-size: .85rem;
  color: #dc2626;
  font-weight: 700;
}

.sb-price del {
  color: #94a3b8;
  font-weight: 400;
  font-size: .75rem;
  margin-left: 5px;
}

.sb-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.sb-more:hover {
  text-decoration: underline;
}


/* ---- dailong_front_end/partials/product_featured.blade.php:66  [dung chung] ---- */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.pf-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface-color, #fff);
  border: 1px solid #e6ebf5;
  border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pf-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-color, #2563eb), #22c55e);
  opacity: .9;
}

.pf-card:hover {
  transform: translateY(-5px);
  border-color: #cfd9ec;
  box-shadow: 0 26px 46px -28px rgba(17,35,68,.5);
}

.pf-img {
  position: relative;
  display: block;
  min-height: 210px;
  background: #eef2f9;
  overflow: hidden;
}

.pf-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.pf-card:hover .pf-img img, .pf-card:hover .pf-img .dl-ph {
  transform: scale(1.07);
}

.pf-sale {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  font-size: .74rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #dc2626);
  border-radius: 999px;
  padding: 4px 11px;
  box-shadow: 0 6px 14px -8px rgba(220,38,38,.9);
}

.pf-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  min-width: 0;
}

.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.pf-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-color, #2563eb);
  background: color-mix(in srgb, var(--accent-color, #2563eb), transparent 90%);
  border-radius: 999px;
  padding: 4px 10px;
}

.pf-tag i {
  font-size: .62rem;
}

.pf-cate {
  font-size: .76rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}

.pf-cate:hover {
  color: var(--accent-color, #2563eb);
  text-decoration: underline;
}

.pf-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.pf-title a {
  color: var(--heading-color, #112344);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-title a:hover {
  color: var(--accent-color, #2563eb);
}

.pf-intro {
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pf-now {
  font-size: 1.3rem;
  font-weight: 800;
  color: #dc2626;
}

.pf-was {
  font-size: .86rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pf-ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent-color, #2563eb);
  background: color-mix(in srgb, var(--accent-color, #2563eb), transparent 92%);
  border-radius: 8px;
  padding: 4px 10px;
}

.pf-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed #e8eef8;
  padding-top: 12px;
}

.pf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .76rem;
  color: #8493ad;
}

.pf-meta i {
  margin-right: 3px;
}

.pf-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-color, #2563eb);
  border-radius: 999px;
  padding: 8px 15px;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.pf-go:hover {
  background: color-mix(in srgb, var(--accent-color, #2563eb), #000 18%);
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 420px) {
  .pf-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .pf-img {
    min-height: 180px;
  }
}

/* ---- dailong_front_end/partials/product_sidebar.blade.php:119  [dung chung] ---- */
.ps-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ps-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 18px 20px;
}

.ps-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-title i {
  color: #2563eb;
}

.ps-hint {
  font-size: .76rem;
  color: #8493ad;
  margin: 10px 0 0;
  line-height: 1.5;
}

.ps-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.ps-more:hover {
  text-decoration: underline;
}

.ps-more i {
  font-size: .72rem;
}

.ps-search-form {
  display: flex;
  border: 1.5px solid #dfe6f2;
  border-radius: 11px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.ps-search-form:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.ps-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 11px 13px;
  font-size: .9rem;
  color: #334155;
  background: transparent;
  outline: none;
}

.ps-search-form button {
  border: 0;
  background: #2563eb;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  transition: background .2s;
}

.ps-search-form button:hover {
  background: #1d4ed8;
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ps-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

.ps-thumb {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 62px;
  border-radius: 9px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.ps-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ps-item:hover .ps-thumb img {
  transform: scale(1.07);
}

.ps-thumb-blank {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.15rem;
  background: #f8fafc;
}

.ps-sale {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #ef4444;
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.ps-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ps-name {
  font-size: .875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ps-item:hover .ps-name {
  color: #2563eb;
}

.ps-price {
  font-size: .85rem;
  color: #dc2626;
  font-weight: 700;
}

.ps-price del {
  color: #94a3b8;
  font-weight: 400;
  font-size: .75rem;
  margin-left: 5px;
}

.ps-price em {
  font-style: normal;
  color: #64748b;
  font-weight: 600;
  font-size: .8rem;
}

.ps-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: .74rem;
  color: #94a3b8;
}

.ps-meta i {
  align-self: center;
}

.ps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ps-chips a {
  font-size: .78rem;
  color: #43506b;
  text-decoration: none;
  border: 1px solid #e2e8f4;
  border-radius: 999px;
  padding: 5px 11px;
  background: #f7f9fd;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.ps-chips a:hover {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
}

.ps-fb {
  background: linear-gradient(135deg, #eaf1ff, #f7faff);
  border-color: #d7e4fb;
}

.ps-fb .ps-title {
  border-bottom-color: #dbe6fb;
  color: #1877f2;
}

.ps-fb .ps-title i {
  color: #1877f2;
}

.ps-fb-text {
  font-size: .85rem;
  color: #43506b;
  line-height: 1.55;
  margin: 0 0 14px;
}

.ps-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 18px -12px rgba(24, 119, 242, .9);
  transition: background .2s, transform .2s;
}

.ps-fb-btn:hover {
  background: #0f5fcc;
  color: #fff;
  transform: translateY(-2px);
}


/* ---- dailong_front_end/partials/thumb_ph.blade.php:6  [dung chung] ---- */
/* Card không có ảnh thật (rất nhiều bài viết cũ trỏ tới thư mục đã xoá) -> dải màu thay ảnh */
.dl-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  overflow: hidden;
  transition: transform .5s ease;
}

/* Khối chứa placeholder phải là neo định vị; khai báo ngay đây để không phải sửa từng trang dùng card */
.dl-img, .dl-mini-img, .cc-thumb, .cc-lead-img, .pd-img, .mhn-img-wrap a,
    .g-thumb, .g-top-thumb, .ic-thumb, .cs-cell, .sb-thumb, .rel-thumb, .rp-thumb,
    .gc-figure, .ds-near-thumb {
  position: relative;
}

.dl-ph::before {
  content: "";
  position: absolute;
  top: -95%;
  right: -40%;
  width: 150%;
  padding-bottom: 150%;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.dl-ph i {
  position: relative;
  font-size: 2rem;
  opacity: .92;
}

.dl-ph em {
  position: relative;
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  max-width: 86%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .92;
}

/* ô thumb nhỏ (sidebar, danh sách nằm ngang) chỉ cần biểu tượng */
.dl-ph.sm {
  gap: 0;
}

.dl-ph.sm i {
  font-size: 1.15rem;
}

.dl-ph.sm em {
  display: none;
}

.dl-ph.tone-0 {
  background: linear-gradient(135deg, #175cdd, #4f8bff 55%, #7cc0ff);
}

.dl-ph.tone-1 {
  background: linear-gradient(135deg, #0f766e, #14b8a6 60%, #5eead4);
}

.dl-ph.tone-2 {
  background: linear-gradient(135deg, #6d28d9, #a855f7 60%, #e0b3ff);
}

.dl-ph.tone-3 {
  background: linear-gradient(135deg, #b45309, #f59e0b 60%, #fcd34d);
}

.dl-ph.tone-4 {
  background: linear-gradient(135deg, #be123c, #f43f5e 60%, #fda4af);
}


/* ---- dailong_front_end/partials/zoom_style.blade.php:7  [dung chung] ---- */
.dlz {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.dlz-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: .9rem;
  line-height: 1;
  background: rgba(15, 23, 42, .58);
  color: #fff;
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.dlz:hover .dlz-zoom, .dlz:focus-visible .dlz-zoom {
  opacity: 1;
  transform: none;
}

/* Màn hình cảm ứng không có hover nên luôn hiện badge */
@media (hover: none) {
  .dlz-zoom {
    opacity: 1;
  }
}
/* Ô ảnh nhỏ (sidebar, danh sách ảnh kề) thì thu badge gọn lại */
.dlz--sm .dlz-zoom {
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  font-size: .68rem;
  border-radius: 7px;
}

/* Thanh chú thích của GLightbox để kiểu chữ tiếng Việt rõ hơn mặc định */
.gslide-description .gslide-title {
  color: #fff;
  font-weight: 600;
}


/* ---- vendor/pagination/dl.blade.php:9  [dung chung] ---- */
.dl-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 30px;
}

.dl-pager__count {
  margin: 0;
  font-size: .84rem;
  color: #8493ad;
  margin-right: auto;
}

.dl-pager__count strong {
  color: #175cdd;
  font-weight: 700;
}

.dl-pager__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-pager__list li > a,
      .dl-pager__list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #dfe6f1;
  border-radius: 11px;
  background: #fff;
  color: #334155;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.dl-pager__list li > a:hover {
  color: #fff;
  background: #175cdd;
  border-color: #175cdd;
  transform: translateY(-3px);
  box-shadow: 0 10px 18px -10px rgba(23, 92, 221, .75);
}

.dl-pager__list li.is-active > span {
  color: #fff;
  background: linear-gradient(135deg, #175cdd, #3b82f6);
  border-color: transparent;
  box-shadow: 0 8px 16px -9px rgba(23, 92, 221, .9);
  cursor: default;
}

.dl-pager__list li.is-disabled > span {
  color: #b6c3da;
  background: #f6f8fb;
  border-color: #eaf0f7;
  cursor: not-allowed;
}

.dl-pager__list li.is-dots > span {
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
  min-width: 22px;
  padding: 0;
  letter-spacing: 1px;
}

.dl-pager__list .dl-pager__edge i {
  font-size: 1.05rem;
}

@media (max-width: 575.98px) {
  .dl-pager {
    justify-content: center;
  }

  .dl-pager__count {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  .dl-pager__list li > a, .dl-pager__list li > span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 9px;
  }
}

/* ---- dailong_front_end/cate_list.blade.php:14  [dlp-cate-list] ---- */
.cate-wrap {
  margin-top: 160px;
  margin-bottom: 70px;
}

.cc-cates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
}

.cc-cates a {
  font-size: .8rem;
  font-weight: 600;
  color: #43506b;
  text-decoration: none;
  border: 1px solid #dde5f2;
  border-radius: 999px;
  padding: 5px 13px;
  background: #fff;
  transition: all .22s ease;
}

.cc-cates a:hover {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

/* Bài đầu tiên của danh sách: card lớn nằm ngang */
.cc-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--surface-color);
  border: 1px solid #e6ebf5;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px -24px rgba(17,35,68,.6);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.cc-lead:hover {
  transform: translateY(-3px);
  border-color: #cfd9ec;
  box-shadow: 0 26px 46px -28px rgba(17,35,68,.45);
}

.cc-lead-img {
  position: relative;
  display: block;
  min-height: 262px;
  background: #eef2f9;
  overflow: hidden;
}

.cc-lead-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.cc-lead:hover .cc-lead-img img {
  transform: scale(1.06);
}

.dlp-cate-list .cc-lead:hover .cc-lead-img .dl-ph {
  transform: scale(1.06);
}

.dlp-cate-list .cc-lead-img .dl-ph i {
  font-size: 2.6rem;
}

.cc-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 25%));
}

.cc-lead-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
}

.cc-cat {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent-color);
}

.cc-lead-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 9px 0 12px;
}

.cc-lead-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color .22s ease;
}

.cc-lead:hover .cc-lead-title a {
  color: var(--accent-color);
}

.cc-desc {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-lead-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cc-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
}

.cc-read i {
  transition: transform .25s ease;
}

.cc-read:hover i {
  transform: translateX(4px);
}

/* Các bài còn lại: card đồng nhất */
.cc-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cc-card:hover {
  transform: translateY(-5px);
  border-color: #cfd9ec;
  box-shadow: 0 22px 40px -28px rgba(17,35,68,.45);
}

.cc-thumb {
  position: relative;
  display: block;
  height: 158px;
  background: #eef2f9;
  overflow: hidden;
}

.cc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.dlp-cate-list .cc-card:hover .cc-thumb img, .dlp-cate-list .cc-card:hover .cc-thumb .dl-ph {
  transform: scale(1.07);
}

.cc-card-body {
  padding: 15px 16px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cc-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 7px 0 8px;
}

.cc-title a {
  color: var(--heading-color);
  text-decoration: none;
  line-height: 1.45;
  transition: color .22s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-card:hover .cc-title a {
  color: var(--accent-color);
}

.cc-card .cc-desc {
  font-size: .85rem;
  -webkit-line-clamp: 2;
  margin-bottom: 14px;
}

.cc-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  color: #8493ad;
  margin-top: auto;
}

.cc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cc-empty {
  text-align: center;
  padding: 46px 20px;
  border: 1px dashed #d7e0ef;
  border-radius: 16px;
  background: #fafbff;
}

.cc-empty i {
  font-size: 2rem;
  color: #b6c3da;
}

.cc-empty p {
  color: #64748b;
  margin: 12px 0 18px;
}

@media (max-width: 767.98px) {
  .cc-lead {
    grid-template-columns: 1fr;
  }

  .cc-lead-img {
    min-height: 200px;
  }

  .cc-lead-body {
    padding: 18px 18px 20px;
  }

  .cc-lead-title {
    font-size: 1.18rem;
  }

  .cc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- dailong_front_end/gallery_index.blade.php:14  [dlp-gallery-index] ---- */
.gallery-wrap {
  margin-top: 160px;
  margin-bottom: 60px;
}

.g-sidebar {
  position: sticky;
  top: 100px;
}

.g-side-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.g-side-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.g-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.g-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid;
  border-color: color-mix(in srgb, var(--dl-ac, #2563eb), transparent 72%);
  background: color-mix(in srgb, var(--dl-ac, #2563eb), transparent 94%);
  color: var(--dl-ac, #334155);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.g-tag:hover {
  background: var(--dl-ac, #2563eb);
  color: #fff;
  transform: translateY(-2px);
}

.g-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.g-top-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.g-top-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.g-top-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-top-info {
  min-width: 0;
  text-decoration: none;
}

.g-top-name {
  font-size: .85rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-top-item:hover .g-top-name {
  color: #2563eb;
}

.g-top-views {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 3px;
}


/* ---- dailong_front_end/home.blade.php:9  [dlp-home] ---- */
/* ================= 1. CẤU TRÚC FLEXBOX (EQUAL HEIGHT) ================= */
.dlp-home .mhn-slide.owl-carousel .owl-stage {
  display: flex;
  padding-top: 10px;
  padding-bottom: 15px;
}

.dlp-home .mhn-slide.owl-carousel .owl-item {
  display: flex;
  flex: 1 0 auto;
}

.dlp-home .mhn-slide .mhn-item {
  width: 100%;
  display: flex;
  padding: 0 8px;
}

/* ================= 2. KHUNG THẺ CARD PHẲNG HIỆN ĐẠI ================= */
.dlp-home .mhn-slide .mhn-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dlp-home .mhn-slide .mhn-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* ================= 3. KHUNG HÌNH ẢNH ================= */
.dlp-home .mhn-slide .mhn-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f8fafc;
  position: relative;
}

.dlp-home .mhn-slide .mhn-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.dlp-home .mhn-slide .mhn-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.dlp-home .mhn-slide .mhn-inner:hover .mhn-img-wrap img {
  transform: scale(1.05);
}

/* ================= 4. KHUNG VĂN BẢN ================= */
.dlp-home .mhn-slide .mhn-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 18px;
}

.dlp-home .mhn-slide .mhn-title {
  text-decoration: none;
  color: #0f172a;
  transition: color 0.2s ease;
}

.dlp-home .mhn-slide .mhn-title h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.dlp-home .mhn-slide .mhn-title:hover, .dlp-home .mhn-slide .mhn-title:hover h4 {
  color: #2563eb !important;
}

.dlp-home .mhn-slide .mhn-text p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= 5. NÚT ĐIỀU HƯỚNG SLIDER ================= */
.dlp-home .mhn-slide .owl-nav {
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  height: 0;
  pointer-events: none;
  z-index: 10;
}

.dlp-home .mhn-slide .owl-prev, .dlp-home .mhn-slide .owl-next {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.2s ease !important;
}

.dlp-home .mhn-slide .owl-prev {
  left: -15px;
}

.dlp-home .mhn-slide .owl-next {
  right: -15px;
}

.dlp-home .mhn-slide .owl-prev:hover, .dlp-home .mhn-slide .owl-next:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* ================= 6. DOTS SLIDER ================= */
.dlp-home .mhn-slide .owl-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 6px;
}

.dlp-home .mhn-slide .owl-dot {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  outline: none;
  cursor: pointer;
}

.dlp-home .mhn-slide .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dlp-home .mhn-slide .owl-dot.active span {
  width: 26px;
  background: #2563eb;
}

.dlp-home .mhn-slide .owl-dot:hover span {
  background: #94a3b8;
}

.dlp-home .mhn-slide .owl-dot.active:hover span {
  background: #2563eb;
}

/* ================= 7. LƯỚI CARD CHO KHỐI DANH MỤC / NỔI BẬT / ALBUM ================= */
.dlp-home .dl-grid .dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dlp-home .dl-grid .dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.dlp-home .dl-grid .dl-img {
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.dlp-home .dl-grid .dl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.dlp-home .dl-grid .dl-card:hover .dl-img img {
  transform: scale(1.05);
}

.dlp-home .dl-grid .dl-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 18px;
}

.dlp-home .dl-grid .dl-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dlp-home .dl-grid .dl-card:hover .dl-title {
  color: var(--dl-ac, #2563eb);
}

/* Dải màu nhận diện chủ đề hiện ra khi rê vào thẻ */
.dlp-home .dl-grid .dl-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--dl-ac, #2563eb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.dlp-home .dl-grid .dl-card:hover::after {
  transform: scaleX(1);
}

.dlp-home .dl-grid .dl-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dlp-home .dl-grid .dl-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dl-ac, #2563eb);
}

.dlp-home .dl-grid .dl-go i {
  transition: transform .25s ease;
}

.dlp-home .dl-grid .dl-card:hover .dl-go i {
  transform: translateX(4px);
}

.dl-cate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eef8;
}

.dl-cate-head h3 {
  position: relative;
  padding-left: 15px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin: 0;
  color: #112344;
}

.dl-cate-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #175cdd, #22d3ee);
}

.dl-cate-head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #175cdd;
  background: #f2f5fa;
  padding: 6px 14px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.dl-cate-head a i {
  transition: transform .25s ease;
}

.dl-cate-head a:hover {
  color: #fff;
  background: #175cdd;
  box-shadow: 0 8px 16px -9px rgba(23, 92, 221, .85);
  text-decoration: none;
}

.dl-cate-head a:hover i {
  transform: translateX(4px);
}

/* ================= 8. KHỐI NỔI BẬT: 1 BÀI LỚN (7) + 4 BÀI MINI (5) ================= */
.dlp-home .dl-feature-big .dl-img {
  height: 380px;
}

.dlp-home .dl-feature-big .dl-title {
  font-size: 1.4rem;
  -webkit-line-clamp: 3;
}

.dlp-home .dl-feature-big .dl-desc {
  font-size: 0.95rem;
  -webkit-line-clamp: 4;
}

.dl-mini {
  display: flex;
  gap: 14px;
  flex: 1 1 0;
  min-height: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dl-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -6px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.dl-mini .dl-mini-img {
  width: 120px;
  flex-shrink: 0;
  background: #f8fafc;
  overflow: hidden;
}

.dl-mini .dl-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dl-mini .dl-mini-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  min-width: 0;
}

.dl-mini .dl-mini-title {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dl-mini:hover .dl-mini-title {
  color: #2563eb;
}

.dl-mini .dl-mini-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dưới 992px hai cột 7/5 chồng lên nhau nên .h-100 không còn chiều cao của bài lớn để chia.
   flex: 1 1 0 khi đó nén 4 thẻ mini thành dải 2px (mất hẳn danh sách bài trên điện thoại),
   nên trả mỗi thẻ về kích thước theo nội dung. */
@media (max-width: 991.98px) {
  .dl-mini {
    flex: 0 0 auto;
    min-height: 84px;
  }

  .dlp-home .dl-feature-big .dl-img {
    height: 220px;
  }
}

@media (max-width: 419.98px) {
  .dl-mini .dl-mini-img {
    width: 92px;
  }
}

/* AOS đẩy fade-right/fade-left lệch 100px và chỉ trả về chỗ cũ khi cuộn tới.
   Trên màn 360-414px thì 100px bằng 1/4 bề ngang, cột văng ra ngoài khung hình nhìn như layout bị lệch,
   nên tắt hiệu ứng ngang ở khổ nhỏ (fade dọc giữ nguyên vì không dịch sang trái/phải). */
@media (max-width: 991.98px) {
  body [data-aos="fade-right"],
  body [data-aos="fade-left"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================= HEADING KHỐI BÀI VIẾT NỔI BẬT ================= */
.dlp-home #home-featured .section-title {
  padding-bottom: 40px;
}

.dlp-home #home-featured .section-title h2 {
  display: inline-block;
  position: relative;
  padding: 0 6px 18px;
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #112344;
}

/* Gạch kẻ cũ của template -> thanh gradient bo tròn */
.dlp-home #home-featured .section-title h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #175cdd, #22d3ee);
}

/* Chấm giữa thanh kẻ, thay cho vạch ngắn cũ */
.dlp-home #home-featured .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #175cdd;
}

.dlp-home #home-featured .section-title p {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: .95rem;
  color: #6b7a93;
}

/* ===== 3 ô số liệu thống kê trong Hero (điền từ cặp hero 4-6 trong admin) ===== */
.hero .hero-content .hero-stats .stat-item {
  min-width: 96px;
}

.hero .hero-content .hero-stats .stat-item .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 1rem;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-stats .stat-item {
    min-width: 0;
  }

  .hero .hero-content .hero-stats .stat-item .stat-icon {
    width: 28px;
    height: 28px;
    font-size: .85rem;
  }
}
/* ===== Khối tính năng dưới Hero (cặp hero 7..HERO_COUNT) =====
     Bản gốc padding 60px/40px tính cho 3 ô mỗi hàng; đủ 4 ô thì thu gọn để chữ không bị bóp. */
.call-to-action .features-section .feature-block.is-tight {
  padding: 42px 22px;
}

.call-to-action .features-section .feature-block.is-tight .feature-icon {
  margin-bottom: 20px;
}

.call-to-action .features-section .feature-block.is-tight .feature-icon i {
  font-size: 2.1rem;
}

.call-to-action .features-section .feature-block.is-tight h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.call-to-action .features-section .feature-block.is-tight p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block.is-tight {
    padding: 34px 24px;
  }
}

/* Từ 768px mỗi ô chiếm trọn hàng nên padding 60/40 của bản 3-ô-một-hàng để lại vùng trắng
   rất lớn phía trên biểu tượng. Rule này đặt sau rule .is-tight ở trên để thắng thứ tự ưu tiên. */
@media (max-width: 767.98px) {
  .call-to-action .features-section .feature-block {
    padding: 30px 18px;
  }

  .call-to-action .features-section .feature-block.is-tight {
    padding: 26px 16px;
  }
}

/* ---- dailong_front_end/home.blade.php:828  [dlp-home] ---- */
.three h2 {
  position: relative;
  padding: 0;
  margin-button: 80px;
  font-weight: 300;
  font-size: 40px;
  color: #00d0e3;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.three h2 span {
  display: block;
  font-size: 0.5em;
  line-height: 1.3;
}

.three h2 em {
  font-style: normal;
  font-weight: 600;
}

/* === HEADING STYLE #3 === */
.three h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}

.three h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #2d63e0;
}

.three h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 100%;
  max-width: 100%;
  background-color: #2d63e0;
}


/* ---- dailong_front_end/page_detail.blade.php:50  [dlp-page-detail] ---- */
.page-wrap {
  margin-top: 160px;
  margin-bottom: 60px;
}

.page-wrap h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 24px;
}

.page-content {
  color: #334155;
  line-height: 1.75;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

.page-content table {
  width: 100%;
  margin: 14px 0;
}

.page-content table td, .page-content table th {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
}


/* ---- dailong_front_end/post_detail.blade.php:74  [dlp-post-detail] ---- */
.pd-wrap {
  margin-top: 150px;
  margin-bottom: 60px;
}

/* Breadcrumb dùng kiểu chung khai báo trong dailong_layout */
/* Thân bài viết */
.pd-article {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 30px 32px 26px;
  box-shadow: 0 14px 34px -26px rgba(15,23,42,.35);
}

/*.pd-article::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 50px 50px 0 0; background: linear-gradient(90deg, #2563eb, #0ea5e9 45%, #22c55e); }*/
@media (max-width: 575.98px) {
  .pd-article {
    padding: 22px 16px 20px;
    border-radius: 14px;
  }
}
.pd-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pd-head h1 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin: 0;
}

@media (max-width: 767.98px) {
  .pd-head {
    display: block;
  }

  .pd-head h1 {
    font-size: 1.45rem;
  }
}
.pd-flag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}

.pd-flag:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

/* Chips thông tin */
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.pd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.pd-chip i {
  font-size: .85rem;
}

.dlp-post-detail .pd-chip.cate {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.dlp-post-detail .pd-chip.date {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #cffafe;
}

.pd-chip.view {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #dcfce7;
}

/* Ảnh đại diện */
.pd-thumb {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  padding: 10px;
  margin-bottom: 24px;
}

.pd-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 470px;
  border-radius: 9px;
}

/* Sapo */
.dlp-post-detail .pd-intro {
  font-size: 1.06rem;
  color: #334155;
  line-height: 1.7;
  background: linear-gradient(90deg, #eff6ff, #f8fafc);
  border-left: 4px solid #2563eb;
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin-bottom: 26px;
  font-style: italic;
}

/* Nội dung */
.pd-content {
  color: #334155;
  line-height: 1.8;
  font-size: 1.02rem;
}

.pd-content > *:first-child {
  margin-top: 0;
}

.pd-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 34px 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.pd-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 74px;
  height: 2px;
  background: #2563eb;
}

.pd-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1d4ed8;
  margin: 28px 0 12px;
}

.pd-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
  margin: 22px 0 10px;
}

.pd-content a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid #bfdbfe;
  transition: color .2s, border-color .2s;
}

.pd-content a:hover {
  color: #1e40af;
  border-bottom-color: #1e40af;
}

.pd-content ul, .pd-content ol {
  padding-left: 22px;
  margin: 14px 0;
}

.pd-content li {
  margin: 6px 0;
}

.pd-content ul li::marker {
  color: #2563eb;
}

.pd-content ol li::marker {
  color: #2563eb;
  font-weight: 700;
}

.pd-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: #f8fafc;
  border-left: 4px solid #0ea5e9;
  border-radius: 0 10px 10px 0;
  color: #475569;
  font-style: italic;
}

.pd-content pre, .pd-content code {
  background: #f1f5f9;
  color: #be123c;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: .92em;
}

.pd-content pre {
  padding: 14px;
  overflow-x: auto;
}

.pd-content pre code {
  background: none;
  padding: 0;
  color: #334155;
}

.pd-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 14px 0;
  border: 1px solid #eef2f7;
}

.pd-content figure {
  margin: 18px 0;
}

.pd-content figcaption, .pd-content .caption {
  text-align: center;
  font-size: .85rem;
  color: #64748b;
  margin-top: -6px;
}

.pd-content table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: .95rem;
}

.pd-content table th {
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
}

.pd-content table td, .pd-content table th {
  border: 1px solid #dbeafe;
  padding: 9px 12px;
}

.pd-content table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.pd-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, transparent);
  margin: 28px 0;
}

/* Thẻ */
.pd-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.pd-tags .tags-label {
  font-size: .9rem;
  font-weight: 700;
  color: #334155;
  margin-right: 4px;
}

.dlp-post-detail .pd-tags .tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  font-size: .82rem;
  text-decoration: none;
  transition: background .25s, color .25s;
}

.dlp-post-detail .pd-tags .tag-chip:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* Bài viết liên quan */
.related-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 46px 0 20px;
  padding-left: 13px;
  border-left: 4px solid #2563eb;
}

.dlp-post-detail .dl-grid .dl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dlp-post-detail .dl-grid .dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(37,99,235,.16);
  border-color: #bfdbfe;
}

.dlp-post-detail .dl-grid .dl-img {
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.dlp-post-detail .dl-grid .dl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.dlp-post-detail .dl-grid .dl-card:hover .dl-img img {
  transform: scale(1.05);
}

.dlp-post-detail .dl-grid .dl-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 18px;
}

.dlp-post-detail .dl-grid .dl-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dlp-post-detail .dl-grid .dl-card:hover .dl-title {
  color: #2563eb;
}

.dlp-post-detail .dl-grid .dl-desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ---- dailong_front_end/post_detail_product.blade.php:69  [dlp-post-detail-product] ---- */
.pdp-wrap {
  margin-top: 150px;
  margin-bottom: 60px;
}

.pdp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
}

/* Gallery */
.pdp-stage {
  position: relative;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.pdp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(239,68,68,.7);
}

.pdp-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,.9);
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: .8rem;
  cursor: pointer;
}

.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(15,23,42,.4);
  transition: .2s;
}

.pdp-nav:hover {
  background: #2563eb;
  color: #fff;
}

.dlp-post-detail-product .pdp-nav.prev {
  left: 12px;
}

.dlp-post-detail-product .pdp-nav.next {
  right: 12px;
}

.dlp-post-detail-product .pdp-nav[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.pdp-count {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15,23,42,.6);
  color: #fff;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.pdp-thumb {
  border: 2px solid #eef2f7;
  background: #f8fafc;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color .2s, transform .2s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.pdp-thumb:hover {
  transform: translateY(-2px);
}

.dlp-post-detail-product .pdp-thumb.active {
  border-color: #2563eb;
}

/* Info */
.pdp-cat {
  font-size: .85rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 8px;
}

.pdp-cat a {
  color: #2563eb;
  text-decoration: none;
}

.pdp-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  margin: 0 0 12px;
}

.pdp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .85rem;
  color: #64748b;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
}

.pdp-stars {
  color: #f59e0b;
}

.pdp-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.pdp-sale {
  font-size: 2rem;
  font-weight: 800;
  color: #ef4444;
}

.pdp-origin {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pdp-off {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
  font-weight: 700;
  font-size: .8rem;
  padding: 3px 10px;
  border-radius: 8px;
}

.pdp-save {
  font-size: .85rem;
  color: #16a34a;
  margin-bottom: 18px;
}

/* Sản phẩm chưa nhập giá: thay khối giá bằng nhãn "Liên hệ báo giá" + ghi chú,
   để trống giá là hợp lệ nên trang không được hiện 0đ hay để trống hoàn toàn */
.pdp-ask {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.pdp-ask-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-color, #2563eb);
  background: color-mix(in srgb, var(--accent-color, #2563eb), transparent 92%);
  border-radius: 10px;
  padding: 7px 14px;
}

.pdp-ask-note {
  font-size: .82rem;
  color: #64748b;
}

.pdp-intro {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pdp-feat {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.pdp-feat li {
  font-size: .88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-feat i {
  color: #16a34a;
}

.pdp-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.pdp-qty button {
  width: 40px;
  height: 46px;
  border: none;
  background: #f8fafc;
  font-size: 1.1rem;
  color: #334155;
  cursor: pointer;
}

.pdp-qty button:hover {
  background: #eef2f7;
}

.pdp-qty input {
  width: 52px;
  height: 46px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pdp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: .2s;
}

.pdp-btn-cart {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.pdp-btn-cart:hover {
  background: #eff6ff;
}

.pdp-btn-buy {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37,99,235,.7);
}

.pdp-btn-buy:hover {
  filter: brightness(1.05);
}

.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dlp-post-detail-product .pdp-tags .tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-size: .8rem;
  text-decoration: none;
  transition: .2s;
}

.dlp-post-detail-product .pdp-tags .tag-chip:hover {
  background: #2563eb;
  color: #fff;
}

/* Description + related */
.pdp-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 40px 0 18px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
}

.pdp-content {
  color: #334155;
  line-height: 1.8;
}

.pdp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}

.pdp-content table {
  width: 100%;
  margin: 14px 0;
}

.pdp-content td, .pdp-content th {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
}

/* Lightbox */
.pdp-lb {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.dlp-post-detail-product .pdp-lb.open {
  display: flex;
}

.pdp-lb img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
}

.pdp-lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.pdp-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.14);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.pdp-lb-nav:hover {
  background: rgba(255,255,255,.28);
}

.dlp-post-detail-product .pdp-lb-nav.prev {
  left: 24px;
}

.dlp-post-detail-product .pdp-lb-nav.next {
  right: 24px;
}

.pdp-lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #e2e8f0;
  font-size: .9rem;
}

/* Toast */
.pdp-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 2100;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}

.dlp-post-detail-product .pdp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pdp-related {
  margin-top: 48px;
}

/* Order modal */
.pdp-modal {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.55);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dlp-post-detail-product .pdp-modal.open {
  display: flex;
}

.pdp-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  box-shadow: 0 25px 60px -20px rgba(2,6,23,.6);
  animation: pdpPop .25s ease;
}

@keyframes pdpPop {
  from {
    transform: translateY(14px) scale(.98);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.pdp-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.pdp-modal-close:hover {
  color: #0f172a;
}

.pdp-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.pdp-modal-prod {
  font-size: .88rem;
  color: #64748b;
  margin: 0 0 18px;
}

.pdp-field {
  margin-bottom: 14px;
}

.pdp-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.dlp-post-detail-product .pdp-field label .req {
  color: #ef4444;
}

.pdp-field input, .pdp-field textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: .95rem;
  color: #0f172a;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.pdp-field textarea {
  resize: vertical;
  min-height: 64px;
}

.pdp-field input:focus, .pdp-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.pdp-err {
  color: #ef4444;
  font-size: .78rem;
  margin-top: 5px;
  display: none;
}

.dlp-post-detail-product .pdp-err.show {
  display: block;
}

.pdp-hp {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}

.pdp-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 6px;
  transition: .2s;
}

.pdp-submit:hover {
  filter: brightness(1.05);
}

.dlp-post-detail-product .pdp-submit[disabled] {
  opacity: .7;
  cursor: wait;
}

.pdp-modal-note {
  font-size: .75rem;
  color: #94a3b8;
  text-align: center;
  margin: 12px 0 0;
}

.pdp-ok {
  text-align: center;
  padding: 8px 0;
}

.dlp-post-detail-product .pdp-ok .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pdp-ok h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1.2rem;
}

.pdp-ok p {
  color: #475569;
  font-size: .92rem;
  margin: 0 0 4px;
}

.dlp-post-detail-product .pdp-ok .code {
  display: inline-block;
  margin: 10px 0 18px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
}

.dlp-post-detail-product input::-webkit-outer-spin-button, .dlp-post-detail-product input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.dlp-post-detail-product input[type=number] {
  -moz-appearance: textfield;
}


/* ---- dailong_front_end/product_list.blade.php:13  [dlp-product-list] ---- */
.shop-wrap {
  margin-top: 160px;
  margin-bottom: 70px;
}

.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--surface-color);
  border: 1px solid #e6ebf5;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.shop-count {
  font-size: .92rem;
  color: #64748b;
}

.shop-count b {
  color: var(--heading-color);
  font-size: 1.12rem;
}

.shop-sale {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 12px;
  font-size: .84rem;
  font-weight: 600;
  color: #b42318;
}

.shop-sorts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-sorts a {
  font-size: .8rem;
  font-weight: 600;
  color: #43506b;
  text-decoration: none;
  border: 1px solid #dde5f2;
  border-radius: 9px;
  padding: 6px 12px;
  background: #f8fafd;
  transition: all .2s ease;
}

.shop-sorts a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.dlp-product-list .shop-sorts a.on,
.dlp-gallery-index .shop-sorts a.on {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* ---- dailong_front_end/gallery_index.blade.php:35  [dlp-gallery-index] ---- */
.dlp-gallery-index .shop-sorts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dlp-gallery-index .shop-sorts a i {
  font-size: .95rem;
  line-height: 1;
}

.gallery-sort-bar {
  margin: 4px 0 26px;
}

.shop-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #64748b;
}

.shop-intro {
  font-size: .96rem;
  color: #64748b;
  margin: 10px 0 0;
  line-height: 1.65;
}

.shop-intro b {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 1.06rem;
}

/* Lưới 2 cột vì danh sách sản phẩm nằm trong col-lg-8 cạnh cột phải */
.shop-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pd-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #22c55e 55%));
  transition: transform .35s ease;
}

.pd-card:hover {
  transform: translateY(-6px);
  border-color: #cfd9ec;
  box-shadow: 0 26px 44px -28px rgba(17,35,68,.5);
}

.pd-card:hover::after {
  transform: scaleX(1);
}

.pd-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef2f9;
  overflow: hidden;
}

.pd-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.dlp-product-list .pd-card:hover .pd-img img, .dlp-product-list .pd-card:hover .pd-img .dl-ph {
  transform: scale(1.08);
}

.pd-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: .74rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #dc2626);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 6px 14px -8px rgba(220,38,38,.9);
}

.pd-cat {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 24px 12px 9px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(17,35,68,.82), transparent);
}

.pd-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 17px;
}

.pd-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
}

.pd-title a {
  color: var(--heading-color);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}

.pd-card:hover .pd-title a {
  color: var(--accent-color);
}

.dlp-product-list .pd-intro {
  font-size: .82rem;
  line-height: 1.6;
  color: #78859c;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pd-now {
  font-size: 1.16rem;
  font-weight: 800;
  color: #dc2626;
}

.pd-was {
  font-size: .82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pd-ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 8px;
  padding: 4px 10px;
}

.pd-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed #e8eef8;
  padding-top: 12px;
  font-size: .76rem;
  color: #8493ad;
}

.pd-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  text-decoration: none;
  background: var(--accent-color);
  border-radius: 999px;
  padding: 7px 14px;
  transition: background .25s ease, transform .25s ease;
}

.pd-go:hover {
  background: color-mix(in srgb, var(--accent-color), #000 18%);
  color: #fff;
  transform: translateX(2px);
}

/* Tiêu đề ngăn cách khối nổi bật với lưới sản phẩm (kiểu riêng của trang, không phụ thuộc CSS bộ sưu tập) */
.shop-rest-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--heading-color);
}

.shop-rest-title::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-color);
}

.shop-empty {
  text-align: center;
  padding: 52px 20px;
  border: 1px dashed #d7e0ef;
  border-radius: 16px;
  background: #fafbff;
}

.shop-empty i {
  font-size: 2.1rem;
  color: #b6c3da;
}

.shop-empty p {
  color: #64748b;
  margin: 12px 0 18px;
}

@media (max-width: 575.98px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- dailong_front_end/search.blade.php:29  [dlp-search] ---- */
.search-wrap {
  margin-top: 150px;
  margin-bottom: 60px;
}

.search-hero {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 30px;
}

.search-hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.search-hero .sh-sub {
  color: #64748b;
  font-size: .92rem;
  margin: 0 0 18px;
}

.search-hero .sh-sub b {
  color: #2563eb;
}

.search-bar {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  max-width: 640px;
}

.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  font-size: .95rem;
}

.search-bar button {
  border: 0;
  background: #2563eb;
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-bar button:hover {
  background: #1d4ed8;
}

.res-block {
  margin-top: 38px;
}

.res-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
}

.res-head .res-count {
  font-size: .85rem;
  font-weight: 600;
  color: #64748b;
}

.type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  text-decoration: none;
  transition: .25s;
  color: var(--dl-ac, #2563eb);
  border: 1px solid color-mix(in srgb, var(--dl-ac, #2563eb) 32%, #fff);
  background: color-mix(in srgb, var(--dl-ac, #2563eb) 10%, #fff);
}

.type-chip:hover {
  background: var(--dl-ac, #2563eb);
  color: #fff;
  border-color: var(--dl-ac, #2563eb);
}

.dlp-search .dl-grid .dl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.dlp-search .dl-grid .dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(15,23,42,.08);
  border-color: #cbd5e1;
}

.dlp-search .dl-grid .dl-img {
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
}

.dlp-search .dl-grid .dl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s;
}

.dlp-search .dl-grid .dl-card:hover .dl-img img {
  transform: scale(1.05);
}

.dlp-search .dl-grid .dl-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 18px;
}

.dlp-search .dl-grid .dl-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dlp-search .dl-grid .dl-card:hover .dl-title {
  color: #2563eb;
}

.dlp-search .dl-grid .dl-desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-empty {
  color: #64748b;
  font-size: .95rem;
}

.res-empty a {
  color: #2563eb;
}

/* Tab lọc theo nhóm kết quả: bấm vào là nhóm đó được phân trang đầy đủ */
.res-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.res-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #dfe6f1;
  background: #fff;
  color: #334155;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.res-tabs a:hover {
  color: #fff;
  background: #175cdd;
  border-color: #175cdd;
}

.dlp-search .res-tabs li.is-active a {
  color: #fff;
  background: linear-gradient(135deg, #175cdd, #3b82f6);
  border-color: transparent;
}

.res-tabs a small {
  font-weight: 600;
  opacity: .8;
}

.res-more {
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
}

.res-more a {
  color: #175cdd;
  text-decoration: none;
}

.res-more a:hover {
  text-decoration: underline;
}


/* ---- dailong_front_end/site_account.blade.php:25  [dlp-site-account] ---- */
.acc-wrap {
  margin-top: 150px;
  margin-bottom: 60px;
}

.acc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.acc-head h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.dlp-site-account .acc-head .hello {
  color: #64748b;
  font-size: .92rem;
  margin: 4px 0 0;
}

.badge-perm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.dlp-site-account .badge-status.ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.dlp-site-account .badge-status.off {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.dlp-site-account .acc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
  height: 100%;
}

.acc-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f7;
}

.acc-field {
  margin-bottom: 18px;
}

.acc-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}

.dlp-site-account .acc-label .req {
  color: #dc2626;
}

.dlp-site-account .acc-label .opt {
  color: #94a3b8;
  font-weight: 400;
  font-size: .8rem;
}

.acc-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .93rem;
  color: #0f172a;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.acc-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}

.dlp-site-account .acc-input.is-invalid {
  border-color: #dc2626;
}

.acc-error {
  display: block;
  color: #dc2626;
  font-size: .8rem;
  margin-top: 6px;
}

.dlp-site-account .acc-hint {
  color: #94a3b8;
  font-size: .78rem;
  margin-top: 5px;
}

.dlp-site-account .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-account .dt-btn-primary {
  background: #2563eb;
  color: #fff;
}

.dlp-site-account .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.dlp-site-account .dt-btn-ghost {
  background: #f1f5f9;
  color: #334155;
}

.dlp-site-account .dt-btn-ghost:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.xu-balance {
  background: linear-gradient(135deg,#2563eb,#1e40af);
  border-radius: 14px;
  padding: 20px 22px;
  color: #fff;
  margin-bottom: 20px;
}

.dlp-site-account .xu-balance .label {
  font-size: .82rem;
  opacity: .85;
  margin: 0 0 4px;
}

.dlp-site-account .xu-balance .value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.dlp-site-account .xu-balance .value small {
  font-size: .9rem;
  font-weight: 600;
  opacity: .85;
}

.dlp-site-account .xu-balance .money {
  font-size: .85rem;
  opacity: .9;
  margin: 6px 0 0;
}

.xu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: .9rem;
}

.xu-row:last-of-type {
  border-bottom: 0;
}

.dlp-site-account .xu-row .k {
  color: #64748b;
}

.dlp-site-account .xu-row .v {
  color: #0f172a;
  font-weight: 700;
}

.rule-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 12px;
}

.rule-item i {
  color: #2563eb;
  margin-top: 3px;
  flex-shrink: 0;
}

.rule-item b {
  color: #0f172a;
}

.acc-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: .9rem;
  margin-bottom: 22px;
}

.acc-alert i {
  margin-top: 2px;
}

.acc-last {
  font-size: .82rem;
  color: #94a3b8;
  margin-top: 14px;
}

.acc-ava {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.acc-ava .who {
  min-width: 0;
}

.dlp-site-account .acc-ava .who .name {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.02rem;
}

.acc-ava .who .mail {
  color: #64748b;
  font-size: .86rem;
  word-break: break-all;
}

.acc-file {
  width: 100%;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: .88rem;
  color: #334155;
  background: #f8fafc;
}

.acc-file:focus {
  outline: none;
  border-color: #2563eb;
}

.acc-preview {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
  display: none;
}

@media (max-width: 991px) {
  .dlp-site-account .acc-wrap {
    margin-top: 120px;
  }

  .dlp-site-account .acc-card {
    padding: 22px;
  }
}

/* ---- dailong_front_end/site_forgot_password.blade.php:18  [dlp-site-forgot-password] ---- */
.dlp-site-forgot-password .acc-login {
  max-width: 520px;
  margin: 0 auto;
}

.dlp-site-forgot-password .acc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 34px 32px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
}

.dlp-site-forgot-password .acc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.dlp-site-forgot-password .acc-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
}

.acc-sub {
  color: #64748b;
  font-size: .92rem;
  margin: 0 0 24px;
}

.dlp-site-forgot-password .acc-label .req {
  color: #dc2626;
}

.dlp-site-forgot-password .acc-input.is-invalid {
  border-color: #dc2626;
}

.dlp-site-forgot-password .acc-hint {
  font-size: .82rem;
  color: #64748b;
  margin-top: 6px;
}

.dlp-site-forgot-password .acc-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: #475569;
  margin: -6px 0 22px;
}

.acc-check input {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  cursor: pointer;
}

.dlp-site-forgot-password .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-forgot-password .dt-btn-primary {
  background: #2563eb;
  color: #fff;
}

.dlp-site-forgot-password .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.dt-btn-block {
  width: 100%;
}

.acc-foot {
  margin-top: 18px;
  font-size: .9rem;
  color: #64748b;
  text-align: center;
}

.acc-foot a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.acc-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .dlp-site-forgot-password .acc-wrap {
    margin-top: 120px;
  }

  .dlp-site-forgot-password .acc-card {
    padding: 24px 20px;
  }
}

/* ---- dailong_front_end/site_login.blade.php:18  [dlp-site-login] ---- */
.dlp-site-login .acc-login {
  max-width: 460px;
  margin: 0 auto;
}

.dlp-site-login .acc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 34px 32px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
}

.dlp-site-login .acc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.dlp-site-login .acc-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
}

.dlp-site-login .acc-label .req {
  color: #dc2626;
}

.dlp-site-login .acc-input.is-invalid {
  border-color: #dc2626;
}

.dlp-site-login .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-login .dt-btn-primary {
  background: #2563eb;
  color: #fff;
}

.dlp-site-login .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.acc-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: #475569;
  margin-bottom: 22px;
}

.acc-remember input {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  cursor: pointer;
}

@media (max-width: 575px) {
  .dlp-site-login .acc-wrap {
    margin-top: 120px;
  }

  .dlp-site-login .acc-card {
    padding: 24px 20px;
  }
}

/* ---- dailong_front_end/site_register.blade.php:18  [dlp-site-register] ---- */
.dlp-site-register .acc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
}

.dlp-site-register .acc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.dlp-site-register .acc-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
}

.dlp-site-register .acc-label .req {
  color: #dc2626;
}

.dlp-site-register .acc-label .opt {
  color: #94a3b8;
  font-weight: 400;
  font-size: .8rem;
}

.dlp-site-register .acc-input.is-invalid {
  border-color: #dc2626;
}

.dlp-site-register .acc-hint {
  color: #94a3b8;
  font-size: .78rem;
  margin-top: 5px;
}

.dlp-site-register .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-register .dt-btn-primary {
  background: #2563eb;
  color: #fff;
}

.dlp-site-register .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.acc-aside {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 28px;
  height: 100%;
}

.acc-aside h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.acc-perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.acc-perk:last-child {
  margin-bottom: 0;
}

.acc-perk .ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef2ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dlp-site-register .acc-perk .t {
  font-size: .92rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 2px;
}

.dlp-site-register .acc-perk .d {
  font-size: .84rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 991px) {
  .dlp-site-register .acc-wrap {
    margin-top: 120px;
  }

  .dlp-site-register .acc-card, .dlp-site-register .acc-aside {
    padding: 22px;
  }
}

/* ---- dailong_front_end/site_reset_password.blade.php:18  [dlp-site-reset-password] ---- */
.dlp-site-reset-password .acc-login {
  max-width: 520px;
  margin: 0 auto;
}

.dlp-site-reset-password .acc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 34px 32px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
}

.dlp-site-reset-password .acc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 10px;
}

.dlp-site-reset-password .acc-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
}

.dlp-site-reset-password .acc-label .req {
  color: #dc2626;
}

.dlp-site-reset-password .acc-input.is-invalid {
  border-color: #dc2626;
}

.dlp-site-reset-password .acc-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: #475569;
  margin-top: 10px;
}

.dlp-site-reset-password .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-reset-password .dt-btn-primary {
  background: #2563eb;
  color: #fff;
}

.dlp-site-reset-password .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 575px) {
  .dlp-site-reset-password .acc-wrap {
    margin-top: 120px;
  }

  .dlp-site-reset-password .acc-card {
    padding: 24px 20px;
  }
}

/* ---- dailong_front_end/site_topup.blade.php:29  [dlp-site-topup] ---- */
.tp-wrap {
  margin-top: 150px;
  margin-bottom: 60px;
}

.tp-head h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.dlp-site-topup .tp-head .hello {
  color: #64748b;
  font-size: .92rem;
  margin: 0;
}

.dlp-site-topup .tp-head .hello b {
  color: #2563eb;
}

.tp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.25);
  height: 100%;
}

.tp-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eef2f7;
}

.tp-card-title i {
  color: #2563eb;
  margin-right: 6px;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.pkg {
  position: relative;
  display: block;
  cursor: pointer;
}

.pkg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dlp-site-topup .pkg .box {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  transition: .2s;
  background: #fff;
}

.dlp-site-topup .pkg:hover .box {
  border-color: #93c5fd;
  background: #f8fbff;
}

.dlp-site-topup .pkg input:checked + .box {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.13);
}

.dlp-site-topup .pkg .xu {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.dlp-site-topup .pkg .money {
  display: block;
  font-size: .82rem;
  color: #64748b;
  margin-top: 2px;
}

.dlp-site-topup .pkg .tag {
  position: absolute;
  top: -9px;
  right: 8px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.dlp-site-topup .pkg input:focus-visible + .box {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.tp-field {
  margin-bottom: 16px;
}

.tp-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}

.dlp-site-topup .tp-label .opt {
  color: #94a3b8;
  font-weight: 400;
  font-size: .8rem;
}

.tp-input, .tp-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .93rem;
  color: #0f172a;
  background: #fff;
}

.tp-input:focus, .tp-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}

.dlp-site-topup .tp-input.is-invalid, .dlp-site-topup .tp-select.is-invalid {
  border-color: #dc2626;
}

.tp-error {
  display: block;
  color: #dc2626;
  font-size: .8rem;
  margin-top: 6px;
}

.tp-hint {
  color: #94a3b8;
  font-size: .79rem;
  margin-top: 6px;
}

.dlp-site-topup .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  border: 0;
  cursor: pointer;
}

.dlp-site-topup .dt-btn-primary {
  background: #2563eb;
  color: #fff;
  width: 100%;
}

.dlp-site-topup .dt-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.dlp-site-topup .dt-btn-ghost {
  background: #f1f5f9;
  color: #334155;
}

.dlp-site-topup .dt-btn-ghost:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bank-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: .88rem;
}

.dlp-site-topup .bank-row .k {
  color: #64748b;
}

.dlp-site-topup .bank-row .v {
  color: #0f172a;
  font-weight: 700;
  word-break: break-all;
}

.dlp-site-topup .bank-row .v.acc {
  font-family: SFMono-Regular, Menlo, monospace;
}

.copy-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 7px;
  padding: 2px 8px;
  font-size: .75rem;
  cursor: pointer;
}

.copy-btn:hover {
  background: #f1f5f9;
}

.qr-box {
  text-align: center;
  margin-bottom: 14px;
}

.qr-box img {
  width: 220px;
  max-width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.qr-box p {
  font-size: .79rem;
  color: #94a3b8;
  margin: 8px 0 0;
}

.pay-card {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.dlp-site-topup .pay-card .code {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #1e40af;
  font-family: SFMono-Regular, Menlo, monospace;
}

.pay-card .amt {
  font-size: .9rem;
  color: #1e3a8a;
  margin: 4px 0 0;
}

.dlp-site-topup .pay-card.done {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.dlp-site-topup .pay-card.done .code {
  color: #047857;
}

.dlp-site-topup .pay-card.done .amt {
  color: #065f46;
}

.pay-card.rej {
  border-color: #fecaca;
  background: #fef2f2;
}

.dlp-site-topup .pay-card.rej .code {
  color: #b91c1c;
}

.pay-card.rej .amt {
  color: #991b1b;
}

.st-badge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.st-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.st-confirmed {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.st-rejected {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tp-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: .9rem;
  margin-bottom: 20px;
}

.dlp-site-topup .tp-alert.ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.tp-alert.warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.tp-alert i {
  margin-top: 2px;
}

.hist-table {
  width: 100%;
  font-size: .87rem;
  border-collapse: collapse;
}

.hist-table th {
  text-align: left;
  color: #64748b;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  padding: 9px 10px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.hist-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.hist-table tr:last-child td {
  border-bottom: 0;
}

.hist-code {
  font-weight: 700;
  color: #0f172a;
  font-family: SFMono-Regular, Menlo, monospace;
}

.hist-empty {
  text-align: center;
  color: #94a3b8;
  padding: 26px 10px;
  font-size: .9rem;
}

.step {
  display: flex;
  gap: 11px;
  font-size: .87rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 11px;
}

.step b {
  color: #0f172a;
}

.step .no {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .tp-wrap {
    margin-top: 120px;
  }

  .tp-card {
    padding: 20px;
  }
}

/* ---- dailong_front_end/tag_posts.blade.php:24  [dlp-tag-posts] ---- */
.tag-wrap {
  margin-top: 160px;
  margin-bottom: 60px;
}

.dlp-tag-posts .dl-grid .dl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dlp-tag-posts .dl-grid .dl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px -5px rgba(15,23,42,.08);
  border-color: #cbd5e1;
}

.dlp-tag-posts .dl-grid .dl-img {
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.dlp-tag-posts .dl-grid .dl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.dlp-tag-posts .dl-grid .dl-card:hover .dl-img img {
  transform: scale(1.05);
}

.dlp-tag-posts .dl-grid .dl-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 18px;
}

.dlp-tag-posts .dl-grid .dl-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dlp-tag-posts .dl-grid .dl-card:hover .dl-title {
  color: #2563eb;
}

.dlp-tag-posts .dl-grid .dl-desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================================
   Responsive: 3 lỗi tràn ngang đo được trên khung nhìn hẹp (thứ tự đo
   320 / 360 / 375 / 390 / 414 / 480 / 600 / 768 / 1280).
   Đặt ở cuối file để thắng cascade của các @media phía trên.
   ===================================================================== */

/* ---- dailong_front_end/footer.blade.php:45  [toàn site] ----
   Nhãn "Trang" / "Google Maps" là .badge nên bootstrap ép white-space:nowrap.
   Ở 320px viên "Google Maps" rộng 159px trong cột .col-6 chỉ 141px, mép phải
   chạm 324px trong khi clientWidth 305px => trang ngang 19px trên MỌI trang.
   Cho phép xuống dòng + đầy cột dưới 576px để nhãn không bao giờ tràn. */
footer .footer-nav-wrapper .nav-column > h6.badge {
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 575.98px) {
  footer .footer-nav-wrapper .row > .col-6 {
    width: 100%;
  }
}

/* ---- dailong_front_end/partials/product_featured.blade.php:66  [dung chung] ----
   .pf-grid đặt minmax(340px, 1fr) nên khi cột hẹp hơn 340px nó vẫn ép track
   340px: article.pf-card.me [12 -> 352], tràn 47px ở 320 và 7px ở 360.
   Dưới 576px auto-fit vốn đã xếp 1 cột nên đổi thành 1 cột mềm là giữ nguyên
   hình thái, chỉ hết tràn. */
@media (max-width: 575.98px) {
  .pf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- dailong_front_end/home.blade.php (slider .mhn-slide) ----
   Mũi tên Owl đặt left/right -15px để nhô ra ngoài khung. Từ 375px trở xuống
   khung chạm mép trình duyệt nên div.owl-prev.me -3 và div.owl-next.me 363
   (clientWidth 360) => tràn 3px. Kéo vào trong trên điện thoại, desktop giữ
   nguyên vị trí nhô. */
@media (max-width: 575.98px) {
  .dlp-home .mhn-slide .owl-prev {
    left: 6px;
  }

  .dlp-home .mhn-slide .owl-next {
    right: 6px;
  }
}

/* ---- dailong_front_end/post_detail.blade.php:122, post_detail_product.blade.php:206,
   page_detail.blade.php:61  [nội dung do admin soạn] ----
   Bảng và iframe chép từ trình soạn có kích thước cố định nên tràn page:
   table nội [29 -> 571] ở khung 305px (tràn 273px), [56 -> 598] ở 576 (tràn 44px),
   [88 -> 630] ở 640 (tràn 12px), hết tràn từ 768; iframe YouTube width=560 ở bài
   muc-dau-i3200... (tràn ~255px).
   Cho bảng cuộn ngang trong chính nó (display:block + overflow-x) và ép media
   không vượt khung. Ngưỡng 767.98px là chỗ bảng 542px vừa khít cột nội dung,
   desktop và tablet ngang giữ nguyên layout cũ. */
.pd-content iframe, .pdp-content iframe, .page-content iframe,
.pd-content video, .pdp-content video, .page-content video,
.pd-content embed, .pdp-content embed, .page-content embed {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .pd-content table, .pdp-content table, .page-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---- dailong_front_end/partials/gallery_download_links.blade.php +
   gallery_card / gallery_featured / gallery_detail ----
   Hết đếm ngược, một ảnh mở ra NHIỀU link cùng lúc (nguồn ngoài host, hoặc bản chép
   trên máy chủ khi ảnh không còn nguồn nào khác). "Tải từ máy chủ" nhuộm xanh lá để
   phân biệt với link Drive xanh dương; "Link dự phòng" xám như nút ghost vì nó đứng
   sau Drive. Selector ghép 3 lớp là bắt buộc: trang chi tiết định nghĩa .dt-btn-primary
   trong <style> nội tuyến đặt SAU file css này, độ đặc định bằng nhau thì phần sau thắng. */
.gdl-opt {
  white-space: normal;
  text-align: center;
}

.gc-btn.gc-btn-primary.gdl-opt-server,
.fs-btn.fs-btn-primary.gdl-opt-server,
.dt-btn.dt-btn-primary.gdl-opt-server {
  background: #15803d;
  color: #fff;
}

.gc-btn.gc-btn-primary.gdl-opt-server:hover,
.fs-btn.fs-btn-primary.gdl-opt-server:hover,
.dt-btn.dt-btn-primary.gdl-opt-server:hover {
  background: #166534;
  color: #fff;
}

.gc-btn.gc-btn-primary.gdl-opt-file,
.fs-btn.fs-btn-primary.gdl-opt-file,
.dt-btn.dt-btn-primary.gdl-opt-file {
  background: #f1f5f9;
  color: #334155;
}

.gc-btn.gc-btn-primary.gdl-opt-file:hover,
.fs-btn.fs-btn-primary.gdl-opt-file:hover,
.dt-btn.dt-btn-primary.gdl-opt-file:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@media (max-width: 575.98px) {
  .gc-actions .gdl-opt,
  .fs-actions .gdl-opt,
  .dt-actions .gdl-opt,
  .dt-prem-links .dt-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

