/* PREORDER BADGE */
.rvp-badge-pill.status.preorder{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    background:#fff3cd;        
    color:#856404;             
    border:1px solid #ffe69c;
}

.rvp-badge-pill.status.preorder .icon{
    font-size:14px;
}

/* FIX hover menu NAV */
@media (min-width: 1024px) {
  .header-nav .nav-menu > li.menu-item-has-children {
    position: relative;
  }

  /* Vùng đệm hover nằm ở item cha */
  .header-nav .nav-menu > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    background: transparent;
    z-index: 9998;
  }

  .header-nav .nav-menu > li.menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin-top: 0;
    padding: 12px 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }


  .header-nav .nav-menu > li.menu-item-has-children:hover > .sub-menu,
  .header-nav .nav-menu > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav .nav-menu > li.menu-item-has-children > .sub-menu::before,
  .header-nav .nav-menu > li.menu-item-has-children > .sub-menu::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }
}

/*Thông Số Kỹ Thuật*/
/* ===== TECH INFO: hiển thị đẹp theo 2 hàng dọc ===== */
.rvp-tech-grid-visible,
.rvp-tech-grid-visible.has-2-cols,
.rvp-tech-grid-visible.has-1-col {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  margin-top: 24px;
}

/* Mỗi khối là 1 card full width */
.rvp-tech-grid-visible .rvp-tech-column {
  display: block !important;
  width: 100%;
  padding: 26px 28px;
  border-radius: 22px;
  background: #f7f5f1;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Heading nằm trên, không chiếm cột riêng */
.rvp-tech-grid-visible .rvp-tech-heading {
  display: block;
  width: 100%;
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #1f1f1f;
}

/* Content full width */
.rvp-tech-grid-visible .rvp-tech-content {
  width: 100%;
}

/* Xóa khoảng trắng dư */
.rvp-tech-grid-visible .rvp-tech-content > *:first-child {
  margin-top: 0;
}
.rvp-tech-grid-visible .rvp-tech-content > *:last-child {
  margin-bottom: 0;
}

/* ===== TABLE thông số kỹ thuật ===== */
.rvp-tech-grid-visible .rvp-tech-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.rvp-tech-grid-visible .rvp-tech-content table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rvp-tech-grid-visible .rvp-tech-content table tr:last-child {
  border-bottom: none;
}

.rvp-tech-grid-visible .rvp-tech-content table td {
  padding: 16px 14px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.7;
  color: #4c4c4c;
}

.rvp-tech-grid-visible .rvp-tech-content table td:first-child {
  width: 34%;
  font-weight: 700;
  color: #2a2a2a;
}

.rvp-tech-grid-visible .rvp-tech-content table td:last-child {
  width: 66%;
  color: #666;
}

/* Nếu phần đặc điểm nổi bật là list / paragraph */
.rvp-tech-grid-visible .rvp-tech-content ul,
.rvp-tech-grid-visible .rvp-tech-content ol {
  margin: 0;
  padding-left: 20px;
}

.rvp-tech-grid-visible .rvp-tech-content li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #555;
}

.rvp-tech-grid-visible .rvp-tech-content p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: #555;
}

/* Mobile */
@media (max-width: 767px) {
  .rvp-tech-grid-visible .rvp-tech-column {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .rvp-tech-grid-visible .rvp-tech-heading {
    font-size: 18px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .rvp-tech-grid-visible .rvp-tech-content table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .rvp-tech-grid-visible .rvp-tech-content table td:first-child {
    width: 40%;
  }

  .rvp-tech-grid-visible .rvp-tech-content table td:last-child {
    width: 60%;
  }
}

/* Bỏ Khung Ngoài Category */
.cat-item {
    display: block;
    background: #e9e3db; 
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
}

.cat-image {
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    margin: 0;
    padding: 0;
}

.cat-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.cat-info {
    padding: 10px;
}

.rvp-card-media img {
    object-fit: contain !important;
    background-color: #fff; 
}

/* =========================================
   RIVIUS - TOP SLOGAN BAR
========================================= */



.rivius-top-bar {
    width: 100%;
    height: 42px;
    background: #E31B23;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.rivius-top-bar-container {
    width: 100%;
    height: 100%;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto !important;
    padding: 0 15px !important;

    box-sizing: border-box;
}

.rivius-top-bar-text {
    margin: 0;
    padding: 0;

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-align: center;
}


/* MOBILE */
@media (max-width: 768px) {

    .rivius-top-bar {
        height: 34px;
    }

    .rivius-top-bar-container {
        padding: 0 10px !important;
    }

    .rivius-top-bar-text {
        font-size: 10px;
        line-height: 1;
        letter-spacing: 0.3px;
    }
}

/* Slogan dưới nút thêm vào giỏ */
.rivius-after-cart-slogan {
    width: 100%;
    margin-top: 12px;
    padding: 11px 15px;
    color: #E31B23;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;

    color: #333;
    background: #f7f5f2 !important;

    border-radius: 6px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .rivius-after-cart-slogan {
        margin-top: 10px;
        padding: 10px;
        font-size: 11px;
    }
}

/* =====================================================
   RIVIUS - LUX ANNAM TRUST
===================================================== */

.rivius-hotel-trust {
    width: 100%;
    background: #f8f7f3;
    padding: 24px 20px;
    box-sizing: border-box;
}

.rivius-hotel-trust-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

/* Hai đường kẻ hai bên */
.rivius-hotel-trust-line {
    display: block;
    width: 70px;
    height: 1px;
    background: #b49a65;
    flex-shrink: 0;
}

/* Nội dung */
.rivius-hotel-trust-content {
    text-align: center;
}

/* Chữ nhỏ phía trên */
.rivius-hotel-trust-label {
    display: block;

    margin: 0 0 6px 0;
    padding: 0;

    color: #9b8354;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.3;
}

/* Slogan chính */
.rivius-hotel-trust-title {
    margin: 0;
    padding: 0;

    color: #222;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}

/* Lux Annam nổi bật */
.rivius-hotel-trust-title strong {
    font-weight: 600;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .rivius-hotel-trust {
        padding: 17px 12px;
    }

    .rivius-hotel-trust-inner {
        gap: 10px;
    }

    .rivius-hotel-trust-line {
        width: 22px;
    }

    .rivius-hotel-trust-label {
        margin-bottom: 4px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .rivius-hotel-trust-title {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* HOTLINE LỚN - NỔI BẬT */
.rvp-badge-pill.hotline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    width: 100%;
    max-width: 600px;
    margin: 25px auto;

    padding: 20px 30px;

    background: #111;
    color: #fff;

    border-radius: 14px;

    font-size: 32px;
    font-weight: 800;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* Icon tai nghe */
.rvp-badge-pill.hotline .icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    background: #fff;
    color: #111;

    border-radius: 50%;

    font-size: 25px;
}

/* Số hotline */
.rvp-badge-pill.hotline .text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

/* Mobile */
@media (max-width: 767px) {
    .rvp-badge-pill.hotline {
        width: calc(100% - 20px);
        padding: 16px 15px;
        gap: 12px;
    }

    .rvp-badge-pill.hotline .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .rvp-badge-pill.hotline .text {
        font-size: 25px;
    }
}
