* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
:root {
  --gradient-primary: linear-gradient(135deg, #f3e2cf 0%, #d9b896 100%);
  --gradient-secondary: linear-gradient(135deg, #d9b896 0%, #ccaa84 100%);
  --gradient-gold: linear-gradient(135deg, #e5c9a8 0%, #d9b896 100%);
  --primary: #edd7bf;
  --secondary: #d9b896;
  --accent: #d9b896;
  --gold: #e5c9a8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-primary: #2c2c2c;
  --text-secondary: #666;
  --text-muted: #888;
  --text-light: #aaa;
  --bg-body: #fafafa;
  --bg-card: #ffffff;
  --bg-hover: #f5f5f5;
  --bg-dark: #1e293b;
  --border: #e0e0e0;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.3px;
}
img {
  width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 15px;
}
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 12px;
  }
  .banners_4 > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
  }
}
span {
  color: var(--primary);
}
p {
  color: var(--text-secondary);
}
.btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  letter-spacing: 0.5px;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8966a 0%, #b8865a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}
.btn:hover::before {
  opacity: 1;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn i {
  color: inherit;
}
.btns {
  display: flex;
  align-items: center;
  gap: 12px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  transition: all 0.5s ease-in-out;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-bottom: none !important;
  /* Ensure no border on scroll either */
}
header .top_header {
  border-bottom: none;
  position: relative;
  z-index: 100 !important;
  /* Ensure children like userDropdown appear ABOVE bottom_header */
}
header .top_header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 !important; /* Fixed slim padding */
  gap: 20px;
  transition: all 0.3s ease;
}
header.scrolled .top_header .container {
  padding: 4px 0 !important; /* Same as default for consistency */
}
/* Consolidating mobile header styles in homepage.css to avoid conflicts and achieve 'Ghost' aesthetic */
@media screen and (max-width: 768px) {
  body {
    padding-top: 0 !important;
  }
}
.mobile_category_nav_new {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  border-bottom: 2px solid #e8eaed;
  padding: 0;
  position: relative;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.mobile_cat_header {
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-bottom: 1px solid #e8eaed;
}
.mobile_cat_header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile_cat_header h3 i {
  color: #d4a574;
  font-size: 18px;
}
.mobile_cat_scroll_container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 0;
}
.mobile_cat_scroll_container::-webkit-scrollbar {
  display: none;
}
.mobile_cat_grid {
  display: flex;
  gap: 12px;
  padding: 0 20px;
  min-width: min-content;
}
.mobile_cat_card {
  position: relative;
  min-width: 110px;
  height: 120px;
  border-radius: 16px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.mobile_cat_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile_cat_card:active {
  transform: scale(0.95);
}
.mobile_cat_card:active::before {
  opacity: 1;
}
.mobile_cat_icon_wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.mobile_cat_card:active .mobile_cat_icon_wrapper {
  transform: scale(1.1) rotate(5deg);
}
.mobile_cat_icon_wrapper i {
  font-size: 24px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.mobile_cat_card h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  font-family: "Inter", sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}
.mobile_cat_badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: "Inter", sans-serif;
}
.gradient-fire { background: #e74c3c !important; }
.gradient-purple { background: #1a3c34 !important; }
.gradient-pink { background: #e91e63 !important; }
.gradient-teal { background: #1abc9c !important; }
.gradient-green { background: #1a3c34 !important; }
.gradient-blue { background: #1a3c34 !important; }
.gradient-rose { background: #e91e63 !important; }
.gradient-indigo { background: #1a3c34 !important; }
.gradient-violet { background: #8e24aa !important; }
.gradient-orange { background: #ff9800 !important; }
.gradient-lime { background: #8bc34a !important; }
/* Consolidated into global header rule at line 174 */
@media (min-width: 769px) {
  header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
  }
  header.scrolled .top_header .container {
    padding: 4px 0 !important;
  }
  header.scrolled .logo {
    width: 50px !important;
  }
  header.scrolled .search_box {
    display: none;
  }
  header.scrolled .login_signup {
    display: none;
  }
  header.scrolled .category_nav {
    display: none;
  }
  header.scrolled .bottom_header {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
    pointer-events: none;
  }
  header.scrolled .bottom_header .container {
    width: auto;
    padding: 0;
    pointer-events: auto;
  }
  header.scrolled .bottom_header nav {
    gap: 20px;
    display: flex;
    justify-content: center;
  }
  header.scrolled .nav_links {
    display: flex;
    gap: 30px;
    margin: 0;
    align-items: center;
  }
  header.scrolled .user_icon_scroll {
    display: flex !important;
  }
}
header .logo {
  /* width removed */
  transition: transform var(--transition-base);
}
header .logo img {
  height: auto !important;
  max-height: 40px !important; /* Prevent vertical stretching */
  display: block;
}
header .search_box {
  flex: 1;
  max-width: 650px;
  display: flex;
  align-items: stretch;
  background: var(--bg-body);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}
header .search_box .select_box {
  display: flex;
  align-items: center;
  position: relative;
}
header .search_box .select_box::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  header .search_box .select_box::after {
    right: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-secondary);
  }
}
header .search_box select {
  padding-right: 25px;
}
@media (max-width: 768px) {
  header .search_box .select_box {
    display: none;
  }
  header .search_box {
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 44px;
  }
  header .search_box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.25);
  }
  header .search_box input {
    font-size: 14px;
    padding: 0 16px;
    color: var(--text-primary);
  }
  header .search_box input::placeholder {
    color: #999;
    font-size: 13px;
  }
  header .search_box button {
    padding: 0 18px;
    background: var(--gradient-primary);
    border-radius: 0 25px 25px 0;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header .search_box button i {
    font-size: 18px;
    color: white;
  }
  header .search_box button:active {
    transform: scale(0.95);
  }
}
header .search_box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}
header .search_box select {
  padding: 0 var(--space-lg);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 140px;
  height: 48px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
header .search_box input {
  flex: 1;
  padding: 0 var(--space-lg);
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-primary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
header .search_box input::placeholder {
  color: var(--text-light);
}
header .search_box button {
  padding: 0 var(--space-xl);
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}
header .search_box button:hover {
  filter: brightness(1.1);
}
header .search_box button i {
  color: white;
  font-size: 18px;
}
header .header_icons {
  display: flex;
  gap: var(--space-md);
}
 /* Header Icons - Initial State (Clean icons-only look) */
 header .header_icons .icon {
   position: relative;
   width: 44px; /* Slightly adjusted size */
   height: 44px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: transparent !important; /* Force transparent */
   border: none !important; /* Force no border */
   border-radius: var(--radius-md);
   cursor: pointer;
   transition: all var(--transition-base);
 }
 header .header_icons .icon i {
   font-size: 20px;
   color: #ffffff;
   transition: all var(--transition-base);
 }
 /* Header Icons - Scrolled State */
 header.scrolled .header_icons .icon {
   background: transparent !important;
   border: none !important;
 }
 header.scrolled .header_icons .icon i {
   color: var(--text-primary);
 }
/* Hover effects remain */
 /* Disable heavy hover effects as requested */
 header .header_icons .icon:hover {
   background: transparent !important;
   transform: none !important; /* Remove lift effect */
   box-shadow: none !important; /* Remove shadow */
 }
 header .header_icons .icon:hover i {
   color: var(--primary); /* Just change icon color on hover */
 }
.icon .count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--gradient-secondary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}
header .header_icons .user_icon_scroll,
header .header_icons .user_icon {
  display: flex !important;
  position: relative;
}
.login_signup.btns {
  display: none !important;
}
.user_dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1000;
  overflow: hidden;
}
.user_dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user_dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--border);
}
.user_dropdown a:last-child {
  border-bottom: none;
}
.user_dropdown a:hover {
  background: var(--bg-hover);
  color: var(--primary);
  padding-left: 24px;
}
.user_dropdown a i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
  color: var(--primary);
}
@media (max-width: 768px) {
  .user_dropdown {
    right: -10px;
    min-width: 180px;
  }
}
header .bottom_header {
  background: transparent;
  position: relative;
  z-index: 1 !important;
  /* Keep it below top_header sections */
}
header .bottom_header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .bottom_header nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
header .bottom_header .nav {
  gap: var(--space-2xl);
}
header .category_nav {
  position: relative;
}
header .category_btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  font-weight: 500;
  letter-spacing: 0.3px;
}
header .category_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  background: linear-gradient(135deg, #c8966a 0%, #b8865a 100%);
}
header .category_btn p {
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
header .category_btn i {
  color: white;
}
header .category_nav_list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all var(--transition-base);
}
header .category_nav_list.active {
  max-height: 500px;
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
header .category_nav_list a {
  display: block;
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-fast);
}
header .category_nav_list a:last-child {
  border-bottom: none;
}
header .category_nav_list a:hover {
  background: var(--bg-hover);
  color: var(--primary);
  padding-left: 28px;
}
.categories_swiper_wrapper {
  width: 100%;
  padding: 16px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e8eaed;
  margin-bottom: 0;
  position: relative;
}
header .top_header .categories_swiper_wrapper {
  display: none;
}
.bottom_header .categories_swiper_wrapper {
  display: block;
}
.categories_swiper_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #d4a574 50%,
    transparent 100%
  );
  opacity: 0.3;
}
.categories_swiper {
  width: 100%;
  overflow: visible;
  padding: 0 20px;
}
.categories_swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}
.categories_swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}
.category_swiper_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  color: #4a5568;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  font-family: "Inter", sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.category_swiper_item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.category_swiper_item i {
  font-size: 16px;
  color: #9ca3af;
  transition: all 0.3s ease;
}
.category_swiper_item span {
  color: #4a5568;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.category_swiper_item:hover,
.category_swiper_item:active {
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}
.category_swiper_item:hover::before,
.category_swiper_item:active::before {
  opacity: 0;
}
.category_swiper_item:hover i,
.category_swiper_item:active i {
  color: #ffffff;
  transform: scale(1.15);
}
.category_swiper_item:hover span,
.category_swiper_item:active span {
  color: #ffffff;
  font-weight: 600;
}
header .nav_links {
  display: flex;
  gap: var(--space-xl);
  margin: 0;
}
@media (min-width: 769px) {
  .mobile_category_nav_new {
    display: none;
  }
}
header .nav_links li a {
  display: block;
  padding: 10px 12px;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 15px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: 0.3px;
}
header .nav_links li a {
  display: block;
  padding: 18px 16px;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 15px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: 0.3px;
}
header .nav_links li:hover a,
header .nav_links li.active a {
  color: #D4A574;
}

/* Navigation Dropdown Premium Styles */
.has_dropdown {
    position: relative;
}

.dropdown_icon {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has_dropdown:hover .dropdown_icon {
    transform: rotate(180deg);
}

.nav_dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 240px;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1000;
}

.has_dropdown:hover .nav_dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.nav_dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    color: #1a1a1a !important; /* Force visibility */
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    margin-bottom: 2px !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
}

.nav_dropdown a:last-child {
    margin-bottom: 0;
}

.nav_dropdown a i {
    width: 20px;
    height: 20px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(212, 165, 116, 0.1) !important;
    color: #d4a574 !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    transition: all 0.2s ease !important;
}

.nav_dropdown a:hover {
    color: #d4a574 !important; /* Only text color change */
}

.nav_dropdown a:hover i {
    color: #d4a574 !important;
    background: rgba(212, 165, 116, 0.15) !important;
}

/* Ensure dropdown is visible even when header is transparent */
header:not(.scrolled) .nav_dropdown {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}

header:not(.scrolled) .nav_dropdown a {
    color: #1a1a1a !important; /* Force black on hero */
}
header .login_signup {
  display: flex;
  gap: var(--space-sm);
}
.open_Menu,
.close_menu {
  display: none;
}
.slider {
  position: relative;
  margin-bottom: 60px;
}
.slider .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.slider .container .slide-swp {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slider .container .slide-swp img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.swiper-wrapper {
  height: auto !important;
}
.slider .container .slide-swp .swiper-pagination span {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%) !important;
  width: 35px !important;
  height: 8px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}
.premium-hero {
  margin: 60px 0;
  padding: 80px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  position: relative;
  overflow: hidden;
}
.premium-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 182, 193, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 192, 203, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-content {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4a574;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.hero-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: #d4a574;
}
.hero-title {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.2;
  color: #2c2c2c;
  margin: 0;
  letter-spacing: -0.5px;
  font-family: "Playfair Display", "Georgia", serif;
}
.hero-title strong {
  font-weight: 600;
  color: #1a1a1a;
}
.hero-description {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  margin: 0;
  max-width: 520px;
  font-weight: 300;
  letter-spacing: 0.2px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-hero.btn-primary {
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}
.btn-hero.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  background: linear-gradient(135deg, #c8966a 0%, #b8865a 100%);
}
.btn-hero.btn-secondary {
  background: transparent;
  color: #2c2c2c;
  border: 2px solid #e0e0e0;
}
.btn-hero.btn-secondary:hover {
  border-color: #d4a574;
  color: #d4a574;
  background: rgba(212, 165, 116, 0.05);
  transform: translateY(-2px);
}
.hero-image {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
  max-height: 100%;
}
.hero-image:hover .hero-img {
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  pointer-events: none;
}
@media (max-width: 1200px) {
  .hero-wrapper {
    gap: 60px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-description {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .premium-hero {
    margin: 40px 0;
    padding: 60px 0;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-content {
    padding: 0;
    text-align: center;
    align-items: center;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-description {
    max-width: 100%;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    min-height: 500px;
    order: -1;
  }
}
@media (max-width: 768px) {
  .premium-hero {
    margin: 30px 0;
    padding: 40px 0;
  }
  .hero-wrapper {
    gap: 40px;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero {
    width: 100%;
    padding: 14px 32px;
  }
  .hero-image {
    min-height: 400px;
  }
  .hero-image-wrapper {
    border-radius: 16px;
  }
}
@media (max-width: 500px) {
  .premium-hero {
    padding: 30px 0;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-image {
    min-height: 350px;
  }
  .btn-hero {
    font-size: 14px;
    padding: 12px 28px;
  }
}
.shop-categories {
  margin: 60px 0;
  padding: 60px 0;
  background: #ffffff;
  position: relative;
}
.categories-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 42px;
  font-weight: 300;
  color: #2c2c2c;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  font-family: "Playfair Display", "Georgia", serif;
}
.section-subtitle {
  font-size: 16px;
  color: #888;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background: #fafafa;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.05) 0%,
    rgba(200, 150, 106, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.category-card:hover {
  transform: translateY(-8px);
  border-color: #d4a574;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.15);
}
.category-card:hover::before {
  opacity: 1;
}
.category-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}
.category-icon i {
  font-size: 32px;
  color: #ffffff;
  transition: transform 0.4s ease;
}
.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}
.category-card:hover .category-icon i {
  transform: scale(1.1);
}
.category-name {
  font-size: 22px;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0 0 8px 0;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.category-card:hover .category-name {
  color: #d4a574;
}
.category-desc {
  font-size: 14px;
  color: #888;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
  font-weight: 300;
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #d4a574;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.category-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.category-card:hover .category-link {
  color: #c8966a;
}
.category-card:hover .category-link i {
  transform: translateX(4px);
}
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .section-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .shop-categories {
    margin: 50px 0;
    padding: 40px 0;
  }
  .categories-header {
    margin-bottom: 35px;
  }
  .section-title {
    font-size: 32px;
  }
  .section-subtitle {
    font-size: 15px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .category-card {
    padding: 30px 20px;
  }
  .category-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  .category-icon i {
    font-size: 28px;
  }
  .category-name {
    font-size: 20px;
  }
}
@media (max-width: 500px) {
  .shop-categories {
    margin: 40px 0;
    padding: 30px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .category-card {
    padding: 35px 25px;
  }
  .category-icon {
    width: 65px;
    height: 65px;
  }
  .category-icon i {
    font-size: 26px;
  }
  .category-name {
    font-size: 18px;
  }
}
.slide {
  margin: var(--space-2xl) 0;
}
.slider_products {
  margin: 60px 0;
}
.top_slide {
  position: relative;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}
.top_slide h2 {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  position: relative;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.5px;
  width: max-content;
}
.top_slide h2::before {
  display: none;
}
.top_slide h2 i {
  color: var(--primary);
  font-size: 24px;
}
.slide .container {
  position: relative;
}
.slide .container .mySwiper {
  padding: 10px 0;
}
.slide .container .mySwiper .btn_swip {
  position: absolute;
  top: 30px;
  right: 0;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide .container .mySwiper .btn_swip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  background: linear-gradient(135deg, #c8966a 0%, #b8865a 100%);
}
.slide .container .mySwiper .btn_swip::after {
  font-size: 14px;
  font-weight: bold;
}
.slide .container .mySwiper .swiper-button-prev {
  left: calc(100% - 80px);
}
.product {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px;
  border: 2px solid rgba(212, 165, 116, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.2);
  border-color: rgba(212, 165, 116, 0.3);
}
.product:hover::before {
  transform: scaleX(1);
}
.product .sale_present {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  color: white;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
  animation: pulse 2s infinite;
  letter-spacing: 0.5px;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.product .img_product {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  padding: var(--space-md);
}
.product .img_product a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product .img_product img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  transition: transform var(--transition-slow);
}
.product:hover .img_product img {
  transform: scale(1.1);
}
.product .name_product {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  min-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  flex-shrink: 0;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.2px;
}
.product .name_product a {
  color: inherit;
  transition: color var(--transition-base);
}
.product .name_product a:hover {
  color: var(--primary);
  text-decoration: none;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.stars i {
  color: #fbbf24;
  font-size: 13px;
}
.price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
  padding-bottom: var(--space-md);
  flex-shrink: 0;
}
.price p {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}
.price p span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price .old_price {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
}
.product .icons {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.product .icons .btn_add_cart {
  flex: 1;
  padding: 12px 16px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.2);
  letter-spacing: 0.2px;
  min-height: 44px;
  font-family: "Inter", sans-serif;
}
.product .icons .btn_add_cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.3);
  background: #2d2d2d;
}
.product .icons .btn_add_cart.active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  cursor: default;
}
.product .icons .btn_add_cart.active:hover {
  transform: none;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.product .icons .C i {
  color: white;
  pointer-events: none;
}
.product .icons .icon_product {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 2px solid #e8eaed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.product .icons .icon_product:hover {
  border-color: #ef4444;
  background: #fef2f2;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}
.product .icons .icon_product:hover i {
  color: #ef4444;
}
.product .icons .icon_product.active {
  border-color: #22c55e;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.product .icons .icon_product.active i {
  color: #ffffff !important;
}
.product .icons .icon_product i {
  font-size: 17px;
  color: #6b7280;
  transition: color 0.3s ease;
}
.featured-products {
  margin: 60px 0;
  padding: 60px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  width: 100%;
  box-sizing: border-box;
}
.featured-products .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .featured-products {
    margin: 40px 0;
    padding: 30px 0;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media screen and (max-width: 500px) {
  .featured-products {
    margin: 30px 0;
    padding: 25px 0;
  }
  .featured-grid {
    gap: 18px;
  }
}
@media screen and (max-width: 400px) {
  .featured-products {
    margin: 25px 0;
    padding: 20px 0;
  }
}
footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  margin-top: 32px;
  padding-top: 32px;
}
footer .container {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}
footer .big_row .logo_footer {
  width: 160px;
  margin-bottom: var(--space-lg);
}
footer .big_row p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}
footer .icons_footer {
  display: flex;
  gap: var(--space-sm);
}
footer .icons_footer a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
footer .icons_footer a:hover {
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}
footer .icons_footer a i {
  color: white;
  font-size: 18px;
}
footer .row h4 {
  color: white;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: var(--space-lg);
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.3px;
}
footer .row .links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
footer .row .links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-base);
}
footer .row .links a:hover {
  color: white;
  transform: translateX(4px);
}
footer .row .links a i {
  color: var(--gold);
  font-size: 12px;
}
footer .bottom_footer {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer .bottom_footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  grid-template-columns: 1fr;
}
footer .bottom_footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
footer .bottom_footer span {
  color: white;
  font-weight: 600;
}
footer .payment_img {
  width: 180px;
}
.cart {
  position: fixed;
  top: 0;
  right: -420px;
  bottom: 0;
  width: 420px;
  background: var(--bg-card);
  box-shadow: var(--shadow-2xl);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-base);
}
.cart.active {
  right: 0;
}
.cart .top_cart {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart .top_cart h3 {
  font-size: 24px;
  font-weight: 400;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.3px;
}
.cart .top_cart h3 span {
  color: var(--primary);
}
.cart .close_cart {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}
.cart .close_cart:hover {
  background: var(--danger);
}
.cart .close_cart:hover i {
  color: white;
}
.cart .close_cart i {
  font-size: 24px;
  color: var(--text-primary);
}
.cart .items_in_cart {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}
.cart .items_cart {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_cart img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: white;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_cart .content {
  flex: 1;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_cart h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_cart .price_cart {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .quantity_control {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .quantity_control button {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-base);
}
.cart .quantity_control button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cart .quantity_control .quantity {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
}
.cart .delet_item {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}
.cart .delet_item:hover {
  background: var(--danger);
}
.cart .delet_item:hover i {
  color: white;
}
.cart .delet_item i {
  font-size: 16px;
  color: var(--text-secondary);
}
.cart .bottom_cart {
  padding: var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--bg-body);
}
.cart .bottom_cart .total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.cart .bottom_cart .total p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.cart .bottom_cart .price_cart_total {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cart .button_cart {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.cart .button_cart .btn {
  width: 100%;
  justify-content: center;
}
.cart .button_cart .button_cart {
  background: var(--gradient-primary);
  color: white;
}
.cart .button_cart .btn_cart {
  padding: 14px;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart .button_cart .trans_bg {
  background: transparent;
  border: 2px solid rgba(212, 165, 116, 0.3);
  color: var(--text-primary);
}
.cart .button_cart .trans_bg:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(212, 165, 116, 0.05);
  transform: translateY(-2px);
}
.cart .button_cart .trans_bg a {
  color: inherit;
}
.favorites {
  position: fixed;
  top: 0;
  right: -420px;
  bottom: 0;
  width: 420px;
  background: var(--bg-card);
  box-shadow: var(--shadow-2xl);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-base);
}
.favorites.active {
  right: 0;
}
.favorites .top_favorites {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.favorites .top_favorites h3 {
  font-size: 24px;
  font-weight: 400;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.3px;
}
.favorites .top_favorites h3 span {
  color: var(--primary);
}
.favorites .close_favorites {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}
.favorites .close_favorites:hover {
  background: var(--danger);
}
.favorites .close_favorites:hover i {
  color: white;
}
.favorites .close_favorites i {
  font-size: 24px;
  color: var(--text-primary);
}
.favorites .items_in_favorites {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
}
.favorites .items_in_favorites::-webkit-scrollbar {
  width: 6px;
}
.favorites .items_in_favorites::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}
.favorites .items_in_favorites::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}
.favorites .items_in_favorites::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}
.favorites .items_favorite {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #e8eaed;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  opacity: 1 !important;
  visibility: visible !important;
}
.favorites .items_favorite:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #d1d5db;
}
.favorites .items_favorite img {
  width: 100px;
  height: 100px;
  min-width: 100px;
  object-fit: contain;
  border-radius: 12px;
  background: #f9fafb;
  padding: 8px;
  border: 1px solid #e8eaed;
  transition: transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}
.favorites .items_favorite:hover img {
  transform: scale(1.05);
}
.favorites .items_favorite .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.favorites .items_favorite .content h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #1a1a1a;
  line-height: 1.4;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.favorites .items_favorite .content h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.favorites .items_favorite .content h4 a:hover {
  color: #d4a574;
}
.favorites .items_favorite .price_favorite {
  color: #22c55e;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.favorites .items_favorite .favorite_actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}
.favorites .items_favorite .btn_add_to_cart_fav {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  box-shadow: 0 2px 6px rgba(26, 26, 26, 0.2);
}
.favorites .items_favorite .btn_add_to_cart_fav:hover {
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.favorites .items_favorite .btn_add_to_cart_fav:active {
  transform: translateY(0);
}
.favorites .items_favorite .btn_add_to_cart_fav.active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  cursor: default;
}
.favorites .items_favorite .btn_add_to_cart_fav.active:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transform: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.favorites .items_favorite .btn_add_to_cart_fav i {
  font-size: 14px;
}
.favorites .items_favorite .delete_favorite {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #e8eaed;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.favorites .items_favorite .delete_favorite:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.favorites .items_favorite .delete_favorite:hover i {
  color: #ffffff;
}
.favorites .items_favorite .delete_favorite i {
  font-size: 16px;
  color: #6b7280;
  transition: color 0.2s ease;
}
.favorites .bottom_favorites {
  padding: 20px;
  border-top: 1px solid #eaeaea;
  background: #ffffff; /* Solid white background to prevent transparency */
  position: relative;
  z-index: 10;
  margin-top: auto;
}
.favorites .button_favorites {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.favorites .button_favorites .btn {
  width: 100%;
  justify-content: center;
}
.favorites .button_favorites .btn_favorites {
  background: var(--gradient-primary);
  color: white;
}
.favorites .button_favorites .trans_bg {
  background: transparent;
  border: 2px solid rgba(212, 165, 116, 0.3);
  color: var(--text-primary);
}
.favorites .button_favorites .trans_bg:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(212, 165, 116, 0.05);
  transform: translateY(-2px);
}
.favorites .button_favorites .trans_bg a {
  color: inherit;
}
@media (max-width: 768px) {
  .favorites {
    width: 100%;
    right: -100%;
  }
  .favorites .items_favorite {
    flex-direction: row;
    padding: 14px;
    gap: 12px;
  }
  .favorites .items_favorite img {
    width: 90px;
    height: 90px;
    min-width: 90px;
  }
  .favorites .items_favorite .content h4 {
    font-size: 14px;
  }
  .favorites .items_favorite .price_favorite {
    font-size: 16px;
  }
  .favorites .items_favorite .btn_add_to_cart_fav {
    padding: 9px 14px;
    font-size: 12px;
  }
  .favorites .items_favorite .delete_favorite {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .favorites .items_favorite {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }
  .favorites .items_favorite img {
    width: 140px;
    height: 140px;
    min-width: 140px;
    margin-bottom: 10px;
  }
  .favorites .items_favorite .favorite_actions {
    width: 100%;
    display: flex;
    flex-direction: row; /* Keep buttons next to each other */
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }
  .favorites .items_favorite .btn_add_to_cart_fav {
    flex: 1; /* Takes most of the width */
    width: auto;
    padding: 12px 10px;
    font-size: 13px;
  }
  .favorites .items_favorite .delete_favorite {
    width: 44px; /* Fixed square width */
    height: 44px;
    flex-shrink: 0;
  }
}
.checkout {
  margin: var(--space-2xl) 0;
}
.checkout .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.checkout .ordersummary {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  height: fit-content;
  position: sticky;
  top: 140px;
}
.checkout .ordersummary h1 {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
}
.checkout .ordersummary .items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: var(--space-lg);
}
.checkout .ordersummary .item_cart {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}
.checkout .ordersummary .item_cart .image_name {
  display: flex;
  gap: var(--space-md);
  flex: 1;
}
.checkout .ordersummary .item_cart img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: white;
  opacity: 1 !important;
  visibility: visible !important;
}
.checkout .ordersummary .item_cart h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.checkout .ordersummary .item_cart .price-cart {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.checkout .ordersummary .quantity_controle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout .ordersummary .quantity_controle button {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  transition: all var(--transition-base);
}
.checkout .ordersummary .quantity_controle button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.checkout .ordersummary .quantity_controle .quantity {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}
.checkout .ordersummary .delet_item {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid var(--border);
}
.checkout .ordersummary .delet_item:hover {
  background: var(--danger);
  border-color: var(--danger);
}
.checkout .ordersummary .delet_item:hover i {
  color: white;
}
.checkout .ordersummary .delet_item i {
  font-size: 16px;
  color: var(--text-secondary);
}
.checkout .ordersummary .bottom_summary {
  padding-top: var(--space-lg);
  border-top: 2px solid var(--border);
}
.checkout .ordersummary .shop_table {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.checkout .ordersummary .shop_table p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: capitalize;
}
.checkout .ordersummary .shop_table span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.checkout .ordersummary .shop_table .subTotal_checkout,
.checkout .ordersummary .shop_table .total_checkout {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.checkout .ordersummary .button_div {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--border);
}
.checkout .ordersummary .button_div button {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}
.checkout .ordersummary .button_div button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.checkout .input_info .adresse,
.checkout .input_info .coupon {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.checkout .input_info h2 {
  padding: var(--space-lg);
  background: var(--gradient-gold);
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.checkout .input_info .inputs {
  padding: var(--space-xl);
}
.checkout .input_info .inputs label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: capitalize;
}
.checkout .input_info .inputs input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
  background: var(--bg-body);
}
.checkout .input_info .inputs input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
  outline: none;
}
.checkout .input_info .btn_coupon {
  padding: 0 var(--space-xl) var(--space-xl);
}
.checkout .input_info .btn_coupon button {
  width: 100%;
  padding: 14px;
  background: var(--gradient-gold);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
}
.checkout .input_info .btn_coupon button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}
#loading-overlay.active {
  display: flex;
}
.loader {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--success);
  color: white;
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-2xl);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
#success-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.products_page_container {
  margin: 32px 0;
  padding-top: 10px;
}
.filter_section {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}
.filter_controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  align-items: end;
}
.filter_item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter_item label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter_item input,
.filter_item select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg-body);
  transition: all var(--transition-base);
  color: var(--text-primary);
}
.filter_item input:focus,
.filter_item select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
  outline: none;
}
.products_grid_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: 32px;
}
.pagination .btn {
  min-width: 44px;
  padding: 12px;
}
.pagination .btn.active {
  background: var(--gradient-primary);
  color: white;
}
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  z-index: 999;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}
.back-to-top.show {
  display: flex;
}
.back-to-top i {
  color: white;
  font-size: 20px;
}
.product_details_container {
  margin: var(--space-2xl) 0;
}
.product_details_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.product_images {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.main_image {
  position: relative;
  width: 100%;
  height: 500px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-xl);
}
.main_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}
.main_image:hover img {
  transform: scale(1.1);
}
.sale_badge_details {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.thumbnail_images {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: 8px;
}
.thumbnail {
  min-width: 100px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-body);
}
.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product_info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.product_category {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.product_title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.product_rating {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.rating_stars {
  display: flex;
  gap: 4px;
}
.rating_stars i {
  color: #fbbf24;
  font-size: 18px;
}
.rating_text {
  color: var(--text-muted);
  font-size: 14px;
}
.product_price_section {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.current_price {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.old_price {
  font-size: 24px;
  color: var(--text-light);
  text-decoration: line-through;
}
.discount_percentage {
  padding: 8px 16px;
  background: var(--gradient-secondary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}
.product_description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}
.product_specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--bg-body);
  border-radius: var(--radius-md);
}
.spec_item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.spec_item i {
  color: var(--primary);
  font-size: 20px;
}
.spec_label {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 100px;
}
.spec_value {
  color: var(--text-secondary);
}
.availability {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
}
.availability i {
  color: var(--success);
  font-size: 24px;
}
.availability span {
  color: #155724;
  font-weight: 500;
}
.availability strong {
  color: #155724;
}
.product_actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.quantity_selector {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.quantity_selector label {
  font-weight: 600;
  color: var(--text-primary);
}
.quantity_controls {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.quantity_controls button {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-body);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-base);
}
.quantity_controls button:hover {
  background: var(--primary);
  color: white;
}
.quantity_controls input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.action_buttons {
  display: flex;
  gap: var(--space-md);
}
.btn_add_to_cart {
  flex: 1;
  padding: 18px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}
.btn_add_to_cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn_add_to_cart i {
  color: white;
}
.btn_wishlist {
  width: 60px;
  height: 60px;
  border: 2px solid var(--border);
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
.btn_wishlist:hover {
  border-color: var(--danger);
  background: var(--danger);
}
.btn_wishlist:hover i {
  color: white;
}
.btn_wishlist i {
  font-size: 24px;
  color: var(--text-muted);
}
.product_tabs {
  margin-top: var(--space-2xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tabs_nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  background: var(--bg-body);
}
.tab_btn {
  flex: 1;
  padding: var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
  position: relative;
}
.tab_btn.active {
  color: var(--primary);
  background: var(--bg-card);
}
.tab_btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.tab_btn:hover {
  color: var(--primary);
}
.tab_content {
  display: none;
  padding: var(--space-2xl);
}
.tab_content.active {
  display: block;
}
.tab_content h3 {
  font-size: 20px;
  margin-bottom: var(--space-lg);
}
.tab_content p {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.tab_content strong {
  color: var(--text-primary);
}
.ingredients_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}
.ingredient_item {
  padding: var(--space-md);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid var(--border);
}
.ingredient_item i {
  color: var(--success);
  font-size: 18px;
}
.related_products {
  margin-top: var(--space-2xl);
}
.related_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}
@media (max-width: 1200px) {
  .product_details_wrapper {
    grid-template-columns: 1fr;
  }
  .checkout .container {
    grid-template-columns: 350px 1fr;
    gap: var(--space-xl);
  }
  .checkout .ordersummary {
    position: static;
  }
  footer .container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .checkout .container {
    grid-template-columns: 1fr;
  }
  .checkout .ordersummary {
    position: static;
    margin-bottom: var(--space-xl);
  }
  .slider .container {
    flex-direction: column;
    gap: 0;
  }
  .slider .container .slide-swp {
    width: 100%;
  }
  .slider .container .slide-swp img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
  }
  .banners .banners_boxs.banner_3_img {
    flex-wrap: wrap;
  }
  .banners .banners_boxs.banner_3_img .box {
    width: 48%;
  }
  .products_grid_container,
  .related_grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }
  header .top_header .container {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
  }
  header .logo {
    width: 120px;
    order: 1;
  }
  header .header_icons {
    order: 2;
    gap: 10px;
  }
  header .search_box {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: stretch;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  header .search_box .select_box {
    display: none;
  }
  header .search_box input {
    flex: 1;
    font-size: 16px;
    height: 42px;
    padding: 0 16px;
    min-width: 0;
    border: none;
    background: white;
    border-radius: 10px 0 0 10px;
  }
  header .search_box input::placeholder {
    font-size: 15px;
    color: var(--text-light);
  }
  header .search_box button {
    padding: 0 18px;
    height: 42px;
    flex-shrink: 0;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    background: var(--gradient-primary);
  }
  header .search_box button i {
    font-size: 20px;
    color: white;
  }
  header .header_icons {
    gap: 12px;
  }
  header .header_icons .icon {
    width: 44px;
    height: 44px;
  }
  header .header_icons .icon i {
    font-size: 18px;
  }
  header .bottom_header .container {
    padding: 10px 0;
  }
  header .category_nav,
  header .category_btn {
    display: none !important;
  }
  /* Legacy .nav_links mobile styling removed. Handled by css/mobile-menu.css */
  .open_Menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
  }
  .open_Menu i {
    color: var(--primary);
    font-size: 24px;
    border: 2px solid var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
  }
  .open_Menu:hover i {
    background: var(--primary);
    color: white;
  }
  .close_menu {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 2501;
    background: transparent;
    border: none;
    padding: 8px;
    transition: all var(--transition-base);
  }
  .close_menu:hover {
    transform: rotate(90deg);
    color: var(--danger);
  }
  .close_menu i {
    pointer-events: none;
  }
  header .login_signup {
    gap: 8px;
  }
  header .login_signup .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .cart {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }
  .cart.active {
    right: 0;
  }
  .cart .top_cart h3 {
    font-size: 16px;
  }
  .cart .items_cart {
    padding: 10px;
    gap: 10px;
  }
  .cart .items_cart img {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }
  .cart .items_cart h4 {
    font-size: 12px;
  }
  .cart .items_cart .price_cart {
    font-size: 14px;
  }
  .cart .top_cart {
    padding: 16px;
  }
  .cart .top_cart h3 {
    font-size: 18px;
  }
  .cart .items_in_cart {
    padding: 12px;
    overflow-y: scroll;
  }
  .cart .bottom_cart {
    padding: 16px;
  }
  .products_grid_container,
  .related_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product {
    padding: 12px;
    min-height: auto !important;
  }
  .product .img_product {
    height: 140px;
    padding: 8px;
    margin-bottom: 10px;
  }
  .product .name_product {
    font-size: 13px;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 600;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  .stars {
    margin-bottom: 10px;
  }
  .stars i {
    font-size: 14px;
  }
  .price {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .price p {
    font-size: 20px;
  }
  .price .old_price {
    font-size: 15px;
  }
  .product .icons {
    gap: 8px;
    padding-top: 12px;
  }
  .product .icons .btn_add_cart {
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px;
    gap: 6px;
    font-weight: 700;
  }
  .product .icons .icon_product {
    width: 38px;
    height: 38px;
  }
  .product .icons .icon_product i {
    font-size: 16px;
  }
  .product .sale_present {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .banners_4 .container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 8px;
  }
  .banners_4 .modern-card {
    height: 320px;
  }
  .banners_4 .card-text {
    top: 20px;
    left: 20px;
    right: 20px;
  }
  .banners_4 .card-text .product-title {
    font-size: 16px;
  }
  .banners_4 .card-text .product-desc {
    font-size: 12px;
  }
  .banners_4 .discount-box {
    bottom: 75px;
    left: 20px;
  }
  .banners_4 .discount-box .percent-text {
    font-size: 42px;
  }
  .banners_4 .cta-button {
    bottom: 20px;
    left: 20px;
    font-size: 11px;
    padding: 8px 16px;
  }
  .banners_4 .modern-card .bottle-img {
    width: 150px;
    height: 280px;
  }
  .banners .banners_boxs {
    flex-direction: column;
    gap: 12px;
  }
  .banners .banners_boxs .box {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  .banners .banners_boxs .box img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .banners .banners_boxs.banner_3_img .box {
    width: 100%;
  }
  .top_slide h2 {
    font-size: 16px;
    padding: 8px 30px;
  }
  .top_slide h2 i {
    font-size: 16px;
  }
  .slide .container .mySwiper .btn_swip {
    height: 32px;
    width: 32px;
    top: 25px;
  }
  .slide .container .mySwiper .swiper-button-prev {
    left: calc(100% - 72px);
  }
  .main_image {
    height: 350px;
    padding: 20px;
  }
  .product_title {
    font-size: 24px;
  }
  .current_price {
    font-size: 32px;
  }
  .old_price {
    font-size: 20px;
  }
  .tabs_nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab_btn {
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  .tab_content {
    padding: var(--space-lg);
  }
  .ingredients_list {
    grid-template-columns: 1fr;
  }
  .checkout .ordersummary {
    padding: var(--space-lg);
  }
  .checkout .ordersummary h1 {
    font-size: 20px;
  }
  .checkout .input_info h2 {
    padding: 12px 16px;
    font-size: 16px;
  }
  .checkout .input_info .inputs {
    padding: 16px;
  }
  footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer .big_row .logo_footer {
    width: 140px;
  }
  footer .bottom_footer .container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  footer .payment_img {
    width: 160px;
    max-width: 100%;
  }
  footer .payment_img img {
    width: 100%;
    height: auto;
  }
  .filter_controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .filter_item input,
  .filter_item select {
    padding: 10px 14px;
    font-size: 14px;
  }
  .filter_item label {
    font-size: 12px;
  }
  .filter_section {
    padding: 16px;
  }
  .top_slide h2 {
    font-size: 15px;
    padding: 8px 20px;
  }
}
@media (max-width: 600px) {
  body {
    padding-top: 170px;
  }
  header .top_header .container {
    padding: 8px 0;
    gap: 8px;
  }
  header .logo {
    width: 100px;
    order: 1;
  }
  header .header_icons {
    order: 2;
    gap: 8px;
  }
  header .search_box {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    height: 50px;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  header .search_box .select_box {
    display: none;
  }
  header .search_box input {
    flex: 1;
    font-size: 15px;
    padding: 0 14px;
    height: 50px;
    min-width: 0;
    border: none;
    background: white;
    border-radius: 10px 0 0 10px;
  }
  header .search_box input::placeholder {
    font-size: 14px;
    color: var(--text-light);
  }
  header .search_box button {
    padding: 0 18px;
    height: 50px;
    flex-shrink: 0;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    background: var(--gradient-primary);
  }
  header .search_box button i {
    font-size: 19px;
    color: white;
  }
  header .header_icons {
    gap: 10px;
  }
  header .header_icons .icon {
    width: 40px;
    height: 40px;
  }
  header .header_icons .icon i {
    font-size: 16px;
  }
  header .header_icons .icon .count {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }
  header .bottom_header .container {
    padding: 8px 0;
  }
  header .category_nav,
  header .category_btn {
    display: none !important;
  }
  header .login_signup {
    flex-wrap: wrap;
    gap: 6px;
  }
  header .login_signup .btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    min-width: 80px;
  }
  .top_slide h2 {
    font-size: 14px;
    padding: 6px 24px;
  }
  .slide .container .mySwiper .btn_swip {
    height: 28px;
    width: 28px;
    top: 22px;
  }
  .slide .container .mySwiper .swiper-button-prev {
    left: calc(100% - 64px);
  }
  .products_grid_container,
  .related_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 8px;
  }
  .product {
    padding: 14px;
    min-height: 360px;
    box-shadow: var(--shadow-md);
  }
  .product:active {
    transform: scale(0.98);
  }
  .product .img_product {
    height: 170px;
    padding: 10px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  }
  .product .name_product {
    font-size: 13px;
    min-height: 38px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
  }
  .stars {
    margin-bottom: 8px;
  }
  .stars i {
    font-size: 13px;
  }
  .price {
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .price p {
    font-size: 19px;
    font-weight: 800;
  }
  .price .old_price {
    font-size: 14px;
  }
  .product .icons {
    gap: 6px;
    padding-top: 10px;
  }
  .product .icons .btn_add_cart {
    padding: 11px 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  .product .icons .icon_product {
    width: 42px;
    height: 42px;
  }
  .product .icons .icon_product i {
    font-size: 15px;
  }
  .banners_4 .box {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .banners_4 .box img {
    width: 60px;
    height: 60px;
  }
  .banners_4 .box h5 {
    font-size: 13px;
  }
  .banners_4 .box .sale {
    justify-content: center;
  }
  .banners_4 .box .sale p {
    font-size: 12px;
  }
  .banners_4 .box .sale span {
    font-size: 20px;
  }
  .banners_4 .box h6 {
    font-size: 11px;
  }
  .main_image {
    height: 280px;
    padding: 16px;
  }
  .product_title {
    font-size: 20px;
  }
  .current_price {
    font-size: 28px;
  }
  .old_price {
    font-size: 18px;
  }
  .discount_percentage {
    padding: 6px 12px;
    font-size: 12px;
  }
  .quantity_controls button {
    width: 36px;
    height: 36px;
  }
  .quantity_controls input {
    width: 50px;
    height: 36px;
    font-size: 16px;
  }
  .btn_add_to_cart {
    padding: 14px;
    font-size: 14px;
  }
  .btn_wishlist {
    width: 50px;
    height: 50px;
  }
  .btn_wishlist i {
    font-size: 20px;
  }
  footer .big_row .logo_footer {
    width: 120px;
  }
  footer .big_row p,
  footer .row .links a {
    font-size: 13px;
  }
  footer .row h4 {
    font-size: 16px;
  }
}
@media (max-width: 500px) {
  body {
    padding-top: 160px;
  }
  .categories_swiper_wrapper {
    padding: 12px 0;
    background: #ffffff;
  }
  .categories_swiper {
    padding: 0 12px;
  }
  .category_swiper_item {
    padding: 8px 16px;
    gap: 6px;
    font-size: 12px;
  }
  .category_swiper_item i {
    font-size: 14px;
  }
  .category_swiper_item span {
    font-size: 12px;
  }
  header .search_box {
    order: 3;
    width: 100%;
    height: 48px;
    margin-top: 0;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  header .search_box .select_box {
    display: none;
  }
  header .search_box input {
    flex: 1;
    font-size: 14px;
    padding: 0 14px;
    height: 48px;
    min-width: 0;
    border: none;
    background: white;
    border-radius: 10px 0 0 10px;
  }
  header .search_box input::placeholder {
    font-size: 13px;
    color: var(--text-light);
  }
  header .search_box button {
    padding: 0 16px;
    height: 48px;
    flex-shrink: 0;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    background: var(--gradient-primary);
  }
  header .search_box button i {
    font-size: 18px;
    color: white;
  }
  header .nav_links {
    width: 100%;
    max-width: 100%;
  }
  .cart {
    width: 100%;
    max-width: 100%;
  }
  .products_grid_container,
  .related_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 4px;
  }
  .product {
    padding: 10px;
    min-height: auto !important;
    margin: 0;
  }
  .product .img_product {
    height: 130px;
    padding: 6px;
    margin-bottom: 6px;
  }
  .product .name_product {
    font-size: 12px;
    height: 34px !important;
    min-height: 34px !important;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 600;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  .stars {
    margin-bottom: 6px;
  }
  .stars i {
    font-size: 11px;
  }
  .price {
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .price p {
    font-size: 16px;
  }
  .price .old_price {
    font-size: 12px;
  }
  .product .icons {
    gap: 6px;
    padding-top: 8px;
  }
  .product .icons .btn_add_cart {
    padding: 8px 4px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product .icons .icon_product {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .product .icons .icon_product i {
    font-size: 13px;
  }
  .product .sale_present {
    top: 6px;
    right: 6px;
    padding: 4px 8px;
    font-size: 10px;
  }
}
@media (max-width: 400px) {
  body {
    padding-top: 155px;
  }
  .container {
    padding: 0 10px;
  }
  header .logo {
    width: 85px;
  }
  header .search_box {
    order: 3;
    width: 100%;
    height: 46px;
    margin-top: 0;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  header .search_box .select_box {
    display: none;
  }
  header .search_box input {
    flex: 1;
    font-size: 14px;
    padding: 0 14px;
    height: 46px;
    min-width: 0;
    border: none;
    background: white;
    border-radius: 10px 0 0 10px;
  }
  header .search_box input::placeholder {
    font-size: 13px;
    color: var(--text-light);
  }
  header .search_box button {
    padding: 0 16px;
    height: 46px;
    flex-shrink: 0;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    background: var(--gradient-primary);
  }
  header .search_box button i {
    font-size: 17px;
    color: white;
  }
  header .header_icons .icon {
    width: 36px;
    height: 36px;
  }
  header .header_icons .icon i {
    font-size: 15px;
  }
  header .login_signup .btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  .top_slide h2 {
    font-size: 13px;
    padding: 6px 20px;
  }
  .slide .container .mySwiper .btn_swip {
    height: 26px;
    width: 26px;
  }
  .products_grid_container,
  .related_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 4px;
  }
  .product {
    padding: 8px;
    min-height: 300px;
  }
  .product .img_product {
    height: 130px;
    padding: 6px;
    margin-bottom: 6px;
  }
  .product .name_product {
    font-size: 10px;
    min-height: 30px;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .stars {
    margin-bottom: 4px;
  }
  .stars i {
    font-size: 10px;
  }
  .price {
    gap: 4px;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }
  .price p {
    font-size: 15px;
  }
  .price .old_price {
    font-size: 11px;
  }
  .product .icons {
    gap: 4px;
    padding-top: 6px;
  }
  .product .icons .btn_add_cart {
    padding: 7px 3px;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product .icons .icon_product {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .product .icons .icon_product i {
    font-size: 12px;
  }
  .product .sale_present {
    top: 6px;
    right: 6px;
    padding: 3px 6px;
    font-size: 9px;
  }
  footer .big_row .logo_footer {
    width: 100px;
  }
  footer .big_row p,
  footer .row .links a {
    font-size: 12px;
  }
}
.mySwiper {
  overflow: hidden;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
input::placeholder {
  color: var(--text-light);
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}
::selection {
  background: var(--primary);
  color: white;
}
.product .name_product,
.cart .items_cart h4,
.suggestion_name,
header .category_btn p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.btn,
.btn_add_cart,
.cta-button {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 600px) {
  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 15px;
  }
  .back-to-top i {
    font-size: 16px;
  }
}
body,
html {
  overflow-x: hidden;
  max-width: 100%;
}
@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }
  .product {
    padding: 6px;
    min-height: 280px;
  }
  .product .img_product {
    height: 120px;
  }
  header .logo {
    width: 75px;
  }
}
.flip_cards_section {
  margin: 40px 0;
}
.cards-container-flip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  justify-items: center;
}
.flip_cards_section .card {
  overflow: visible;
  width: 190px;
  height: 254px;
}
.flip_cards_section .content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px #000000ee;
  border-radius: 5px;
}
.flip_cards_section .front,
.flip_cards_section .back {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}
.flip_cards_section .back {
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.flip_cards_section .back::before {
  position: absolute;
  content: " ";
  display: block;
  width: 160px;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    #ff9966,
    #ff9966,
    #ff9966,
    #ff9966,
    transparent
  );
  animation: rotation_481 5000ms infinite linear;
}
.flip_cards_section .back-content {
  position: absolute;
  width: 99%;
  height: 99%;
  background-color: #151515;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.flip_cards_section .card:hover .content {
  transform: rotateY(180deg);
}
@keyframes rotation_481 {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
.flip_cards_section .front {
  transform: rotateY(180deg);
  color: white;
}
.flip_cards_section .front .front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flip_cards_section .front-content .badge {
  background-color: #00000055;
  padding: 2px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
}
.flip_cards_section .description {
  box-shadow: 0px 0px 10px 5px #00000088;
  width: 100%;
  padding: 10px;
  background-color: #00000099;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}
.flip_cards_section .title {
  font-size: 11px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
}
.flip_cards_section .title p {
  width: 50%;
  color: white;
}
.flip_cards_section .card-footer {
  color: #ffffff88;
  margin-top: 5px;
  font-size: 8px;
}
.flip_cards_section .front .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.flip_cards_section .circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #ffbb66;
  position: relative;
  filter: blur(15px);
  animation: floating 2600ms infinite linear;
}
.flip_cards_section #bottom {
  background-color: #ff8866;
  left: 50px;
  top: 0px;
  width: 150px;
  height: 150px;
  animation-delay: -800ms;
}
.flip_cards_section #right {
  background-color: #ff2233;
  left: 160px;
  top: -80px;
  width: 30px;
  height: 30px;
  animation-delay: -1800ms;
}
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}
@media (max-width: 768px) {
  .cards-container-flip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .cards-container-flip {
    grid-template-columns: 1fr;
  }
}
.search_suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 450px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  margin-top: 2px;
}
.search_suggestions.active {
  display: block;
}
.search_suggestions::-webkit-scrollbar {
  width: 8px;
}
.search_suggestions::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.search_suggestions::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.search_suggestions::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.suggestion_item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  background: white;
}
.suggestion_item:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}
.suggestion_item:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding-left: 20px;
}
.suggestion_item.no_match {
  justify-content: center;
  color: #94a3b8;
  font-weight: 500;
  padding: 24px;
}
.suggestion_item img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease;
}
.suggestion_item:hover img {
  transform: scale(1.05);
}
.suggestion_details {
  flex: 1;
  min-width: 0;
}
.suggestion_name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.suggestion_name .hl {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
}
.suggestion_price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.suggestion_price .current_price {
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(135deg, #d4a574 0%, #c8966a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.suggestion_price .old_price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 400;
}
.suggestion_price .discount_badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}
@media (max-width: 768px) {
  #search_suggestions,
  #search_suggestions_ultimate {
    position: fixed !important;
    top: 160px !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    max-height: calc(100vh - 180px) !important;
    z-index: 10000 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  }
  .suggestion_item {
    padding: 12px 14px;
    gap: 12px;
    min-height: 70px;
  }
  .suggestion_item img {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }
  .suggestion_name {
    font-size: 13px;
  }
  .suggestion_price .current_price {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  #search_suggestions,
  #search_suggestions_ultimate {
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    top: 150px !important;
    max-height: 350px !important;
  }
  .suggestion_item {
    padding: 10px 12px;
    gap: 10px;
    min-height: 65px;
  }
  .suggestion_item img {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  .suggestion_name {
    font-size: 12px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .suggestion_price .current_price {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  #search_suggestions,
  #search_suggestions_ultimate {
    position: fixed !important;
    top: 160px !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    max-height: calc(100vh - 180px) !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  }
  .suggestion_item {
    padding: 12px 14px !important;
    min-height: 70px !important;
  }
  .suggestion_item img {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
  }
  .suggestion_name {
    font-size: 13px !important;
  }
  .suggestion_price .current_price {
    font-size: 15px !important;
  }
}
@media (max-width: 600px) {
  #search_suggestions,
  #search_suggestions_ultimate {
    max-height: 350px !important;
    top: 150px !important;
  }
  .suggestion_item img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }
  .suggestion_name {
    font-size: 12px !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
  }
}
@media (max-width: 480px) {
  #search_suggestions,
  #search_suggestions_ultimate {
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    top: 145px !important;
    max-height: 300px !important;
  }
  .suggestion_item {
    padding: 10px 12px !important;
    min-height: 65px !important;
  }
  .suggestion_item img {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
  }
}
.search_suggestions::-webkit-scrollbar {
  width: 6px;
}
.search_suggestions::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.search_suggestions::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.suggestion_item:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}
.suggestion_item:hover img {
  transform: scale(1.05);
}
.discount_badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}
.cart {
  position: fixed;
  top: 0;
  right: -400px;
  bottom: 0;
  width: 360px;
  background: #fff;
  z-index: 1100;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart.active {
  right: 0;
}
.cart .top_cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}
.cart .top_cart h3 {
  font-size: 18px;
  color: #333;
}
.cart .top_cart h3 span {
  color: #d4a574;
}
.cart .top_cart .close_cart {
  font-size: 20px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  transition: 0.3s;
}
.cart .top_cart .close_cart:hover {
  background: #e0e0e0;
}
.cart .items_in_cart {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  border-bottom: 1px solid #eee;
}
.cart .items_in_cart .items_cart {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f9f9f9;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_in_cart .items_cart:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.cart .items_in_cart .items_cart img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_in_cart .items_cart .content h4 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.4;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_in_cart .items_cart .content .price_cart {
  color: #d4a574;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}
.cart .items_in_cart .items_cart .delet_item {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: #ff4757;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
}
.cart .bottom_cart {
  padding: 20px;
  background: #fff;
}
.cart .bottom_cart .total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.cart .bottom_cart .total .price_cart_total {
  color: #d4a574;
}
.cart .bottom_cart .button_cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart .bottom_cart .btn_cart {
  width: 100%;
  padding: 12px;
  border: 2px solid #d4a574;
  background: #d4a574;
  color: #fff;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}
.cart .bottom_cart .btn_cart:hover {
  background: #c09060;
  border-color: #c09060;
}
.cart .bottom_cart .trans_bg {
  background: transparent;
  color: #d4a574;
}
.cart .bottom_cart .trans_bg:hover {
  background: #d4a574;
  color: #fff;
}
/* ============================================================
EMERGENCY SEARCH FIX - RESTORING DESKTOP & MOBILE SEARCH
============================================================ */
/* 1. Ensure Desktop Search is VISIBLE when not scrolled */
@media (min-width: 769px) {
  header:not(.scrolled) .search_box {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}
/* 2. Fix Mobile Search Bar at the BOTTOM */
@media (max-width: 768px) {
  /* The search box itself */
  header .search_box.toggleable-search {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px !important;
    border-top: 2px solid #d4a574 !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 999999 !important;
    margin: 0 !important;
    display: flex !important;
    /* Always flex but hidden by opacity */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  /* Active state when toggled */
  body header.search-open .search_box,
  header .search_box.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  /* Adjust input and button for bottom bar */
  header .search_box input {
    height: 50px !important;
    font-size: 16px !important;
    border: 1px solid #eee !important;
    border-radius: 12px 0 0 12px !important;
  }
  header .search_box button {
    height: 50px !important;
    background: #d4a574 !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 0 20px !important;
  }
}
/* ============================================================
PERMANENT SEARCH BAR - ALWAYS VISIBLE BELOW HEADER
============================================================ */
/* Desktop: Hide permanent search bar, show inline search */
/* Desktop: Hide permanent search bar, show inline search, hide menu icon */
@media (min-width: 769px) {
  header .permanent-search-bar,
  header form.permanent-search-bar,
  .permanent-search-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  header .desktop-search-bar {
    display: flex !important;
  }
  /* Hide hamburger menu on desktop */
  header .menu_icon {
    display: none !important;
  }
  /* Refined Desktop Search Bar styling (Glassy/Premium) */
  header .search_box.desktop-search-bar {
    background: #f1f3f5 !important;
    border-radius: 30px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.1);
    max-width: 250px;
    padding: 0 !important;
    /* Remove padding to keep button flush */
    height: 44px;
    /* Fixed height for consistency */
    display: flex !important;
    align-items: center;
    overflow: hidden;
    /* Ensure button doesn't overflow */
  }
  header .search_box.desktop-search-bar input {
    background: transparent;
    padding: 0 15px;
    color: #2c2c2c;
    height: 100%;
    border: none !important;
    flex: 1;
  }
  header .search_box.desktop-search-bar button {
    background: #1a1a1a !important;
    color: white;
    padding: 0 18px;
    border-radius: 30px !important;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: none;
    margin: 0;
    cursor: pointer;
  }
  header .search_box.desktop-search-bar button:hover {
    background: var(--accent-color) !important;
  }
  header .search_box.desktop-search-bar button i {
    color: white;
    font-size: 16px;
  }
}
/* Hide Premium Banner Section on Mobile */
@media (max-width: 768px) {
  .premium-banner-section {
    display: none !important;
  }
}
/* Ensure Icons are Dark on Solid Header (and Scrolled) */
 header.header-solid .header_icons .icon,
 header.scrolled .header_icons .icon {
   background: transparent !important;
   border: none !important;
 }
 header.header-solid .header_icons .icon i,
 header.scrolled .header_icons .icon i {
   color: #2c2c2c;
 }
 header.header-solid .header_icons .icon:hover,
 header.scrolled .header_icons .icon:hover {
   background: transparent !important;
 }
 header.header-solid .header_icons .icon:hover i,
 header.scrolled .header_icons .icon:hover i {
   color: #d4a574; /* Change to primary color instead of white */
 }
/* Fix cart count on solid header */
header.header-solid .header_icons .count,
header.scrolled .header_icons .count {
  border-color: #ffffff;
}
/* Mobile: Show permanent search bar, hide inline search */
@media (max-width: 768px) {
  header .desktop-search-bar {
    display: none !important;
  }
  header .permanent-search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex !important;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-bottom: 2px solid #d4a574;
  }
  header .permanent-search-bar input {
    flex: 1;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    background: #f9f9f9;
    outline: none;
  }
  header .permanent-search-bar input:focus {
    background: #fff;
    border-color: #d4a574;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
  }
  header .permanent-search-bar button {
    height: 50px;
    background: #d4a574;
    border-radius: 12px;
    border: none;
    padding: 0 20px;
    min-width: 50px;
    margin-left: 10px;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
  }
  header .permanent-search-bar button:hover {
    transform: scale(1.05);
  }
  header .permanent-search-bar button:active {
    transform: scale(0.95);
  }
}
/* Smart Header Visibility - Reverted to Auto-Hide ("SCROLL IKHRAFI") */
header.header-hidden {
  transform: translateY(-100%) !important;
}
/* Force Solid White Header (for non-home pages) */
header.header-solid {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important; /* Ultra-light shadow for clean look */
}
/* ========================================= SMART LOGO COLORING ========================================= */ /* Default: Transparent Header (Homepage) -> Force White Logo */
header:not(.scrolled):not(.header-solid) .logo img {
  /* filter removed */
  opacity: 0.95;
}
/* Scrolled or Solid Header -> Original Colors (Gold/Black) */
header.scrolled .logo img,
header.header-solid .logo img {
  filter: none;
  opacity: 1;
}
/* Footer Logo -> Keep Original or White depending on footer bg? Footer is dark, so usually we want white. If image is dark, invert it. If image is gold, keep it. Let's ensure footer logo pops too. */
footer .logo_footer {
  /* filter removed */
  /* Make footer logo white too for dark footer */
}
/* Fix Overlap on Products Page ("DAKHLAT M3A LES PRODUIT") */
/* Push content down to account for fixed header + category bar */
.products_hero_section {
  margin-top: 0 !important;
  /* Removed gap */
  margin-bottom: 0 !important;
}
/* =========================================
MOBILE VISIBLE SEARCH BAR ("JUST THERE")
========================================= */
.mobile-search-bar-visible,
.mobile_search_container_wrapper {
  display: none !important;
  /* STRICTLY HIDDEN ON DESKTOP */
}
/* Fix Overlap: Ensure User Dropdown is on TOP of everything */
#userDropdown {
  z-index: 99999 !important;
  /* "KIDAKHL M3A SEARCH BAR" Fix */
}
@media (max-width: 768px) {
  /* Target specifically to override global header .search_box rules */
  header .search_box.mobile-search-bar-visible {
    display: flex !important;
    flex-direction: row-reverse !important;
    /* "Icon on Left" - Reverse order */
    position: relative;
    width: 240px !important;
    max-width: 90% !important;
    /* Premium Clean White Look ("BHAD XKL" - Like Image 0) */
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 4px 6px !important;
    margin: 10px auto !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    height: 38px !important;
  }
  header .search_box.mobile-search-bar-visible input {
    border: none !important;
    background: transparent !important;
    flex: 1 !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    color: #333 !important;
    outline: none !important;
    height: 100% !important;
    text-align: left !important;
  }
  header .search_box.mobile-search-bar-visible button {
    background: transparent !important;
    /* Force no background ("7YD DAK LBORDER LKBIR") */
    border: none !important;
    color: #888 !important;
    /* Grey icon like reference Image 0 */
    padding: 0 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    cursor: pointer !important;
    min-width: unset !important;
    /* Remove min-width from global */
    border-radius: 0 !important;
  }
  header .search_box.mobile-search-bar-visible button i {
    font-size: 14px !important;
    color: #888 !important;
    /* Professional grey icon */
  }
  .mobile_search_container_wrapper {
    display: block !important;
    /* Re-enable on mobile */
    padding: 0 15px;
  }
  /* Adjust main content overlap for mobile since header is taller */
  .products_hero_section {
    margin-top: 100px !important;
    /* Reduced significantly for compact layout */
    margin-bottom: 10px !important;
    /* Minimal bottom margin */
  }
}
/* =========================================
GLOBAL SEARCH SUGGESTIONS DROPDOWN
========================================= */
.search_suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 12px 12px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  margin-top: 5px;
  border: 1px solid #eee;
  animation: fadeIn 0.2s ease-out;
}
.search_suggestions.active {
  display: block;
}
/* Ensure parent has visible overflow */
form.search_box,
.search_box {
  overflow: visible !important;
}
.suggestion_item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f9f9f9;
  transition: background 0.2s ease;
}
.suggestion_item:last-child {
  border-bottom: none;
}
.suggestion_item:hover {
  background-color: #f7f7f7;
}
.suggestion_item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
  border: 1px solid #eee;
}
.suggestion_info {
  flex: 1;
}
.suggestion_info h4 {
  margin: 0 0 3px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.2;
}
.suggestion_info .price {
  margin: 0;
  font-size: 13px;
  color: #d4a574;
  /* Brand Gold */
  font-weight: 600;
}
.no_suggestions {
  padding: 15px;
  text-align: center;
  color: #888;
  font-size: 13px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Popup */
#success-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #10b981; /* Green success color */
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  z-index: 10000; /* Very high z-index */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

#success-popup.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    padding: 60px 0 80px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonials-swiper {
    padding-bottom: 50px !important; /* Space for pagination */
    padding-top: 20px !important;
}

/* Make all testimonial cards same height (per row) */
.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-swiper .testimonial-card {
    width: 100%;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15); /* Gold tint shadow */
    border-color: rgba(212, 165, 116, 0.3);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.client-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    font-family: 'Inter', sans-serif;
}

.client-details .stars {
    color: #FFC107; /* Star Color */
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    flex: 1; /* Pushes badge to bottom */
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10b981; /* Green */
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    align-self: flex-start;
}

/* Swiper Pagination Customization */
.testimonials-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-section .swiper-pagination-bullet-active {
    background: #d4a574;
    width: 20px;
    border-radius: 5px;
}

/* =========================================
   MOBILE SEARCH DROPDOWN (Fixed)
   ========================================= */
.mobile-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-search-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-search-dropdown .search_box {
    width: 100%;
    max-width: 100% !important;
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
}

.mobile-search-dropdown input {
    color: #333 !important;
}

.mobile-search-dropdown button i {
    color: #333 !important;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    padding: 60px 0 80px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonials-swiper {
    padding-bottom: 50px !important; /* Space for pagination */
    padding-top: 20px !important;
}

/* Make all testimonial cards same height (per row) */
.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-swiper .testimonial-card {
    width: 100%;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15); /* Gold tint shadow */
    border-color: rgba(212, 165, 116, 0.3);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.client-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    font-family: 'Inter', sans-serif;
}

.client-details .stars {
    color: #FFC107; /* Star Color */
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    flex: 1; /* Pushes badge to bottom */
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10b981; /* Green */
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    align-self: flex-start;
}

/* Swiper Pagination Customization */
.testimonials-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-section .swiper-pagination-bullet-active {
    background: #d4a574;
    width: 20px;
    border-radius: 5px;
}

/* =========================================
   MOBILE SEARCH DROPDOWN (Fixed)
   ========================================= */
.mobile-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-search-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-search-dropdown .search_box {
    width: 100%;
    max-width: 100% !important;
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
}

.mobile-search-dropdown input {
    color: #333 !important;
}

.mobile-search-dropdown button i {
    color: #333 !important;
}



/* ---- 2026 LOGO & SEARCH INTERACTION MASTER FIX ---- */
@media (min-width: 992px) {
    /* 1. Large Logo in ALL States */
    header .logo {
        width: 180px !important; 
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow: visible !important;
        transition: width 0.3s ease, opacity 0.3s ease !important;
    }

    header .logo img {
        height: 100px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateX(-40px) scale(1.2) !important; /* Exploit left padding */
        object-fit: contain !important;
    }

    /* Keep it exactly the same when scrolled */
    header.scrolled .logo {
        width: 180px !important;
        margin: 0 !important;
    }

    /* 2. Search Bar Normal State (Top) */
    header .desktop-search-bar {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 350px !important; /* Normal width */
    }
    
    header .desktop-search-bar input {
        transition: all 0.4s ease !important;
        width: 100% !important;
        opacity: 1 !important;
        padding: 0 15px !important;
    }

    /* 3. Search Bar Collapsed State (Scrolled) */
    header.scrolled:not(.desktop-search-active) .desktop-search-bar {
        width: 44px !important; /* Shrink to icon */
        background: transparent !important;
        cursor: pointer !important;
    }

    header.scrolled:not(.desktop-search-active) .desktop-search-bar input {
        width: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    header.scrolled:not(.desktop-search-active) .desktop-search-bar button {
        width: 44px !important;
        border-radius: 50% !important;
        background: #1a1a1a !important;
        color: #fff !important;
        pointer-events: none !important;
    }

    /* 4. Search Bar Expanded State (Scrolled + Active) */
    header.scrolled.desktop-search-active .desktop-search-bar {
        width: 400px !important; /* Full width */
        background: #f8f8f8 !important;
    }

    /* 5. Hide Logo when Search Expanded */
    header.scrolled.desktop-search-active .logo {
        width: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Footer & Mobile Logo Fix */
footer .logo_footer { overflow: visible !important; width: 180px !important; }
footer .logo_footer img { height: 80px !important; transform: translateX(-30px) !important; }

@media (max-width: 991px) {
    header .logo { width: 140px !important; overflow: visible !important; }
    header .logo img { height: 90px !important; transform: translateX(-30px) scale(1.1) !important; }
}

/* MOBILE PERMANENT ADD TO CART FIX */
@media (max-width: 991px) {
    .product {
        position: relative !important;
        padding-bottom: 50px !important; /* Ensure space at bottom */
    }
    .product .icons {
        position: absolute !important;
        bottom: 12px !important;
        right: 12px !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
        flex-direction: row-reverse !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
    }
    .product .btn_add_cart {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #0d2b1a !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 0 !important; /* Hides text */
        box-shadow: 0 4px 12px rgba(13,43,26,0.15) !important;
        transition: all 0.3s ease !important;
    }
    .product .btn_add_cart.active {
        background: #d4a574 !important; /* Gold when active */
    }
    .product .btn_add_cart i {
        font-size: 15px !important;
        margin: 0 !important;
    }
    .product .price {
        margin-bottom: 0 !important;
        margin-top: auto !important;
        padding-right: 45px !important; /* Prevent overlapping price and cart icon */
        border: none !important;
    }
    /* Adjust buy now button to match if present */
    .product .btn_buy_now {
        font-size: 11px !important;
        height: 32px !important;
        padding: 0 10px !important;
        border-radius: 20px !important;
    }
    /* Do not hide heart randomly if it's already top right */
}
