@charset "UTF-8";
@font-face {
  font-family: 'SVN-Omnes';
  font-weight: normal;
  src: url("https://cdn.hstatic.net/files/200001055952/file/omnes_regular.ttf") format("truetype");
  font-display: swap; }

@font-face {
  font-family: 'SF Pro Display';
  font-weight: normal;
  src: url("https://cdn.hstatic.net/files/200001055952/file/sfprodisplay-regular.ttf") format("truetype");
  font-display: swap; }

@font-face {
  font-family: 'Be Vietnam Pro';
  font-weight: normal;
  src: url("https://cdn.hstatic.net/files/200001055952/file/bevietnampro-regular_c1ed56f864c648898df5b987095f982b.ttf") format("truetype");
  font-display: swap; }

/* Variables */
:root {
  --color-brand: #ff6d4d;
  --color-second: #0A0A0A;
  --container-width: 1200px; }

/* Helper Classes */
.text-brand {
  color: var(--color-brand) !important; }

.bg-brand {
  background-color: var(--color-brand) !important; }

.container-custom {
  max-width: var(--container-width);
  margin: 0 auto; }

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--color-brand);
  width: 100%;
  z-index: 1000;
  padding: 0 0 10px 0px; }
  @media (min-width: 1200px) {
    .site-header .container-custom {
      display: flex !important;
      flex-wrap: wrap; } }
  .site-header .header-logo {
    z-index: 10;
    flex-shrink: 0;
    width: 100%;
    max-width: 215px; }
    .site-header .header-logo img {
      max-width: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      padding: 0px 0px 0px 0px; }
      @media (max-width: 768px) {
        .site-header .header-logo img {
          max-width: 150px; } }
  .site-header .header-search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 215px);
    max-width: 100%; }
    .site-header .header-search-container .search-form {
      background: #fff;
      border-radius: 40px;
      max-width: 440px;
      width: 100%;
      height: 40px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      border: 1px solid #e5e7eb; }
      @media (max-width: 1200px) {
        .site-header .header-search-container .search-form {
          max-width: 100%;
          order: 3;
          width: 100%; } }
      .site-header .header-search-container .search-form .search-input {
        border: none;
        outline: none;
        flex: 1;
        padding-left: 10px;
        color: #121826;
        font-size: 14px; }
        .site-header .header-search-container .search-form .search-input::placeholder {
          color: #9ca3af; }
    .site-header .header-search-container .header-actions {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      gap: 8px; }
      @media (max-width: 1200px) {
        .site-header .header-search-container .header-actions {
          flex-wrap: wrap;
          gap: 4px; } }
      .site-header .header-search-container .header-actions .action-link {
        display: flex;
        align-items: center;
        color: #fff !important;
        text-decoration: none !important;
        padding: 6px;
        transition: background 0.2s;
        white-space: nowrap; }
        .site-header .header-search-container .header-actions .action-link:hover {
          background-color: rgba(255, 255, 255, 0.1); }
        .site-header .header-search-container .header-actions .action-link .action-icon {
          width: 24px;
          height: 24px;
          margin-right: 8px;
          flex-shrink: 0; }
          @media (max-width: 768px) {
            .site-header .header-search-container .header-actions .action-link .action-icon {
              margin-right: 0; } }
        .site-header .header-search-container .header-actions .action-link .action-text {
          font-weight: 500;
          white-space: nowrap; }
          @media (max-width: 1200px) {
            .site-header .header-search-container .header-actions .action-link .action-text {
              font-size: 14x; } }
          @media (max-width: 768px) {
            .site-header .header-search-container .header-actions .action-link .action-text {
              display: none; } }
      .site-header .header-search-container .header-actions .action-divider {
        width: 1px;
        height: 31px;
        background-color: rgba(255, 255, 255, 0.3);
        flex-shrink: 0; }
      .site-header .header-search-container .header-actions .lang-switcher {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
        border-radius: 4px;
        padding: 4px 12px;
        color: #fff;
        font-size: 16px;
        display: flex;
        align-items: center;
        cursor: pointer;
        flex-shrink: 0;
        white-space: nowrap; }
  .site-header .header-nav-container {
    width: 100%; }
    .site-header .header-nav-container .nav-inner {
      display: flex;
      align-items: center; }
      .site-header .header-nav-container .nav-inner .category-btn {
        background-color: #f7451f;
        border-radius: 8px;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s;
        white-space: nowrap; }
        .site-header .header-nav-container .nav-inner .category-btn:hover {
          background-color: #e63e1a; }
      .site-header .header-nav-container .nav-inner .main-menu {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px; }
        @media (max-width: 1200px) {
          .site-header .header-nav-container .nav-inner .main-menu {
            gap: 4px; } }
        @media (max-width: 768px) {
          .site-header .header-nav-container .nav-inner .main-menu {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch; } }
        .site-header .header-nav-container .nav-inner .main-menu .menu-link {
          color: #fff;
          font-weight: 700;
          padding: 8px 12px;
          text-decoration: none;
          transition: opacity 0.2s;
          white-space: nowrap; }
          .site-header .header-nav-container .nav-inner .main-menu .menu-link:hover {
            opacity: 0.8;
            text-decoration: none; }
          @media (max-width: 1200px) {
            .site-header .header-nav-container .nav-inner .main-menu .menu-link {
              font-size: 12px;
              padding: 6px 8px; } }

/* Sticky Header (nếu dùng JS để thêm class này) */
.sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s; }

/* Mega Menu Styles */
/* Mega Menu Overlay */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none; }

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible; }

.category-dropdown {
  position: relative;
  cursor: pointer;
  /* Bridge to keep hover active */ }
  .category-dropdown .category-btn {
    position: relative; }
    .category-dropdown .category-btn::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 12px; }
  .category-dropdown:hover .mega-menu-container {
    display: flex; }
  .category-dropdown .mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 191px;
    /* Chỉ rộng bằng sidebar */
    background: transparent;
    /* Trong suốt để không hiện vùng trắng */
    display: none;
    z-index: 1100;
    padding: 0;
    margin-top: 10px;
    /* Sidebar - Menu cấp 1 */ }
    @media (max-width: 1200px) {
      .category-dropdown .mega-menu-container {
        display: none !important; } }
    .category-dropdown .mega-menu-container .mega-menu-sidebar {
      width: 191px;
      min-width: 191px;
      border: 0px solid #f0f0f0;
      padding: 10px 0px 10px 10px;
      background: #fff;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      /* Shadow chuyển vào đây */
      position: relative;
      flex-shrink: 0;
      /* Menu item cấp 1 */ }
      .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper {
        position: static;
        /* Mega Menu Content - Menu cấp 2 */
        /* Show submenu on wrapper hover */ }
        .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 6px 10px;
          color: #131518;
          font-weight: 500;
          font-size: 16px;
          text-decoration: none;
          border-radius: 4px;
          transition: background 0.2s;
          margin-bottom: 2px;
          cursor: pointer; }
          .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item i {
            font-size: 10px;
            opacity: 0.5;
            transition: all 0.2s; }
          .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item:hover, .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item.active {
            background-color: #ffe8e3;
            color: #ff6d4d;
            text-decoration: none; }
            .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item:hover i, .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-item.active i {
              opacity: 1;
              color: #ff6d4d; }
        .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content {
          position: absolute;
          left: 191px;
          /* Xuất hiện ngay bên phải sidebar */
          top: 0;
          width: 900px;
          /* Độ rộng cố định hoặc calc */
          max-width: calc(100vw - 250px);
          /* Đảm bảo không tràn màn hình */
          min-height: 100%;
          /* Cao bằng sidebar tối thiểu */
          height: auto;
          padding: 20px 40px;
          display: none;
          flex-wrap: wrap;
          align-content: flex-start;
          gap: 40px;
          background: #fff;
          border: 1px solid #f0f0f0;
          border-left: none;
          border-radius: 0 8px 8px 8px;
          box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1); }
          @media (max-width: 1400px) {
            .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content {
              min-width: 500px;
              max-width: 700px; } }
          .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column {
            min-width: 30%;
            max-width: 30%;
            flex: 0 0 auto; }
            .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-heading {
              color: #ff6d4d;
              font-weight: 700;
              font-size: 16px;
              margin-bottom: 8px;
              border-bottom: 1px solid #ededed;
              padding-bottom: 8px;
              display: block;
              text-decoration: none; }
              .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-heading:hover {
                color: #ff6d4d;
                text-decoration: none;
                opacity: 0.8; }
            .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-sub-link {
              display: block;
              color: #000;
              font-weight: 500;
              font-size: 16px;
              margin-bottom: 6px;
              text-decoration: none;
              padding: 4px 0; }
              .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-sub-link:hover {
                color: #ff6d4d;
                text-decoration: none; }
            .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-child-list {
              list-style: disc;
              padding-left: 20px;
              margin-bottom: 12px; }
              .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-child-list .mega-child-link {
                color: #646464;
                font-size: 16px;
                margin-bottom: 4px;
                display: block;
                text-decoration: none; }
                .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper .mega-menu-content .mega-column .mega-child-list .mega-child-link:hover {
                  color: #ff6d4d;
                  text-decoration: none; }
        .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper:hover .mega-menu-item {
          background-color: #ffe8e3;
          color: #ff6d4d;
          text-decoration: none; }
          .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper:hover .mega-menu-item i {
            opacity: 1;
            color: #ff6d4d; }
        .category-dropdown .mega-menu-container .mega-menu-sidebar .mega-menu-item-wrapper:hover .mega-menu-content {
          display: flex; }

/** Product Loop**/
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%; }
  .product-card .new-release-container {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 9999;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    justify-content: flex-start;
    font: 500 14px SF Pro Display, -apple-system, Roboto, Helvetica, sans-serif; }
    .product-card .new-release-container .badge-icon {
      aspect-ratio: 0.56;
      object-fit: contain;
      object-position: center;
      width: 13px;
      align-self: stretch;
      flex-shrink: 0;
      margin: auto 0; }
    .product-card .new-release-container .badge-content {
      background-color: #47a3ff;
      align-self: stretch;
      display: flex;
      min-height: 23px;
      padding-right: 6px;
      align-items: center;
      gap: 10px;
      justify-content: flex-end;
      margin: auto 0; }
    .product-card .new-release-container .badge-text {
      font-family: var(--TypoFace-Primary, "SF Pro Display");
      align-self: stretch;
      margin: auto 0; }
  .product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px); }
    .product-card:hover .product-img {
      transform: scale(1.05); }
    .product-card:hover .product-actions {
      opacity: 1; }
  .product-card-link {
    text-decoration: none;
    color: inherit;
    display: block; }
    .product-card-link:hover {
      text-decoration: none;
      color: inherit; }
  .product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    /* Use aspect-ratio for CLS prevention - Requirements 3.3, 7.4, 7.5 */
    aspect-ratio: 1/1; }
    .product-card .product-img-wrap .product-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 0;
      transition: transform 0.3s;
      /* Ensure aspect-ratio is maintained */
      aspect-ratio: inherit; }
  .product-card .product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px; }
    .product-card .product-info .product-title {
      font-size: 14px;
      font-weight: 500;
      color: #121826;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 42px;
      margin-bottom: 0;
      line-height: 1.5; }
    .product-card .product-info .product-price-wrap {
      display: flex;
      flex-direction: column;
      gap: 2px; }
      .product-card .product-info .product-price-wrap .price-current {
        color: #ee2a2a;
        font-weight: 700;
        font-size: 16px; }
      .product-card .product-info .product-price-wrap .price-discount {
        background: #FF6D4D;
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 8px; }
      .product-card .product-info .product-price-wrap .price-old {
        color: #999;
        text-decoration: line-through;
        font-size: 13px; }
    .product-card .product-info .product-rating {
      display: flex;
      flex-direction: column;
      gap: 4px; }
      .product-card .product-info .product-rating .rating-stars {
        color: #FFB800;
        font-size: 12px;
        display: flex;
        gap: 2px; }
        .product-card .product-info .product-rating .rating-stars i {
          color: #FFB800; }
      .product-card .product-info .product-rating .sold-count {
        color: #999;
        font-size: 12px; }
  .product-card .product-actions {
    position: absolute;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; }
  .product-card .actions-wrapper {
    width: 72px;
    height: 36px;
    background: rgba(217, 217, 217, 0.5);
    backdrop-filter: blur(3.6px);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: auto; }
  .product-card .action-btn {
    width: 26px;
    height: 26px;
    background-color: var(--color-brand);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s; }
  .product-card .action-btn:hover {
    transform: scale(1.1); }
  .product-card .action-btn i {
    font-size: 12px; }

/* Footer */
.site-footer {
  background-color: var(--color-brand);
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: #fff; }
  .site-footer a {
    color: #fff; }
  @media (max-width: 991px) {
    .site-footer {
      padding-bottom: 70px; } }
  .site-footer .footer-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: 373px;
    opacity: 0.2;
    pointer-events: none; }
    @media (max-width: 991px) {
      .site-footer .footer-bg {
        top: auto;
        bottom: 50px; } }
  .site-footer .footer-heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase; }
  .site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0; }
    .site-footer .footer-links li {
      margin-bottom: 12px; }
    .site-footer .footer-links a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      opacity: 0.9; }
      .site-footer .footer-links a:hover {
        text-decoration: underline;
        opacity: 1; }
  @media (max-width: 991px) {
    .site-footer .logo-footer img {
      max-width: 250px;
      margin-bottom: 20px; } }

/* Responsive Fixes for Figma "Absolute" Layouts */
@media (max-width: 1200px) {
  .container-custom {
    padding: 0 15px; } }

/*
   ========================================
   FLOATING CONTACT BUTTONS
   ========================================
*/
.ldp-floating-contact {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end; }

.ldp-floating-menu {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  display: none;
  visibility: hidden;
  transition: all 0.3s; }

.ldp-floating-menu.show {
  display: block;
  opacity: 1;
  visibility: visible; }

.ldp-floating-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  color: var(--ldp-color-text);
  text-decoration: none;
  transition: background 0.2s; }

.ldp-floating-menu-item:last-child {
  border-bottom: none; }

.ldp-floating-menu-item:hover {
  background: #f5f5f5; }

.ldp-floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
  outline: none !important; }

.ldp-floating-btn:hover {
  transform: scale(1.1); }

.dlpm-hrvmodal, .dlpm-hrvmodal--backdrop {
  z-index: 9999 !important; }
