/*
Theme Name: TOTEM Mobile
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

@import "./css/cart-header.css";
@import "./css/filter-in-shop.css";

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.size-6 {
  width: 24px;
  height: 24px;
}

.totem-swiper-button-next,
.totem-swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 2px solid var(--tt-primary-color);

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.totem-swiper-button-next:hover,
.totem-swiper-button-prev:hover {
  background-color: var(--tt-primary-color);
}

.totem-swiper-button-next {
  right: 10px;
}
.totem-swiper-button-prev {
  left: 10px;
}

.totem-swiper-button-next svg,
.totem-swiper-button-prev svg {
  color: var(--tt-primary-color);
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.totem-swiper-button-next:hover svg,
.totem-swiper-button-prev:hover svg {
  color: white;
}

/*  */
.section_homepage_below {
  /* margin-top: -135px; */
  background-color: #fffdf5;
}

.swiper_slider_subhero_home {
  transform: translateY(-50%);
}

.swiper_slider_subhero_home .swiper-slide {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  margin-top: 20px;
}

/* For Product Categories */
.totem-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  background-color: #f7f7f7;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.totem-cat-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.totem-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.totem-cat-img img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.totem-cat-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

/* TOTEM POSTS in HOMEPAGE */
.totem-posts-wrap {
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.totem-posts-heading {
  font-size: 21px;
  margin-bottom: 16px;
}
.totem-posts-heading a {
  color: var(--tt-primary-color);
  text-decoration: none;
}

.totem-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.totem-post-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.totem-post-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.totem-post-thumb {
  width: 150px;
  height: 90px;
  flex: 1 0 150px;
}
.totem-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.totem-post-title {
  font-size: 14px;
  line-height: 1.4;
}

/* =========================================
   TOTEM BLOG LAYOUT STYLES - FULL WIDTH FIX
   ========================================= */

/* --- 1. BỐ CỤC TOP (FEATURED + SIDEBAR) & BOTTOM (FULL WIDTH) --- */
.totem-blog-block {
  margin-bottom: 50px;
}

.totem-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.totem-featured-col {
  flex: 1;
  min-width: 0;
}

.totem-sidebar-col {
  width: 300px;
  flex-shrink: 0;
}

.totem-bottom-row {
  width: 100%;
  display: block;
  margin-top: 20px;
}

/* Tiêu đề block */
.totem-blog-title,
.totem-sidebar-title,
.archive-header h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 10px;
  color: #333;
  display: block;
  width: 100%;
}

/* --- 2. XỬ LÝ ẢNH TRÁNH FLATSOME ĐÈ --- */
.totem-thumb-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}
.totem-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  transition: transform 0.3s ease;
}
.totem-thumb-wrap:hover img {
  transform: scale(1.05);
}

.totem-post-content {
  width: 100%;
  display: block;
}
.totem-post-content h3 {
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.4;
  word-break: break-word;
}
.totem-post-content h3 a {
  color: #222;
  text-decoration: none;
}
.totem-post-content h3 a:hover {
  color: #d32f2f;
}

/* --- 3. POST 1: BÀI NỔI BẬT (TO) --- */
.totem-post-featured {
  width: 100%;
  display: block;
}
.totem-post-featured .totem-thumb-wrap {
  aspect-ratio: 16/9;
}
.totem-meta-badges {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.badge-cat,
.badge-date {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  background-color: #d32f2f;
}
.badge-date {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
}
.totem-post-featured .totem-post-content {
  margin-top: 15px;
}
.totem-post-featured h3 {
  font-size: 22px;
}
.totem-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* --- 4. POST 2-4: GRID 3 CỘT (CARD ĐỨNG) - FULL WIDTH --- */
.totem-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.totem-post-grid-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.totem-post-grid-item .totem-thumb-wrap {
  aspect-ratio: 16/10;
  margin-bottom: 12px;
}
.totem-post-grid-item h3 {
  font-size: 15px;
}

/* --- 5. POST 5+: LIST (CARD NGANG) - FULL WIDTH --- */
.totem-post-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.totem-post-list-item .col-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.06);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.totem-post-list-item .col-inner:hover {
  border: 1px solid var(--tt-primary-color);
}
.totem-post-list-item .totem-post-content h3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.totem-post-list-item .totem-post-content {
  flex: 1;
  min-width: 0;
  order: 1;
}
.totem-post-list-item .totem-thumb-wrap {
  width: 50%;
  max-width: 260px;
  flex-shrink: 0;
  aspect-ratio: 16/10;
  height: auto;
  order: 2;
}
.totem-post-list-item h3 {
  font-size: 17px;
}
.totem-meta {
  margin-bottom: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.badge-cat-simple {
  background: #f8f8f8;
  padding: 3px 8px;
  border-radius: 4px;
  color: #d32f2f;
  font-weight: 600;
}
.badge-date-simple {
  color: #888;
}

/* --- 6. SIDEBAR STYLES --- */
.totem-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.totem-sidebar-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  text-decoration: none;
  width: 100%;
}
.sidebar-thumb {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
}
.sidebar-thumb img {
  border-radius: 50%;
}
.sidebar-content {
  flex: 1;
  min-width: 0;
}
.sidebar-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.4;
  word-break: break-word;
}
.totem-sidebar-item:hover h4 {
  color: #d32f2f;
}

/* --- 7. RESPONSIVE MOBILE & TABLET --- */
@media (max-width: 991px) {
  /* ẨN SIDEBAR TRÊN MOBILE & TABLET NHỎ NHƯ YÊU CẦU */
  .hide-on-mobile {
    display: none !important;
  }
  .totem-top-row {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .totem-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .totem-post-list-item {
    flex-direction: column;
  }
  .totem-post-list-item .totem-thumb-wrap {
    width: 100%;
    order: 1;
  }
  .totem-post-list-item .totem-post-content {
    order: 2;
  }
}
@media (max-width: 480px) {
  .totem-post-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*  */
li.menu-item-has-children::before,
li.menu-item-has-children::after {
  display: none !important;
}
.sub-menu.nav-dropdown.nav-dropdown-default {
  display: table !important;
}
.sub-menu.nav-dropdown.nav-dropdown-default li {
  min-width: fit-content !important;
  width: max-content !important;
}

.sub-menu.nav-dropdown.nav-dropdown-default a {
  color: #333 !important;
  font-size: 12px;
  border-bottom: 0;
  padding: 5px 0;
}
.sub-menu.nav-dropdown.nav-dropdown-default a:hover {
  color: var(--tt-primary-color) !important;
}

.nav-dropdown-has-border .nav-dropdown {
  border: 0px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════
   FLATSOME SEARCH BAR — Style giống Minh Tuấn
   + Fix search ra product (không chỉ post)
════════════════════════════════════════════════ */

/* ── Wrapper search form ── */
.header-search-form,
.search-form,
[class*="search-form"] {
  display: flex !important;
  align-items: center !important;
  border: 2px solid var(--tt-primary-color, #e4141c) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
  width: 100% !important;
  max-width: 560px !important;
  transition: box-shadow 0.18s !important;
}
.header-search-form:focus-within,
.search-form:focus-within {
  box-shadow: 0 0 0 3px rgba(228, 20, 28, 0.1) !important;
}

/* ── Input ── */
.header-search-form input[type="search"],
.header-search-form input[type="text"],
.search-form input[type="search"],
.search-form input[type="text"] {
  flex: 1 !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  color: #111 !important;
  background: transparent !important;
  -webkit-appearance: none !important;
}
.header-search-form input::placeholder,
.search-form input::placeholder {
  color: #bbb !important;
}

/* ── Submit button ── */
.header-search-form button[type="submit"],
.header-search-form input[type="submit"],
.search-form button[type="submit"],
.search-form .search-submit {
  width: 50px !important;
  height: 44px !important;
  background: var(--tt-primary-color, #e4141c) !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  flex-shrink: 0 !important;
  transition: filter 0.15s !important;
  padding: 0 !important;
}
.header-search-form button[type="submit"]:hover,
.search-form button[type="submit"]:hover {
  filter: brightness(0.88) !important;
}

/* ── Flatsome search icon button (kính lúp trigger) ── */
.header .search-trigger,
.header [data-open="search"] {
  color: var(--tt-primary-color, #e4141c) !important;
}
/* ── AJAX dropdown results ── */
.autocomplete-suggestions,
.dgwt-wcas-search-results,
.flatsome-ajax-search-result,
.searchSuggest {
  border: 1.5px solid #eee !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
  margin-top: 4px !important;
  background: #fff !important;
}

.autocomplete-suggestion,
.dgwt-wcas-si,
.searchSuggest li {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: #111 !important;
  border-bottom: 1px solid #f5f5f5 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: background 0.12s !important;
}
.autocomplete-suggestion:hover,
.dgwt-wcas-si:hover,
.searchSuggest li:hover,
.autocomplete-selected {
  background: #fff8f8 !important;
  color: var(--tt-primary-color, #e4141c) !important;
}
.dgwt-wcas-si img,
.autocomplete-suggestion img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  background: #f5f5f5 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .header-search-form,
  .search-form {
    max-width: 100% !important;
  }
  .header-search-form input[type="search"],
  .search-form input[type="search"] {
    height: 40px !important;
    font-size: 13px !important;
  }
  .header-search-form button[type="submit"],
  .search-form button[type="submit"] {
    width: 44px !important;
    height: 40px !important;
  }
}

/* ════════════════════════════════════════════════
   ACCOUNT DROPDOWN — Header
   Màu chính: var(--tt-primary-color, #e4141c)
════════════════════════════════════════════════ */

/* ── Trigger link ── */
.account-item.has-dropdown > a.account-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 5px 10px !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  color: #111 !important;
  transition: background 0.15s !important;
}
.account-item.has-dropdown > a.account-link:hover,
.account-item.has-dropdown.current-dropdown > a.account-link {
  background: #fff5f5 !important;
  color: var(--tt-primary-color, #e4141c) !important;
}
.header-account-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* ── Dropdown container ── */
.account-item .nav-dropdown {
  top: 30px;
  min-width: 200px !important;
  padding: 6px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 36px rgba(0, 0, 0, 0.11) !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* ── Từng item ── */
.account-item .nav-dropdown li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.account-item .nav-dropdown li a {
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none !important;
  transition:
    background 0.13s,
    color 0.13s !important;
  position: relative !important;
  margin: 0 !important;
}
.account-item .nav-dropdown li a:hover {
  background: #fff5f5 !important;
  color: var(--tt-primary-color, #e4141c) !important;
}

/* Icon mỗi item — dùng CSS content */
.account-item .nav-dropdown li a::before {
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  background-color: #bbb !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transition: background-color 0.13s !important;
}
.account-item .nav-dropdown li a:hover::before {
  background-color: var(--tt-primary-color, #e4141c) !important;
}

/* Dashboard */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") !important;
}

/* Orders */
.woocommerce-MyAccount-navigation-link--orders a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' stroke='%23000' stroke-width='1.8'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' d='M7 8h10M7 12h10M7 16h6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' stroke='%23000' stroke-width='1.8'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' d='M7 8h10M7 12h10M7 16h6'/%3E%3C/svg%3E") !important;
}

/* Downloads */
.woocommerce-MyAccount-navigation-link--downloads a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m0 0l-4-4m4 4l4-4M3 17v2a2 2 0 002 2h14a2 2 0 002-2v-2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m0 0l-4-4m4 4l4-4M3 17v2a2 2 0 002 2h14a2 2 0 002-2v-2'/%3E%3C/svg%3E") !important;
}

/* Address */
.woocommerce-MyAccount-navigation-link--edit-address a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") !important;
}

/* Edit account */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' stroke='%23000' stroke-width='1.8'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' stroke='%23000' stroke-width='1.8'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") !important;
}

/* ── Logout — tách biệt bằng divider + màu đỏ ── */
.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1px solid #f0f0f0 !important;
  margin-top: 4px !important;
  padding-top: 4px !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--tt-primary-color, #e4141c) !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
  background-color: var(--tt-primary-color, #e4141c) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fff0f0 !important;
  color: var(--tt-primary-color, #e4141c) !important;
}

/* ── Active item ── */
.account-item .nav-dropdown li.is-active > a,
.account-item .nav-dropdown li.active > a {
  background: #fff5f5 !important;
  color: var(--tt-primary-color, #e4141c) !important;
  font-weight: 600 !important;
}
.account-item .nav-dropdown li.is-active > a::before,
.account-item .nav-dropdown li.active > a::before {
  background-color: var(--tt-primary-color, #e4141c) !important;
}

.account-link.account-login span,
.account-item span,
.tmb-hitem__value,
.header-cart-title {
  color: var(--tt-primary-color) !important;
}

.header-nav-main.nav-right {
  gap: 20px;
}

.html.custom.html_top_right_text {
  width: 100%;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  padding: 0 !important;
}
.dgwt-wcas-search-input {
  background: unset !important;
  border: none !important;
  outline: none !important;
  padding: 13px 48px 13px 24px !important;
  height: 40px !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  top: 50% !important;
  left: unset !important;
  right: 10px !important;
  transform: translateY(-50%);
}

.dgwt-wcas-si {
  width: 80px !important;
  height: 80px !important;
  border-bottom: unset !important;
}

.dgwt-wcas-si img,
.autocomplete-suggestion img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.dgwt-wcas-open-pirx .dgwt-wcas-details-inner,
.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp > .dgwt-wcas-suggestion {
  padding: 0 !important ;
}

.dgwt-wcas-suggestions-wrapp {
  box-shadow: 4px 4px 12px #7c7c7c;
  margin-top: 8px !important;
  border-radius: 6px !important;
}

#footer section {
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

#footer .section-title-container {
  margin-bottom: 5px;
}
#footer .section-title-container h4 {
  border-bottom: 0;
  font-weight: bold;
  font-size: 16px;
}

#footer .ux-menu-link__link {
  font-size: 14px;
  border-bottom: unset;
  min-height: unset;
  background-image: url("https://totemmobile.com/wp-content/uploads/2026/04/icon-send-right.webp");
  padding-left: 18px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: left 9px;
}

#footer .ux-menu-link__link:hover {
  color: var(--tt-primary-color);
}

.badge {
  height: unset;
}

.badge-inner {
  padding: 6px 12px;
}

.badge-inner .onsale {
  font-size: 14px;
  font-weight: 500;
}

.badge-container {
  margin: 10px 0 0;
}

/* front page */
.totem-product-grid .totem-product-title {
  font-size: 16px;
}

.totem-product-grid .col-inner {
  border: 1px solid #eee;
  height: 100%;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.totem-product-grid {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background-color: #fff;
  margin: 0 !important;
  margin-bottom: 20px !important;
  padding: 20px !important;
}

@media screen and (min-width: 1180px) {
  .totem-product-grid .large-3 {
    flex-basis: 20%;
    max-width: 20%;
  }
}

.woocommerce-result-count {
  display: none;
}

/* SEARCH PRODUCT */
