/* ========================================
   Niloofar Beauty Website - Custom Styles
   Colors from Figma Design
   ======================================== */

/* Local Fonts - IRANYekanFN */
@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-Thin.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-Light.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN.woff2") format("woff2"),
    url("../fonts/IRANYekanFN.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-Medium.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-Bold.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-ExtraBold.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-Black.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanFN";
  src: url("../fonts/IRANYekanFN-ExtraBlack.woff2") format("woff2"),
    url("../fonts/IRANYekanFN-ExtraBlack.woff") format("woff");
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

/* Local Fonts - DanaFaNum */
@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Hairline.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Hairline.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Thin.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Thin.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-UltraLight.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-UltraLight.woff") format("woff");
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Light.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Regular.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Medium.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-DemiBold.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-DemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Bold.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-ExtraBold.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DanaFaNum";
  src: url("../fonts/woff2/DanaFaNum-Black.woff2") format("woff2"),
    url("../fonts/woff/DanaFaNum-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #012fff;
  --primary-light: #4264ff;
  --secondary: #ff9c00;
  --dark: #1a1a1a;
  --gray: #5b5b5b;
  --gray-light: #9f9f9f;
  --light: #f8f9fa;
  --white: #ffffff;
  --gradient-primary: linear-gradient(180deg, #012fff 0%, #4264ff 100%);
  --gradient-blue-dark: linear-gradient(135deg, #0a1a3f 0%, #1a2e5a 100%);
  --shadow-soft: 0px 4px 60px rgba(0, 0, 0, 0.07);
  --shadow-medium: 0px 4px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "IRANYekanFN", "DanaFaNum", "Tahoma", sans-serif;
  direction: rtl;
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.8;
}

.en-font {
  font-family: "DanaFaNum", "IRANYekanFN", sans-serif;
  direction: ltr;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Header Styles
   ======================================== */
.top-header {
  padding: 15px 0;
  background: var(--white);
}

.logo-text {
  font-family: "DanaFaNum", sans-serif;
  font-weight: 500;
  font-size: 21px;
  color: var(--dark);
  line-height: 1;
}

.logo-subtitle {
  font-family: "DanaFaNum", sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--dark);
  opacity: 0.5;
  letter-spacing: 11.4px;
}

.logo-img {
  width: 100%;
  height: 51px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-size: 15px;
  color: var(--dark);
  opacity: 0.5;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary);
}

.nav-link.active {
  opacity: 1;
  color: var(--dark);
}

.search-box {
  position: relative;
  width: 369px;
}

.search-box input {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  padding: 0 50px 0 15px;
  font-family: inherit;
  font-size: 12px;
  direction: rtl;
  box-shadow: var(--shadow-soft);
}

.search-box input::placeholder {
  color: var(--gray);
  opacity: 0.5;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  border: none  !important;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.search-icon:hover {
  box-shadow: var(--shadow-soft);
}
.search-icon i {
  color: #1f47fd;
}

/* Search box as form element */
form.search-box {
  position: relative;
  width: 369px;
}
form.search-box input {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  padding: 0 50px 0 15px;
  font-family: inherit;
  font-size: 12px;
  direction: rtl;
  box-shadow: var(--shadow-soft);
}
form.search-box input::placeholder {
  color: var(--gray);
  opacity: 0.5;
}

.btn-login {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 12px 25px;
  border-radius: var(--radius-md);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.3);
  color: var(--white);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-wrapper {
  position: relative;
  cursor: pointer;
}

.icon-badge {
  position: absolute;
  top: -8px;
  left: -5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 2px solid var(--white);
}

.icon-badge.blue {
  background: var(--primary);
}

.icon-badge.orange {
  background: var(--secondary);
}

/* Secondary Header */
.secondary-header {
  background: #0c0b28;
  padding: 12px 0;
  position: relative;
  overflow: visible;
}

.secondary-header::before {
  content: "";
  position: absolute;
  right: 80%;
  top: -50%;
  width: 150px;
  height: 200%;
  background: rgba(255, 255, 255, 0.03);
  transform: rotate(20deg);
}

.category-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
}
.category-dropdown img{
        scale: 3.5;
    margin-left: 16px;
    margin-right: 12px;
}
.sec-nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-light);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sec-nav-item:hover {
  color: var(--white);
}

.sec-nav-item.highlight {
  color: #fcf1d8;
  font-weight: bold;
  font-size: 11px;
}

/* ========================================
   Mega Menu Styles
   ======================================== */
.category-dropdown-wrapper {
  position: relative;
}

/* Bridge element to maintain hover between dropdown and menu */
.category-dropdown-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 25px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
}

.category-dropdown-wrapper:hover::after {
  opacity: 1;
  visibility: visible;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 900px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: visible;
}

/* Invisible bridge area above mega menu */
.mega-menu::after {
  content: "";
  position: absolute;
  top: -25px;
  right: 0;
  width: 100%;
  height: 30px;
  background: transparent;
}

.category-dropdown-wrapper:hover .mega-menu,
.category-dropdown-wrapper.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-dropdown-wrapper:hover .category-dropdown i,
.category-dropdown-wrapper.active .category-dropdown i {
  transform: rotate(180deg);
}

.category-dropdown i {
  transition: transform 0.3s ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 30px;
  width: 20px;
  height: 20px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 4px;
}

.mega-menu-container {
  display: flex;
  direction: rtl;
}

/* Sidebar Categories */
.mega-menu-sidebar {
  width: 220px;
  background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f5 100%);
  padding: 15px 0;
  flex-shrink: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-menu-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #555;
  font-size: 14px;
  position: relative;
}

.mega-category-item i:first-child {
  width: 20px;
  text-align: center;
  color: var(--gray-light);
  transition: color 0.25s ease;
}

.mega-category-item span {
  flex: 1;
}

.mega-category-item i:last-child {
  font-size: 10px;
  opacity: 0;
  transform: translateX(5px);
  transition: all 0.25s ease;
}

.mega-category-item:hover,
.mega-category-item.active {
  background: var(--white);
  color: var(--primary);
}

.mega-category-item:hover i:first-child,
.mega-category-item.active i:first-child {
  color: var(--primary);
}

.mega-category-item:hover i:last-child,
.mega-category-item.active i:last-child {
  opacity: 1;
  transform: translateX(0);
}

.mega-category-item.active::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}

/* Content Panels */
.mega-menu-content {
  flex: 1;
  padding: 25px 30px;
  min-height: 400px;
}

.mega-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}

.mega-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mega-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.mega-panel-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 12px;
  color: var(--primary);
}

.view-all-link i {
  font-size: 11px;
}

/* Panel Columns */
.mega-panel-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.mega-column h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.mega-column h5::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 10px;
}

.mega-column ul li a {
  font-size: 13px;
  color: #666;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-column ul li a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.mega-column ul li a:hover {
  color: var(--primary);
  padding-right: 8px;
}

.mega-column ul li a:hover::before {
  width: 12px;
}

/* Panel Banner */
.mega-panel-banner {
  margin-top: 25px;
}

.mega-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}

.mega-banner.makeup-banner {
  background: linear-gradient(135deg, #ff9c00 0%, #ff6b00 100%);
}

.mega-banner-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.mega-banner h5 {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.mega-banner-btn {
  background: var(--white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mega-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary);
}

.mega-banner.makeup-banner .mega-banner-btn {
  color: var(--secondary);
}

.mega-banner.makeup-banner .mega-banner-btn:hover {
  color: var(--secondary);
}

/* Mega Menu Responsive */
@media (max-width: 992px) {
  .mega-menu {
    width: calc(100% + 30px);
    max-width: 100vw;
    right: -15px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .mega-menu-container {
    flex-direction: column;
  }

  .mega-menu-sidebar {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
  }

  .mega-menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 15px;
  }

  .mega-category-item {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
  }

  .mega-category-item i:last-child {
    display: none;
  }

  .mega-category-item.active::before {
    display: none;
  }

  .mega-category-item.active {
    background: var(--primary);
    color: var(--white);
  }

  .mega-category-item.active i:first-child {
    color: var(--white);
  }

  .mega-menu-content {
    padding: 20px;
    min-height: auto;
  }

  .mega-panel-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .mega-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Mobile Mega Menu Close Button */
.mega-menu-close {
  display: none;
}

@media (max-width: 576px) {
  .mega-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    transform: translateX(100%);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .category-dropdown-wrapper:hover .mega-menu {
    transform: translateX(100%);
  }

  .category-dropdown-wrapper.active .mega-menu {
    transform: translateX(0);
  }

  .mega-menu::before,
  .mega-menu::after {
    display: none !important;
  }

  .mega-menu-container {
    flex-direction: column !important;
    width: 100% !important;
    padding-top: 70px;
    min-height: 100vh;
  }

  .mega-menu-sidebar {
    width: 100% !important;
    border-left: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mega-menu-content {
    width: 100% !important;
    padding: 20px;
    flex: 1;
  }

  .mega-menu-close {
    display: flex !important;
    position: fixed;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    border: none;
    font-size: 18px;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mega-menu-close:hover {
    background: var(--primary);
    color: var(--white);
  }

  .mega-menu-container {
    padding-top: 60px;
  }

  .mega-panel-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mega-panel-header h4 {
    font-size: 16px;
  }

  .mega-column h5 {
    font-size: 13px;
  }

  .mega-column ul li a {
    font-size: 12px;
  }

  .mega-banner {
    padding: 15px;
  }

  .mega-banner h5 {
    font-size: 14px;
  }
}

.phone-number {
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  direction: ltr;
  text-decoration: none;
}

.phone-number:hover {
  color: var(--white);
}

/* City code (021) - Orange */
.phone-number span:first-child {
  color: var(--secondary);
}

/* Separator (-) - Dark */
.phone-number .phone-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 2px;
}

.support-time {
  color: var(--white);
  opacity: 0.45;
  font-size: 15px;
}

/* ========================================
   Hero Slider Section
   ======================================== */
.hero-section {
  padding: 20px 0;
}

.main-slider {
  background: linear-gradient(135deg, #e8f4fc 0%, #d4e8f5 50%, #c9dff0 100%);
  border-radius: var(--radius-xl);
  height: 425px;
  position: relative;
  overflow: hidden;
}

.slider-content {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 2;
}

.slider-content h2 {
  font-size: 26px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-content p {
  color: var(--white);
  opacity: 0.5;
  font-size: 15px;
  margin-top: 10px;
}

.btn-view {
  background: rgba(255, 255, 255, 0.17);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 30px;
  border-radius: 4px;
  background: var(--white);
}

/* Hero Swiper Styles */
.main-hero-swiper,
.side-hero-swiper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.main-hero-swiper .swiper-slide,
.side-hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.main-hero-swiper .main-slider {
  height: 425px;
}

.main-slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.main-slider-pagination .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.main-slider-pagination .dot.active {
  width: 30px;
  border-radius: 4px;
  background: var(--white);
}

.main-slider-pagination .dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.main-slider-pagination .dot.active:hover {
  background: var(--white);
}

/* ========================================
   Side Card Slider (New Design)
   ======================================== */
.side-card-wrapper {
  position: relative;
  width: 100%;
  height: 425px;
}

.side-card {
  background: linear-gradient(160deg, #2a5bfc 0%, #0d3eff 100%);
  width: 100%;
  height: 100%;
  border-radius: 35px;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
}

/* Side Card Header */
.side-card-header {
  padding: 25px 25px 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-offer-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

.side-timer {
  font-weight: 700;
  font-size: 1rem;
  direction: ltr;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 10px;
}

/* Side Discount Badge */
.side-discount-badge {
  position: absolute;
  top: 120px;
  left: -8px;
  background-color: #ff9f0a;
  width: 58px;
  height: 68px;
  border-radius: 12px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  line-height: 1;
  color: white;
}

.side-percent-row {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
}

.side-discount-badge .side-number {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.side-discount-badge .side-symbol {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 3px;
}

.side-discount-badge .side-discount-text {
  font-size: 0.7rem;
  font-weight: 700;
}

/* Side Hero Swiper */
.side-hero-swiper {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.side-slide-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px;
}

.side-slide-content img {
  height: 160px;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.25));
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.side-slide-content img:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Side Card Footer */
.side-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
  padding: 0 20px;
  margin-bottom: 45px;
  position: relative;
  z-index: 5;
}

.side-price-info {
  text-align: right;
  direction: rtl;
}

.side-current {
  font-size: 1.15rem;
  font-weight: 900;
}

.side-current .side-unit {
  font-size: 0.65rem;
  font-weight: 400;
}

.side-old {
  font-size: 0.75rem;
  opacity: 0.6;
  text-decoration: line-through;
  position: relative;
}

.side-btn-buy {
  background: white;
  color: #0d3eff;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.side-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #0d3eff;
}

.side-btn-buy:active {
  transform: scale(0.96);
}

/* Side White Curve SVG */
.side-white-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 4;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  overflow: hidden;
}

.side-white-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Side Dots Wrapper */
.side-dots-wrapper {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.side-dots-wrapper .dot {
  width: 8px;
  height: 8px;
  background-color: #dbeafe;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.side-dots-wrapper .dot.active {
  background-color: #2a5bfc;
  width: 22px;
  border-radius: 15px;
}

/* ========================================
   Categories Section
   ======================================== */
.categories-section {
  padding: 50px 0 30px;
}

.categories-section .row {
  display: flex;
  justify-content: center;
}

/* Custom 6 columns for categories */
.category-col {
  flex: 0 0 16.666%;
  max-width: 16.666%;
  padding: 0 8px;
}

.category-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius-lg);
  padding: 15px 15px 15px 20px;
  position: relative;
  overflow: visible;
  margin-top: 35px;
}

.category-img-wrapper {
  width: auto;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  right: 10px;
  top: -30px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.category-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: scale-down;
}

.category-content {
  flex: 1;
  text-align: right;
  padding-right: 105px;
}

.category-card h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray);
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.category-link:hover,
.category-card:hover .category-link {
  background: var(--primary);
  color: var(--white);
}

/* Responsive for category cards */
@media (max-width: 1200px) {
  .category-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .category-col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .category-card {
    padding: 12px 12px 12px 15px;
    margin-top: 30px;
  }

  .category-img-wrapper {
    width: 70px;
    height: 70px;
    top: -25px;
  }

  .category-content {
    padding-right: 50px;
  }

  .category-card h6 {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .category-link {
    padding: 5px 10px;
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .category-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 5px;
  }

  .category-card {
    padding: 10px;
    margin-top: 25px;
    padding-right: 0;
  }

  .category-img-wrapper {
  width: 100px;
    height: 100px;
    top: -20px;
    right: 5px;
  }

  .category-content {
    padding-right: 105px;
  }

  .category-card h6 {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .category-link {
        padding: 7px 12px;
        font-size: 10px;
        margin-top: 9px;
  }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title {
  display: flex;
  flex-direction: column;
}

.section-title h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.section-title span {
  font-family: "DanaFaNum", sans-serif;
  font-size: 14px;
  color: var(--gray);
  opacity: 0.7;
  text-align: right;
}

.nav-arrows {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
}

.nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ========================================
   Product Cards - New Design
   ======================================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgb(168 168 168 / 27%);
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

/* Product Header - Rating Circle & Bookmark */
.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* Rating Circle Progress */
.rating-circle {
  width: 60px;
  height: 60px;
  position: relative;
}

.rating-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rating-circle .circle-bg {
  fill: none;
  stroke: #e8e8e8;
  stroke-width: 3;
}

.rating-circle .circle-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease, stroke 0.3s ease;
}

.rating-circle .rating-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.3s ease;
}

/* Rating Circle Color Variants based on percentage */
/* Red: 0-25% */
.rating-circle.rating-red .circle-progress {
  stroke: #ef4444;
}
.rating-circle.rating-red .rating-text {
  color: #ef4444;
}

/* Orange: 26-50% */
.rating-circle.rating-orange .circle-progress {
  stroke: #f97316;
}
.rating-circle.rating-orange .rating-text {
  color: #f97316;
}

/* Blue: 51-75% */
.rating-circle.rating-blue .circle-progress {
  stroke: var(--primary);
}
.rating-circle.rating-blue .rating-text {
  color: var(--primary);
}

/* Green: 76-100% */
.rating-circle.rating-green .circle-progress {
  stroke: #22c55e;
}
.rating-circle.rating-green .rating-text {
  color: #22c55e;
}

/* Bookmark Button */
.bookmark-btn {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border:none !important;
  transition: all 0.3s ease;
}

.bookmark-btn i {
  font-size: 22px;
  color: var(--gray-light);
  transition: all 0.3s ease;
}

.product-card:hover .bookmark-btn {
  background: rgba(255, 71, 87, 0.1);
}

.product-card:hover .bookmark-btn i {
  color: #ff4757;
}

.bookmark-btn.active i {
  font-weight: 900;
  color: #ff4757;
}

/* Product Image */
.product-img-wrapper {
  text-align: center;
  padding: 20px 0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
}

/* Color Options */
.color-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 15px 0;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.color-dot:hover,
.color-dot.active {
  transform: scale(1.2);
}

/* Product Info */
.product-info {
  padding-top: 15px;
  text-align: center;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.8;
  min-height: 36px;
}

/* Price Range */
.product-price-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-price-range span {
  font-size: 13px;
  color: var(--gray);
}

.product-price-range strong {
  color: var(--dark);
  font-weight: 600;
}

.product-price-range strong.text-danger {
  color: #e74c3c !important;
}

/* Product Footer */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-top: 15px;
}

/* Buy Button */
.btn-buy-product {
  background: #e8e8e8;
  border: none;
  color: var(--gray);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-buy-product:hover,
.product-card:hover .btn-buy-product {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.3);
}

/* Price Box */
.price-box {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 20px;
}

.price-box .price-label {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 2px;
}

.price-box .current-price {
  font-size: 18px;
  font-weight: 700;
  color: #012fff;
}

.price-box .old-price {
  font-size: 13px;
  color: var(--gray-light);
  text-decoration: line-through;
}

/* Product Swiper Slider */
.popular-swiper,
.newest-swiper,
.third-swiper {
  overflow: hidden;
  padding: 10px 0;
}

.popular-swiper .swiper-slide,
.newest-swiper .swiper-slide,
.third-swiper .swiper-slide {
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .product-card {
    padding: 15px;
  }

  .rating-circle {
    width: 50px;
    height: 50px;
  }

  .rating-circle .rating-text {
    font-size: 12px;
  }

  .bookmark-btn {
    width: 45px;
    height: 45px;
  }

  .bookmark-btn i {
    font-size: 18px;
  }

  .product-img-wrapper {
    height: 140px;
  }

  .product-img-wrapper img {
    max-height: 120px;
  }

  .product-title {
    font-size: 13px;
    min-height: 46px;
  }

  .btn-buy-product {
    padding: 12px 18px;
    font-size: 12px;
  }

  .price-box .current-price {
    font-size: 15px;
  }
}

/* ========================================
   Featured Product Section
   ======================================== */
.featured-section {
  padding: 30px 0;
}

/* کانتینر اصلی نوار آبی */
.featured-tabs {
  background-color: #304ffe;
  width: 100%;
  height: 70px;
  direction: ltr;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 10px 20px rgba(48, 79, 254, 0.2);
  position: relative;
  user-select: none;
  margin-bottom: 50px;
}

/* --- بخش سمت راست (عنوان) --- */
.featured-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.featured-title span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.featured-check-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-check-icon svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.featured-check-icon i {
  display: none;
}

/* --- بخش وسط (لینک‌ها) --- */
.featured-tabs-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.featured-tab {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 0 15px;
  font-size: 0.95rem;
  transition: color 0.3s;
  cursor: pointer;
}

.featured-tab:hover {
  color: white;
}

/* خط جداکننده بین لینک‌ها */
.featured-separator {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 5px;
}

/* استایل آیتم فعال */
.featured-tab.active {
  color: white;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

/* ساختن شکل منحنی پایین آیتم فعال */
.active-curve {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  pointer-events: none;
}

.active-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- بخش چپ (دکمه‌ها) --- */
.featured-nav-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.featured-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.featured-nav-arrow:active {
  transform: scale(0.95);
}

.featured-nav-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.featured-nav-arrow i {
  font-size: 14px;
  color: var(--white);
}

/* دکمه نارنجی */
.featured-nav-arrow.prev {
  background-color: #fbbf24;
}

/* دکمه آبی کم‌رنگ */
.featured-nav-arrow.next {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Featured Tabs Responsive */
@media (max-width: 992px) {
  .featured-tabs {
    flex-wrap: wrap;
    height: auto;
    gap: 15px;
    padding: 15px 20px;
  }

  .featured-title {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .featured-tabs-list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    gap: 5px;
  }

  .featured-nav-arrows {
    width: 100%;
    justify-content: center;
  }

  .active-curve {
    display: none;
  }

  .featured-tab.active {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 15px;
  }
}

@media (max-width: 576px) {
  .featured-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .featured-title span {
    font-size: 15px;
  }

  .featured-separator {
    display: none;
  }
}

/* Featured Product Card - Redesigned */
.featured-product-card {
  padding: 13px;
  border-radius: 19px;
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

/* Badges */
.featured-badges {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.badge-fast-shipping {
  background: #14b8a6;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-fast-shipping i {
  font-size: 14px;
}

.badge-discount {
  background: #f59e0b;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

/* Card Content Layout */
.featured-card-content {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

/* Right Side - Image & Timer */
.featured-right-side {
  flex: 0 0 30%;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  padding: 25px 15px 50px 15px;
  overflow: visible;
  position: relative;
}

.featured-product-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.featured-product-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-product-img img:hover {
  transform: scale(1.02);
}

/* Countdown Timer - New Stamp Style */
.timer-container {
  position: absolute;
  bottom: -22px;
  left: 50%;
  direction: ltr;
  border-radius: 20px;
  transform: translateX(-50%);
  width: 90%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

/* Day Box - Stamp style with dashed border */
.day-box {
  background-color: #ffa000;
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2.5px dashed #ffffff;
  box-shadow: 0 5px 15px rgba(255, 160, 0, 0.3);
  flex-shrink: 0;
}

.day-box .num {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  font-family: "DanaFaNum", sans-serif;
}

.day-box .label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Time Segments */
.time-segments {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-evenly;
  padding-right: 15px;
}

.segment {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.segment .num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #222;
  line-height: 1;
  font-family: "DanaFaNum", sans-serif;
}

.segment .label {
  font-size: 0.7rem;
  color: #555;
  font-weight: 700;
  margin-top: 4px;
}

/* Line separator */
.time-segments .line {
  width: 2px;
  height: 20px;
  background-color: #ffcc80;
  border-radius: 2px;
}

/* Left Side - Info */
.featured-left-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.featured-title-text {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Specs List */
.featured-specs {
  list-style: none;
  direction: ltr;
  padding: 0;
  margin: 0 0 30px 0;
}

.featured-specs li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 12px;
  color: #555;
}

.featured-specs li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5b8def;
  flex-shrink: 0;
}

.featured-specs li::before {
  display: none;
}

/* Bottom Section */
.featured-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  direction: ltr;
}

/* Price Section */
.featured-price-section {
  text-align: right;
  direction: rtl;
}

.price-new {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.price-new .price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  font-family: "DanaFaNum", sans-serif;
}

.price-new .price-currency {
  font-size: 14px;
  color: black;
  font-weight: 500;
}

.price-old {
  display: flex;
  align-items: baseline;
  gap: 5px;
  direction: rtl;
  flex-direction: row;
  justify-content: end;
}

.price-old .price-amount {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  font-family: "DanaFaNum", sans-serif;
}

.price-old .price-currency {
  font-size: 12px;
  color: #999;
}

/* Actions */
.featured-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Quantity Selector - New Style */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  background: var(--white);
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-btn i {
  font-size: 14px;
}

.qty-number {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  min-width: 50px;
  text-align: center;
  font-family: "DanaFaNum", sans-serif;
}

/* Buy Button - New Style */
.btn-featured-buy {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 16px 35px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-featured-buy i {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
  .featured-product-card {
    padding: 30px;
  }

  .featured-card-content {
    flex-direction: column;
    gap: 30px;
  }

  .featured-right-side {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 30px 30px 20px 30px;
    padding-bottom: 20px;
  }

  .featured-left-side {
    padding-top: 30px;
  }

  .featured-badges {
    top: 15px;
    right: 15px;
  }

  .featured-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .featured-actions {
    width: 100%;
    justify-content: space-between;
  }

  .countdown-timer {
    width: auto;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .timer-item {
    padding: 18px 20px;
  }

  .timer-item .number {
    font-size: 36px;
  }

  .timer-item.timer-day {
    padding: 15px 18px;
    margin: 8px;
  }

  /* New Timer Container Responsive */
  .timer-container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
  }

  .day-box {
    width: 65px;
    height: 65px;
  }

  .segment .num {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .featured-product-card {
    padding: 20px;
  }

  .featured-badges {
    flex-direction: column;
    gap: 8px;
  }

  .badge-fast-shipping,
  .badge-discount {
    padding: 8px 14px;
    font-size: 12px;
  }

  .featured-title-text {
    font-size: 20px;
  }

  .price-new .price-amount {
    font-size: 26px;
  }

  .timer-item {
    padding: 12px 15px;
    min-width: 65px;
  }

  .timer-item .number {
    font-size: 28px;
  }

  .timer-item .label {
    font-size: 12px;
  }

  .timer-item.timer-day {
    padding: 10px 15px;
    min-width: 60px;
    margin: 5px;
  }

  .timer-item.timer-day::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-width: 2px;
  }

  /* New Timer Container Mobile */
  .timer-container {
    padding: 6px;
  }

  .day-box {
    width: 55px;
    height: 55px;
  }

  .day-box .num {
    font-size: 1.3rem;
  }

  .day-box .label {
    font-size: 0.65rem;
  }

  .segment .num {
    font-size: 1.1rem;
  }

  .segment .label {
    font-size: 0.6rem;
  }

  .time-segments .line {
    height: 15px;
  }

  .btn-featured-buy {
    padding: 14px 25px;
    font-size: 14px;
  }

  .qty-btn {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   Banner Cards
   ======================================== */
.banner-card {
  background: linear-gradient(135deg, #f0e6d3 0%, #e8dbc5 100%);
  border-radius: var(--radius-lg);
  padding: 25px;
  height: 182px;
  position: relative;
  overflow: hidden;
}

.banner-card h5 {
  font-size: 15px;
  margin-bottom: 15px;
  max-width: 60%;
}

.btn-banner {
  background: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.btn-banner:hover {
  background: var(--primary);
  color: var(--white);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
  padding: 40px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-icon {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-lg);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-icon img {
  width: 35px;
  height: 35px;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--primary);
}

.feature-item:hover .feature-icon img {
  filter: brightness(0) invert(1);
}

.feature-text {
  text-align: right;
}

.feature-text h6 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.feature-text span {
  font-size: 13px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-text {
    text-align: center;
  }

  .feature-icon {
    width: 65px;
    height: 65px;
  }

  .feature-icon img {
    width: 30px;
    height: 30px;
  }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  padding: 50px 0;
  background: rgba(0, 0, 0, 0.02);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-user h6 {
  font-size: 16px;
  margin-bottom: 5px;
}

.testimonial-user span {
  font-size: 13px;
  color: var(--gray);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-rating i {
  color: #ffc800;
}

.testimonial-rating span {
  font-size: 14px;
}

.testimonial-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 2;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-section {
  padding: 50px 0;
  background: #f8f9fa;
}

.blog-header {
  flex-direction: row-reverse;
}

.btn-view-all {
  background: rgba(1, 47, 255, 0.08);
  color: var(--primary);
  padding: 13px 35px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: rgba(1, 47, 255, 0.15);
  color: var(--primary);
}

.blog-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.blog-swiper {
  overflow: hidden;
  flex: 1;
}

.blog-nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.blog-nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.blog-nav-arrow i {
  font-size: 16px;
  color: var(--gray);
  transition: all 0.3s ease;
}

.blog-nav-arrow:hover i {
  color: var(--white);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.blog-img {
  height: 180px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: 15px 15px 0 15px;
  border-radius: var(--radius-md);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.blog-content {
  padding: 20px;
}

.blog-content h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.8;
  color: var(--dark);
}

.blog-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  padding-right: 0;
}

.read-time-icon {
  width: 26px;
  height: 26px;
  transition: all 0.3s ease;
}

/* Blog Card Hover Effects */
.blog-card:hover .read-time-icon {
  filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(1000%)
    hue-rotate(360deg) brightness(103%) contrast(106%);
}

.blog-card:hover .btn-read {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(1, 47, 255, 0.3);
}

.blog-card:hover .btn-read i {
  color: var(--white);
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}

.blog-date i {
  color: var(--gray-light);
}

.btn-read {
  background: rgba(0, 0, 0, 0.03);
  border: none;
  color: var(--gray);
  padding: 10px 25px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-read:hover,
.btn-read.active {
  background: var(--primary);
  color: var(--white);
}

.btn-read.active {
  box-shadow: 0 4px 15px rgba(1, 47, 255, 0.3);
}

/* Swiper slide height fix */
.blog-swiper .swiper-slide {
  height: auto;
}
.blog-nav-arrow.blog-next {
  position: absolute;
  left: 0;
}
.blog-nav-arrow.blog-prev {
  position: absolute;
}
@media (max-width: 768px) {
  .blog-nav-arrow {
    width: 40px;
    height: 40px;
  }

  .blog-slider-wrapper {
    gap: 10px;
  }

  .btn-view-all {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ========================================
   Brands Section
   ======================================== */
.brands-section {
  padding: 30px 0;
  background: #f8f9fa;
  padding-bottom: 60px !important;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.brand-item:hover {
  opacity: 1;
}

.brand-item img {
  max-height: 100%;
  object-fit: contain;
}

/* ========================================
   Footer - New Design
   ======================================== */
.footer-new {
  direction: rtl;
}

/* --- Footer Top Row with Notch --- */
.footer-top-row {
  display: flex;
  align-items: flex-end;
  height: 60px;
  width: 100%;
  background: transparent;
}

/* Filler lines (white side sections) */
.filler-line {
  background-color: white;
  height: 100%;
}

.filler-line.right-side {
  flex-grow: 1;
  max-width: 15%;
}

.filler-line.left-side {
  flex-grow: 10;
}

/* Notch Container */
.notch-wrapper {
  position: relative;
  width: 160px;
  min-width: 160px;
  background: #f8f9fa;
  height: 60px;
}

.notch-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Scroll to Top Button in Notch */
.scroll-btn {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background-color: var(--primary);
  color: white;
}

/* Responsive for notch */
@media (max-width: 768px) {
  .filler-line.right-side,
  .filler-line.left-side {
    flex-grow: 1;
    max-width: none;
  }
}

/* Footer Top - Gray Section */
.footer-top {
  padding: 50px 0 40px;
}

.footer-top-content {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: center;
}

/* Old scroll-top-btn styles removed - now using .scroll-btn in notch */

.footer-description-box {
  flex: 1;
}

.footer-description-box p {
  font-size: 14px;
  color: #666;
  line-height: 2;
  text-align: justify;
  margin: 0;
}

.footer-logo-box {
  flex-shrink: 0;
}

.footer-logo-box img {
  max-height: 118px;
  width: 300px;
}

/* Footer Middle - White Section */
.footer-middle {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.footer-middle-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 30px;
}

/* Badges & Social Wrapper */
.footer-badges-social-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: flex-start;
}

/* Trust Badges */
.footer-trust-badges {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.trust-badge-item {
  width: 140px;
  height: 280px;
  background: #f8f8f8;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
}

.trust-badge-item img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.trust-badge-item.with-text span {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

/* Social Links */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.footer-social .social-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e5e5e5;
}

.footer-social .social-icon:hover {
  background: var(--gradient-primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.35);
}

.footer-social .social-icon:hover i {
  background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-social .social-icon i {
  font-size: 20px;
}

/* Footer Links & Contact Combined Section */
.footer-links-contact-section {
  flex: 1;
  max-width: 700px;
  background: var(--white);
  border-radius: 0;
  padding: 0;
  border: none;
}

/* Contact Boxes */
.footer-contact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-contact-boxes .contact-box {
  flex: 1;
  min-width: 280px;
  flex-direction: row-reverse;
  justify-content: start;
}

.footer-contact-boxes .contact-box.full-width {
  flex: 100%;
  min-width: 100%;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-lg);
  background: #f5f5f5;
}

.contact-box span {
  font-size: 14px;
  color: var(--dark);
}

.contact-box .contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
}

.contact-box .contact-icon i {
  color: var(--primary);
  font-size: 16px;
}

.contact-box .contact-icon img {
  width: 36px;
  height: 36px;
}

/* Footer Links Section */
.footer-links-section {
  flex-shrink: 0;
}

.footer-links-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-links-title .title-bar {
  width: 4px;
  height: 24px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links-title h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.footer-nav-links li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9f9f9f;
}

.footer-nav-links li a:hover {
  color: var(--dark);
}

/* Footer Bottom */
.footer-bottom-new {
  background: var(--white);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 30px;
}

.footer-copyright {
  flex-shrink: 0;
}

.copyright-logo {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 5px;
}

.copyright-logo .niloo {
  color: var(--dark);
}

.copyright-logo .far {
  color: var(--primary);
  font-weight: 800 !important;
  font-family: "DanaFaNum", "IRANYekanFN", sans-serif;
}

.footer-copyright p {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* App Stores Slider */
.app-stores-slider {
  display: none;
  align-items: center;
  gap: 15px;
  flex: 1;
  max-width: 900px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e5e5;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slider-arrow i {
  font-size: 14px;
  color: #666;
}

.slider-arrow:hover i {
  color: var(--white);
}

.app-stores-wrapper {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 5px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-stores-wrapper::-webkit-scrollbar {
  display: none;
}

.app-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 70px;
  padding: 10px 20px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all 0.3s ease;
}

.app-store-item:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-store-item span {
  font-size: 10px;
  color: #999;
  margin-bottom: 5px;
}

.app-store-item img {
  max-height: 30px;
  max-width: 80px;
  object-fit: contain;
}

.nav-arrow.newest-next {
  background: #f59e0b;
  color: white;
  border: none !important;
}
.nav-arrow.third-next {
  background: #f59e0b;
  color: white;
  border: none !important;
}
.nav-arrow.popular-next {
  background: #f59e0b;
  color: white;
  border: none !important;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-top-content {
    flex-wrap: wrap;
  }

  .footer-description-box {
    order: 2;
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 20px;
  }

  .footer-middle-content {
    flex-wrap: wrap;
  }

  .footer-contact-boxes {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 992px) {
  .footer-top-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo-box {
    order: -1;
  }

  .scroll-top-btn {
    order: 1;
  }

  .footer-description-box {
    order: 2;
  }

  .footer-middle-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-trust-badges {
    order: 3;
  }

  .footer-social {
    flex-direction: row;
    order: 2;
  }

  .footer-contact-boxes {
    order: 1;
  }

  .footer-links-section {
    order: 0;
    width: 100%;
    text-align: center;
  }

  .footer-links-title {
    justify-content: center;
  }

  .footer-nav-links {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .app-stores-slider {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Footer Middle Mobile Styles */
  .footer-middle {
    padding: 30px 0;
  }

  .footer-middle-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .footer-badges-social-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .footer-trust-badges {
    justify-content: center;
    width: 100%;
  }

  .trust-badge-item {
    width: 120px;
    height: 180px;
    padding: 12px;
  }

  .trust-badge-item img {
    max-width: 60px;
    max-height: 60px;
  }

  .trust-badge-item.with-text span {
    font-size: 10px;
  }

  .footer-social {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .footer-social .social-icon {
    width: 45px;
    height: 45px;
  }

  .footer-social .social-icon i {
    font-size: 18px;
  }

  .footer-links-contact-section {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer-links-title {
    justify-content: center;
  }

  .footer-nav-links {
    justify-content: center;
    gap: 12px 25px;
  }

  .footer-nav-links li a {
    font-size: 13px;
  }

  .footer-contact-boxes {
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact-boxes .contact-box {
    min-width: 100%;
    flex-direction: row-reverse;
    justify-content: start;
  }

  .contact-box {
    padding: 12px 15px;
  }

  .contact-box span {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer-logo-text span:first-child {
    font-size: 22px;
  }

  /* Footer Middle Extra Small Mobile */
  .footer-middle {
    padding: 25px 0;
  }

  .footer-trust-badges {
    flex-wrap: wrap;
    gap: 10px;
  }

  .trust-badge-item {
    width: calc(50% - 5px);
    height: 160px;
    padding: 10px;
  }

  .trust-badge-item img {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 8px;
  }

  .trust-badge-item.with-text span {
    font-size: 9px;
    line-height: 1.4;
  }

  .footer-social .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-social .social-icon i {
    font-size: 16px;
  }

  .footer-nav-links {
    gap: 10px 20px;
  }

  .footer-nav-links li a {
    font-size: 12px;
  }

  .contact-box {
    padding: 10px 12px;
  }

  .contact-box span {
    font-size: 12px;
  }

  .contact-box .contact-icon {
    width: 30px;
    height: 30px;
  }

  .contact-box .contact-icon img {
    width: 30px;
    height: 30px;
  }

  .app-store-item {
    min-width: 100px;
    padding: 8px 15px;
  }
}

/* ========================================
   Custom 5-Column Grid
   ======================================== */
.col-lg-2-4 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    width: 20%;
  }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
  .search-box {
    width: 280px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .search-box {
    width: 200px;
  }

  .main-slider,
  .main-hero-swiper .main-slider {
    height: 350px;
  }

  .side-slider,
  .side-hero-swiper .side-slider {
    height: 350px;
    margin-top: 20px;
  }

  .side-hero-swiper {
    margin-top: 0;
  }

  .featured-product-card {
    flex-direction: column;
  }

  .featured-product-img {
    flex: none;
    text-align: center;
  }

  .countdown-timer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .top-header .d-flex {
    flex-wrap: wrap;
    gap: 15px;
  }

  .search-box {
    width: 100%;
    order: 3;
  }

  .secondary-header .d-flex {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-card {
    margin-bottom: 20px;
  }

  .trust-badges {
    flex-direction: column;
  }

  .trust-badge {
    width: 100%;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .slider-content h2 {
    font-size: 20px;
  }

  .section-title h3 {
    font-size: 18px;
  }

  .btn-login span {
    display: none;
  }

  .countdown-timer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .timer-item {
    padding: 0 10px;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   Mobile Menu Styles
   ======================================== */

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 45px;
  height: 45px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn .hamburger-line {
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger Animation when menu is open */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  justify-content: flex-end;
}

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

/* Mobile Menu Content */
.mobile-menu-content {
  position: relative;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  direction: rtl;
  z-index: 10001;
  margin-right: 0;
  margin-left: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close:hover {
  background: #ff4757;
  color: var(--white);
}

.mobile-menu-close i {
  font-size: 18px;
}

/* Mobile Navigation Links */
.mobile-nav {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  font-size: 15px;
  color: var(--dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(1, 47, 255, 0.05);
  color: var(--primary);
  padding-right: 30px;
}

.mobile-nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(1, 47, 255, 0.08);
  border-right: 3px solid var(--primary);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}

/* Show mobile menu button on mobile */
@media (max-width: 991.98px) {
  .mobile-menu-btn {
    display: flex;
  }

  /* Hide desktop nav on mobile */
  .nav-menu {
    display: none !important;
  }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ========================================
   User Dropdown Menu
   ======================================== */
.user-dropdown {
  position: relative;
}

.user-dropdown .btn-login {
  cursor: pointer;
}

.user-dropdown-menu {
  min-width: 220px;
  padding: 8px 0;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  margin-top: 10px;
}

.user-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--dark);
  transition: all 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
  background: rgba(1, 47, 255, 0.05);
  color: var(--primary);
}

.user-dropdown-menu .dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--gray);
}

.user-dropdown-menu .dropdown-item:hover i {
  color: var(--primary);
}

.user-dropdown-menu .dropdown-divider {
  margin: 8px 0;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ========================================
   Cart Dropdown Menu
   ======================================== */
.cart-dropdown {
  position: relative;
}

.cart-dropdown-menu {
  min-width: 320px;
  max-width: 350px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  margin-top: 10px;
  overflow: hidden;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 14px;
}

.cart-count {
  color: var(--gray);
  font-weight: 400;
  font-size: 13px;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(1, 47, 255, 0.03);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.cart-item-qty {
  color: var(--gray);
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
}

.cart-footer {
  padding: 12px 16px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.cart-total-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.cart-actions .btn {
  flex: 1;
  font-size: 13px;
  padding: 8px 12px;
}

.cart-empty {
  padding: 30px 20px;
  text-align: center;
}

.cart-empty i {
  margin-bottom: 10px;
  display: block;
}

.cart-empty p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 14px;
}

/* Search Result Dropdown */
.search-result {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-result.active {
  display: block;
}

.search-result ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-result li a:hover {
  background: rgba(1, 47, 255, 0.05);
}

/* ========================================
   Blog Page Styles
   ======================================== */
.blog-page-section {
  padding: 30px 0 60px;
  background: #f8f9fa;
  min-height: 70vh;
}

/* Breadcrumb */
.blog-breadcrumb {
  margin-bottom: 25px;
}

.blog-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.blog-breadcrumb nav a {
  color: var(--gray);
  transition: color 0.3s ease;
}

.blog-breadcrumb nav a:hover {
  color: var(--primary);
}

.blog-breadcrumb nav i {
  font-size: 10px;
  color: var(--gray-light);
}

.blog-breadcrumb nav span {
  color: var(--dark);
  font-weight: 500;
}

/* Page Header */
.blog-page-header {
  margin-bottom: 30px;
}

.blog-page-header .section-title h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}

.blog-page-header .section-title span {
  font-size: 14px;
  color: var(--gray);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Blog Card - Page Version */
.blog-page-section .blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-page-section .blog-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.blog-page-section .blog-img {
  height: 200px;
  overflow: hidden;
  margin: 15px 15px 0 15px;
  border-radius: var(--radius-md);
  position: relative;
}

.blog-page-section .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.blog-page-section .blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}

.blog-page-section .blog-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-page-section .blog-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.8;
  color: var(--dark);
}

.blog-page-section .blog-content h5 a {
  color: inherit;
  transition: color 0.3s ease;
}

.blog-page-section .blog-content h5 a:hover {
  color: var(--primary);
}

.blog-page-section .blog-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-page-section .blog-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.blog-page-section .read-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}

.blog-page-section .read-time-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-light);
}

.blog-page-section .blog-card:hover .read-time-icon {
  color: var(--secondary);
}

.blog-page-section .blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.blog-page-section .blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}

.blog-page-section .blog-date i {
  color: var(--gray-light);
}

.blog-page-section .btn-read {
  background: rgba(0, 0, 0, 0.03);
  border: none;
  color: var(--gray);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.blog-page-section .btn-read:hover,
.blog-page-section .blog-card:hover .btn-read {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(1, 47, 255, 0.3);
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.blog-pagination .pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination .pagination li a,
.blog-pagination .pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.blog-pagination .pagination li a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.blog-pagination .pagination li.active span {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
}

.blog-pagination .pagination li.disabled span {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Empty State */
.blog-empty-state {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.blog-empty-state .empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(1, 47, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.blog-empty-state .empty-icon i {
  font-size: 40px;
  color: var(--primary);
}

.blog-empty-state h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.blog-empty-state p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 25px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-back-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.3);
  color: var(--white);
}

/* ========================================
   Blog Sidebar Styles
   ======================================== */
.blog-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title-bar {
  width: 4px;
  height: 24px;
  background: var(--secondary);
  border-radius: 2px;
}

.widget-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

/* Sidebar Post Item */
.sidebar-post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post-item:first-child {
  padding-top: 0;
}

.sidebar-post-item .post-thumbnail {
  width: 80px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-post-item .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar-post-item:hover .post-thumbnail img {
  transform: scale(1.1);
}

.sidebar-post-item .post-info {
  flex: 1;
}

.sidebar-post-item .post-info h6 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--dark);
}

.sidebar-post-item .post-info h6 a {
  color: inherit;
  transition: color 0.3s ease;
}

.sidebar-post-item .post-info h6 a:hover {
  color: var(--primary);
}

.sidebar-post-item .post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray);
}

.sidebar-post-item .post-date i {
  color: var(--gray-light);
  font-size: 11px;
}

/* Category List */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.category-list li a:hover {
  background: var(--primary);
  color: var(--white);
}

.category-list li a .category-name {
  font-size: 14px;
}

.category-list li a .category-count {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.category-list li a:hover .category-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--gradient-primary);
  border: none;
}

.newsletter-content {
  text-align: center;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.newsletter-icon i {
  font-size: 24px;
  color: var(--white);
}

.newsletter-widget h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter-widget p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input::placeholder {
  color: var(--gray);
}

.newsletter-form button {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: #e68a00;
  transform: translateY(-2px);
}

.newsletter-form button i {
  font-size: 16px;
}

/* Blog Page Responsive */
@media (max-width: 992px) {
  .blog-page-section {
    padding: 20px 0 40px;
  }

  .blog-page-header .section-title h3 {
    font-size: 24px;
  }

  .blog-sidebar {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .blog-page-header .section-title h3 {
    font-size: 20px;
  }

  .blog-page-section .blog-img {
    height: 180px;
    margin: 10px 10px 0 10px;
  }

  .blog-page-section .blog-content {
    padding: 15px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
    height: 45px;
  }

  .blog-pagination .pagination li a,
  .blog-pagination .pagination li span {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

/* ========================================
   Products Page Section
   ======================================== */
.products-page-section {
  padding: 30px 0 60px;
}

.products-page-section .section-header {
  margin-bottom: 20px;
}

.products-page-section .section-title h3 {
  font-size: 28px;
  font-weight: 800;
}

.products-page-section .row {
  margin-top: 20px;
  justify-content: center;
}

/* Products Page - 5 columns layout with vertical cards */
.products-page-section .category-col {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 0 10px;
  margin-bottom: 25px;
}

.products-page-section .category-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 25px 20px;
  margin-top: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.products-page-section .category-card:hover {
  border-color: rgba(1, 47, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.products-page-section .category-img-wrapper {
  width: 130px;
  height: 130px;
  position: relative;
  top: 0;
  right: 0;
  margin-bottom: 20px;
}

.products-page-section .category-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.products-page-section .category-content {
  padding-right: 0;
  width: 100%;
  text-align: center;
}

.products-page-section .category-card h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.products-page-section .category-link {
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  width: 100%;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--gray);
  transition: all 0.3s ease;
}

.products-page-section .category-link:hover,
.products-page-section .category-card:hover .category-link {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.35);
}

/* Products Page Responsive */
@media (max-width: 992px) {
  .products-page-section {
    padding: 20px 0 40px;
  }

  .products-page-section .section-title h3 {
    font-size: 24px;
  }

  .products-page-section .category-col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }

  .products-page-section .category-img-wrapper {
    width: 110px;
    height: 110px;
  }

  .products-page-section .category-card h6 {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .products-page-section .section-title h3 {
    font-size: 20px;
  }

  .products-page-section .category-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
    margin-bottom: 16px;
  }

  .products-page-section .category-card {
    padding: 20px 15px;
  }

  .products-page-section .category-img-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }

  .products-page-section .category-card h6 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .products-page-section .category-link {
    font-size: 12px;
    padding: 10px 15px;
  }
}

/* ========================================
   Cart Page - New Design
   ======================================== */
.cart-page-section {
  padding: 30px 0 60px;
  background: #f8f9fa;
  min-height: 70vh;
}

/* Breadcrumb */
.cart-breadcrumb {
  margin-bottom: 25px;
}

.cart-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.cart-breadcrumb nav a {
  color: var(--gray);
  transition: color 0.3s ease;
}

.cart-breadcrumb nav a:hover {
  color: var(--primary);
}

.cart-breadcrumb nav i {
  font-size: 10px;
  color: var(--gray-light);
}

.cart-breadcrumb nav span {
  color: var(--dark);
  font-weight: 500;
}

/* Page Header */
.cart-page-header {
  margin-bottom: 30px;
}

.cart-page-header .section-title h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-page-header .section-title h3 i {
  color: var(--primary);
}

.cart-page-header .cart-count-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Cart Container */
.cart-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Cart Item */
.cart-item-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.cart-item-card:first-child {
  padding-top: 0;
}

.cart-item-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-card:hover {
  background: rgba(1, 47, 255, 0.02);
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: var(--radius-md);
}

/* Cart Item Image */
.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

/* Cart Item Details */
.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.cart-item-title a:hover {
  color: var(--primary);
}

.cart-item-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-item-attribute {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.cart-item-attribute i {
  color: var(--primary);
  font-size: 12px;
}

.cart-item-stock-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.cart-item-stock-warning i {
  font-size: 11px;
}

/* Cart Item Quantity */
.cart-item-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quantity-control,
.counter-box.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: var(--radius-md);
  padding: 5px;
}

.quantity-control .qty-btn,
.counter-box .inc,
.counter-box .dec {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--white);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quantity-control .qty-btn:hover,
.counter-box .inc:hover,
.counter-box .dec:hover {
  background: var(--primary);
  color: var(--white);
}

.quantity-control .qty-btn.delete-btn:hover,
.counter-box .dec.delete-btn:hover {
  background: #e74c3c;
  color: var(--white);
}

.quantity-control .qty-btn i,
.counter-box .inc i,
.counter-box .dec i {
  font-size: 14px;
}

.quantity-control .qty-input,
.counter-box .cart_quantity {
  width: 50px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  border: none;
  background: transparent;
  font-family: "DanaFaNum", sans-serif;
}

.quantity-control .qty-input:focus,
.counter-box .cart_quantity:focus {
  outline: none;
}

/* Cart Item Price */
.cart-item-price {
  text-align: left;
  flex-shrink: 0;
  min-width: 140px;
}

.cart-item-current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: "DanaFaNum", sans-serif;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
}

.cart-item-current-price .currency {
  font-size: 12px;
  font-weight: 400;
  color: var(--dark);
}

.cart-item-old-price {
  font-size: 14px;
  color: var(--gray-light);
  text-decoration: line-through;
  font-family: "DanaFaNum", sans-serif;
  text-align: left;
  margin-top: 5px;
}

/* Cart Actions */
.cart-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px dashed rgba(0, 0, 0, 0.08);
}

.btn-update-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  color: var(--gray);
  padding: 14px 25px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-update-cart:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-update-cart i {
  font-size: 16px;
}

/* Checkout Sidebar - New Design */
.checkout-sidebar-new {
  position: sticky;
  top: 20px;
}

.checkout-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.checkout-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-sidebar-header .sidebar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(1, 47, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-sidebar-header .sidebar-icon i {
  font-size: 20px;
  color: var(--primary);
}

.checkout-sidebar-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* Checkout Summary Items */
.checkout-summary-items {
  margin-bottom: 20px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.checkout-summary-item:last-child {
  border-bottom: none;
}

.checkout-summary-item .label {
  font-size: 14px;
  color: var(--gray);
}

.checkout-summary-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  font-family: "DanaFaNum", sans-serif;
}

.checkout-summary-item.discount .value {
  color: #22c55e;
}

.checkout-summary-item.shipping .value {
  color: var(--secondary);
}

/* Total Section */
.checkout-total-section {
  background: linear-gradient(135deg, rgba(1, 47, 255, 0.05) 0%, rgba(66, 100, 255, 0.08) 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-total-row .total-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.checkout-total-row .total-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  font-family: "DanaFaNum", sans-serif;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.checkout-total-row .total-value .currency {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

/* Checkout Button */
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 18px 30px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(1, 47, 255, 0.35);
  color: var(--white);
}

.btn-checkout i {
  font-size: 18px;
}

/* Checkout Info */
.checkout-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--gray);
}

.checkout-info i {
  color: var(--gray-light);
}

/* Empty Cart */
.cart-empty-state {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cart-empty-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(1, 47, 255, 0.08) 0%, rgba(66, 100, 255, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.cart-empty-icon i {
  font-size: 50px;
  color: var(--primary);
}

.cart-empty-state h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.cart-empty-state p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 35px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-continue-shopping:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(1, 47, 255, 0.35);
  color: var(--white);
}

/* Delete Modal - New Design */
.delete-modal-content {
  border-radius: var(--radius-xl);
  border: none;
  overflow: hidden;
}

.delete-modal-header {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0.12) 100%);
  padding: 25px 30px;
  border-bottom: none;
}

.delete-modal-header h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.delete-modal-header h5 i {
  color: #e74c3c;
}

.delete-modal-body {
  padding: 30px;
  text-align: center;
}

.delete-modal-body p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 25px;
}

.delete-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-delete-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e74c3c;
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-delete-confirm:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn-delete-cancel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  color: var(--gray);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-delete-cancel:hover {
  background: #e5e5e5;
}

/* Cart Page Responsive */
@media (max-width: 992px) {
  .cart-page-section {
    padding: 20px 0 40px;
  }

  .cart-container {
    padding: 20px;
  }

  .cart-item-card {
    flex-wrap: wrap;
    gap: 15px;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
  }

  .cart-item-details {
    flex: 1;
    min-width: calc(100% - 120px);
  }

  .cart-item-quantity {
    width: 100%;
    justify-content: flex-start;
    order: 3;
  }

  .cart-item-price {
    width: auto;
    min-width: auto;
    order: 4;
    margin-right: auto;
  }

  .checkout-sidebar-new {
    position: relative;
    top: 0;
    margin-top: 25px;
  }
}

@media (max-width: 768px) {
  .cart-page-header .section-title h3 {
    font-size: 22px;
  }

  .cart-item-card {
    padding: 20px 0;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-title {
    font-size: 14px;
  }

  .cart-item-attribute {
    font-size: 12px;
    padding: 5px 10px;
  }

  .cart-item-current-price {
    font-size: 16px;
  }

  .cart-actions-bar {
    flex-direction: column;
    gap: 15px;
  }

  .btn-update-cart {
    width: 100%;
    justify-content: center;
  }

  .checkout-sidebar-card {
    padding: 20px;
  }

  .checkout-total-row .total-value {
    font-size: 20px;
  }

  .btn-checkout {
    padding: 15px 25px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .cart-page-header .section-title h3 {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cart-page-header .cart-count-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .cart-container {
    padding: 15px;
    border-radius: var(--radius-lg);
  }

  .cart-item-card {
    padding: 15px 0;
  }

  .cart-item-image {
    width: 70px;
    height: 70px;
  }

  .cart-item-details {
    min-width: calc(100% - 90px);
  }

  .cart-item-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .cart-item-attributes {
    gap: 6px;
  }

  .quantity-control,
  .counter-box.quantity-control {
    padding: 4px;
  }

  .quantity-control .qty-btn,
  .counter-box .inc,
  .counter-box .dec {
    width: 32px;
    height: 32px;
  }

  .quantity-control .qty-input,
  .counter-box .cart_quantity {
    width: 40px;
    font-size: 14px;
  }

  .cart-item-current-price {
    font-size: 14px;
  }

  .cart-item-old-price {
    font-size: 12px;
  }

  .cart-empty-state {
    padding: 50px 20px;
    border-radius: var(--radius-lg);
  }

  .cart-empty-icon {
    width: 90px;
    height: 90px;
  }

  .cart-empty-icon i {
    font-size: 36px;
  }

  .cart-empty-state h4 {
    font-size: 18px;
  }

  .cart-empty-state p {
    font-size: 13px;
  }

  .btn-continue-shopping {
    padding: 14px 25px;
    font-size: 14px;
  }

  .checkout-sidebar-card {
    border-radius: var(--radius-lg);
    padding: 15px;
  }

  .checkout-sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .checkout-sidebar-header .sidebar-icon {
    width: 40px;
    height: 40px;
  }

  .checkout-sidebar-header .sidebar-icon i {
    font-size: 16px;
  }

  .checkout-sidebar-header h4 {
    font-size: 16px;
  }

  .checkout-total-section {
    padding: 15px;
  }

  .checkout-total-row .total-value {
    font-size: 18px;
  }
}

/* ========================================
   Product Compare Page - Modern Design
   ======================================== */

/* Compare Section */
.compare-section {
  padding: 40px 0 60px;
  background: #f8f9fa;
  min-height: 70vh;
}

/* Compare Header */
.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 25px 30px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.compare-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.compare-title .title-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-title .title-icon i {
  font-size: 22px;
  color: var(--white);
}

.compare-title .title-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 5px 0;
}

.compare-title .title-text span {
  font-size: 14px;
  color: var(--gray);
}

.btn-add-compare {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-compare:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.3);
}

.btn-add-compare i {
  font-size: 16px;
}

/* Compare Products Row */
.compare-products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* Compare Product Card */
.compare-product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 25px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.compare-product-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.remove-product-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 5;
}

.remove-product-btn:hover {
  background: #ef4444;
  color: var(--white);
  transform: rotate(90deg);
}

.compare-product-image {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.compare-product-image img {
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.compare-product-card:hover .compare-product-image img {
  transform: scale(1.05);
}

.compare-product-info {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.compare-product-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 15px;
  min-height: 54px;
}

.compare-product-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.compare-product-title a:hover {
  color: var(--primary);
}

.compare-product-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.compare-product-price .current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: "DanaFaNum", sans-serif;
}

.compare-product-price .current-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

.compare-product-price .old-price {
  font-size: 14px;
  color: var(--gray-light);
  text-decoration: line-through;
  font-family: "DanaFaNum", sans-serif;
}

.btn-view-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  background: #f5f5f5;
  border-radius: var(--radius-md);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-view-product:hover {
  background: var(--gradient-primary);
  color: var(--white);
}

/* Add Card */
.compare-product-card.add-card {
  border: 2px dashed rgba(1, 47, 255, 0.2);
  background: rgba(1, 47, 255, 0.02);
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-product-card.add-card:hover {
  border-color: var(--primary);
  background: rgba(1, 47, 255, 0.05);
}

.add-card-content {
  text-align: center;
}

.add-card-content .add-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(1, 47, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.compare-product-card.add-card:hover .add-icon {
  background: var(--gradient-primary);
}

.add-card-content .add-icon i {
  font-size: 28px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.compare-product-card.add-card:hover .add-icon i {
  color: var(--white);
}

.add-card-content span {
  font-size: 15px;
  color: var(--gray);
  font-weight: 500;
}

/* Specifications Wrapper */
.compare-specs-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}

/* Specs Group */
.specs-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-group:last-child {
  border-bottom: none;
}

.specs-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 30px;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
}

.specs-group-header i {
  font-size: 18px;
  color: var(--primary);
}

.specs-group-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* Specs Table */
.specs-table {
  padding: 0;
}

.specs-row {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-row:hover {
  background: rgba(1, 47, 255, 0.02);
}

.spec-name {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 18px 30px;
  background: rgba(0, 0, 0, 0.01);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-name span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.spec-values {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.spec-value {
  padding: 18px 25px;
  text-align: center;
  border-left: 1px solid rgba(0, 0, 0, 0.03);
}

.spec-value:last-child {
  border-left: none;
}

.spec-value .value-text {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}

.spec-value .value-empty {
  color: var(--gray-light);
}

.spec-value .value-empty i {
  font-size: 12px;
}

.spec-value.empty-slot {
  background: rgba(0, 0, 0, 0.01);
}

/* Compare Actions */
.compare-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.btn-action-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-action-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 47, 255, 0.3);
  color: var(--white);
}

.btn-action-empty {
  border: 2px dashed rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  min-height: 54px;
}

/* Compare Page Responsive */
@media (max-width: 992px) {
  .compare-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .compare-title {
    flex-direction: column;
  }

  .compare-products-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-name {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

@media (max-width: 768px) {
  .compare-section {
    padding: 30px 0 40px;
  }

  .compare-header {
    padding: 20px;
  }

  .compare-title .title-text h1 {
    font-size: 18px;
  }

  .compare-products-row {
    grid-template-columns: 1fr;
  }

  .compare-product-card.add-card {
    min-height: 200px;
  }

  .spec-name {
    flex: 0 0 35%;
    max-width: 35%;
    padding: 15px;
  }

  .spec-values {
    grid-template-columns: 1fr;
  }

  .spec-value {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    border-left: none;
  }

  .compare-actions {
    grid-template-columns: 1fr;
  }

  .specs-group-header {
    padding: 15px 20px;
  }
}

/* ========================================
   Compare Modal - Modern Design
   ======================================== */

.compare-modal-new .modal-content {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.compare-modal-new .modal-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-modal-new .modal-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.compare-modal-new .modal-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-modal-new .modal-icon i {
  font-size: 20px;
  color: var(--white);
}

.compare-modal-new .modal-title-text h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 5px 0;
}

.compare-modal-new .modal-title-text span {
  font-size: 13px;
  color: var(--gray);
}

.btn-close-modal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-close-modal:hover {
  background: #ef4444;
  color: var(--white);
}

.btn-close-modal i {
  font-size: 16px;
  color: var(--gray);
  transition: color 0.3s ease;
}

.btn-close-modal:hover i {
  color: var(--white);
}

.compare-modal-new .modal-body {
  padding: 30px;
}

/* Compare Search Form */
.compare-search-form {
  margin-bottom: 25px;
}

.search-input-wrapper {
  display: flex;
  gap: 15px;
}

.search-input-wrapper input {
  flex: 1;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  padding: 0 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 47, 255, 0.1);
}

.search-input-wrapper .btn-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-wrapper .btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(1, 47, 255, 0.3);
}

/* Modal Divider */
.modal-divider {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.modal-divider::before,
.modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.modal-divider span {
  padding: 0 20px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* Compare Products Grid */
.compare-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-height: 500px;
  overflow-y: auto;
  padding: 5px;
}

.compare-products-grid::-webkit-scrollbar {
  width: 6px;
}

.compare-products-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.compare-products-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* Compare Modal Product */
.compare-modal-product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.compare-modal-product:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(1, 47, 255, 0.15);
  transform: translateY(-3px);
}

.modal-product-image {
  text-align: center;
  padding: 15px 10px;
  margin-bottom: 10px;
}

.modal-product-image img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.modal-product-info {
  flex: 1;
}

.modal-product-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-product-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-product-price .price-current {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  font-family: "DanaFaNum", sans-serif;
}

.modal-product-price .price-old {
  font-size: 12px;
  color: var(--gray-light);
  text-decoration: line-through;
  font-family: "DanaFaNum", sans-serif;
}

/* Product Select Overlay */
.modal-product-select {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.compare-modal-product:hover .modal-product-select {
  transform: translateY(0);
}

/* No Products Found */
.no-products-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
}

.no-products-found .empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.no-products-found .empty-icon i {
  font-size: 30px;
  color: var(--gray-light);
}

.no-products-found p {
  font-size: 15px;
  color: var(--gray);
  margin: 0;
}

/* Modal Responsive */
@media (max-width: 992px) {
  .compare-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .compare-modal-new .modal-header {
    padding: 20px;
  }

  .compare-modal-new .modal-body {
    padding: 20px;
  }

  .search-input-wrapper {
    flex-direction: column;
  }

  .search-input-wrapper .btn-search {
    justify-content: center;
    padding: 15px;
  }

  .compare-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .compare-modal-new .modal-title-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .compare-products-grid {
    grid-template-columns: 1fr;
  }

  .compare-modal-product {
    flex-direction: row;
    gap: 15px;
  }

  .modal-product-image {
    flex: 0 0 80px;
    padding: 10px;
    margin-bottom: 0;
  }

  .modal-product-image img {
    max-height: 60px;
  }

  .modal-product-info {
    padding: 10px 0;
  }

  .modal-product-select {
    position: static;
    transform: none;
    border-radius: var(--radius-sm);
    padding: 8px 15px;
    margin-top: 10px;
  }
}
