:root {
  --font-primary: 'Rubik', sans-serif;
  --color-text: #000;
  --color-muted: #999;
  --color-accent: #64c7f6;
  --color-accent-hover: #3bb2e0;
  --color-brown: #917468;
  --color-gray-light: #fce7e7;
  --color-pink: #f0b8ff;
  --color-light-pink: #f3d2e8;
  --color-light-blue: #C9E0F8;
  --spacing-xl: 2rem;
  --spacing-lg: 1rem;
  --spacing-md: 0.5rem;
  --spacing-sm: 0.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
}

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik/Rubik-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Rubik-Regular';
  src: url('../fonts/rubik/Rubik-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Rubik-Bold';
  src: url('../fonts/rubik/Rubik-Bold.ttf') format('truetype');
  font-weight: 700;
}

html {
  overflow-x: hidden;
}

body {
  direction: rtl;
  font-family: var(--font-primary);
  color: var(--color-text);
  overflow-x: hidden;
}

.top-announcement {
  background-color: var(--color-gray-light);
  font-size: 16px;
  color: #3b3b3b;
}

.search-box {
  width: 240px;
}

.search-box input::placeholder {
  text-align: right;
}

.search-box i {
  color: var(--color-muted);
  pointer-events: none;
}

.action-icons a,
.action-icons button {
  color: var(--color-text);
}

.main-nav .nav-link {
  color: var(--color-text);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 18px;
  font-weight: 400;
  outline-color: transparent;
}

.main-nav .nav-link:hover {
  font-weight: 500;
}

/* Mega Menu */
.mega-menu {
  width: 100vw;
  right: 0 !important;
  left: 0 !important;
  top: 100%;
  z-index: 1050;
}

.menu-list ul {
  padding-right: 0;
  text-align: right;
}

.mega-menu .dropdown-item {
  padding: 0.25rem 0;
  color: var(--color-text);
}

.mega-menu .dropdown-item:hover {
  text-decoration: underline;
  background-color: transparent;
}

.promo-box img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.promo-box button {
  font-size: 14px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  border-radius: 20px;
}

/* Footer */
.footer-list a {
  color: var(--color-text);
  text-decoration: none;
  line-height: 2;
}

.footer-list a:hover {
  text-decoration: underline;
}

.site-footer i {
  transition: color 0.3s ease;
}

.site-footer .payment-text {
  color: var(--color-text) !important;
  margin: 20px 0 5px;
}

.site-footer .text-copyright {
  color: var(--color-brown);
}

.footer-social-line {
  padding: var(--spacing-lg) 0;
  width: 50%;
  margin: 0 auto;
}

.footer-social-line .social-icon {
  color: var(--color-accent);
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-social-line .social-icon:hover {
  color: var(--color-accent-hover);
}

/* home*/
.hero-banner {
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
  padding: var(--spacing-xl);
  color: var(--color-text);
}

.hero-banner h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-right: 50px;
  margin-bottom: 50px;
}

.category-card img {
  width: 100%;
  display: block;
}

.card-caption {
  padding: var(--spacing-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.bg-pink {
  background-color: var(--color-pink);
}

.bg-light-pink {
  background-color: var(--color-light-pink);
}

.bg-light-blue {
  background-color: var(--color-light-blue);
}

.category-card a {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}

.category-card a:hover {
  text-decoration: underline;
}

.highlight-header h2 {
  font-size: 2.75rem;
}

.product-card,
.haircare-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.product-card img,
.haircare-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}

.product-card {
  cursor: pointer;
  text-align: center;
  height: 470px !important;
}

.product-card:hover {
  background: #DCE2E5;
}

.product-card .badge {
  color: var(--color-text);
}

.product-card .favourite-btn,
.product-card .detail-btn {
  display: none;
}

.product-card:hover>.favourite-btn,
.product-card:hover>.detail-btn {
  display: block;
}

.productSwiper .swiper-slide {
  padding-bottom: 50px;
}

.blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-card h6 {
  font-size: 1rem;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.blog-card {
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.beauty-magazine .swiper-scrollbar {
  background: #fff;
}

/*About*/
.about-intro {
  background-color: #F3F8F9 !important;
  color: var(--color-text);
  padding: var(--spacing-xl) 0;
}

.about-intro h2 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.about-value {
  background-color: #ffffff !important;
}

.about-value h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.about-value p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.about-offers h3 {
  font-size: 1.5rem;
}

.offer-box {
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  height: 100%;
}

.offer-box .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offer-box img {
  max-height: 32px;
}

.bg-light-green {
  background: #E2EC96;
}

.bg-light-purple {
  background: #ECDBFF;
}

.why-us ul li {
  list-style: disc;
  padding: 15px 0;
}

.quote-section img {
  width: 100%;
}

.quote-section input {
  padding: 15px 12px;
}

.filter-box {
  border: 1px solid #eee;
}

.product-card img {
  max-height: 200px;
  object-fit: contain;
}

.product-card .rating {
  font-size: 0.85rem;
}

.product-card .rounded-circle {
  display: inline-block;
}

/*Product List*/

.filter-box {
  border: 1px solid #eee;
}


.product-card img {
  max-height: 200px;
  object-fit: contain;
}

.product-card .rating {
  font-size: 0.85rem;
}

.product-card .rounded-circle {
  display: inline-block;
}

.product-card .color-option {
  min-height: 16px;
}

.bg-promo {
  background-color: #f3d2e8;
}

.promo-banner img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

.bg-promo h2 {
  font-size: 3rem;
}

.bg-promo p {
  font-size: 1.7rem;
  font-weight: 700;
}

.btn-view-more {
  background-color: #64c7f6;
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-view-more:hover {
  background-color: #3bb2e0;
  color: #fff;
}

.accordion-button {
  font-weight: 600;
  justify-content: space-between;
  text-align: right;
  padding: 5px 0;
}

.accordion-body {
  font-size: 14px;
}

.accordion-button::after {
  display: none !important;
}

.icon-toggle {
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 0.5rem;
  color: #6DCFF6;
}

.accordion-button:not(.collapsed) {
  color: #000 !important;
  box-shadow: none;
}

.accordion-collapse li {
  padding: 3px 0;
}

.accordion-collapse li a {
  color: #000 !important;
  text-decoration: none;
}

.accordion-collapse li.active a,
.accordion-collapse li a:hover {
  color: #6DCFF6 !important;
  text-decoration: none;
}

.form-check {
  display: flex;
}

.form-check label {
  margin-right: 30px;
}

.thumb-swiper .swiper-button-next {
  position: static;
  width: 30px;
  height: 30px;
  background-color: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
}

.thumb-img {
  width: 80px;
  height: auto;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
}

.thumb-img:hover {
  transform: scale(1.05);
}

.thumb-img.selected {
  border-color: #00bfff;
}

.mobile-sticky-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  height: 70px;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .logo-container {
    margin-right: 25px;
    margin-top: -5px;
  }

  .search-box {
    width: 200px;
    margin-top: -5px !important;
  }

  .footer-list {
    padding-right: 0;
  }

  .footer-social-line {
    width: 90%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .site-footer .text-copyright {
    margin-top: 90px;
    display: inline-block;
  }

  .footer-logo {
    margin-top: 45px;
  }

  .payment-icons {
    position: absolute;
    bottom: 70px;
    width: 100%;
  }

  .category-card {
    margin-left: 20px;
    margin-right: 20px;
  }

  .product-card .favourite-btn,
  .product-card .detail-btn {
    display: block;
  }

  .categorySwiper .swiper-slide {
    height: 340px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-banner {
    background-image: url('../images/banner-mobile.jpg');
    background-position: top right;
    min-height: 300px;
  }

  .hero-banner h1 {
    font-size: 2rem;
  }

  .highlight-header h2 {
    font-size: 1.5rem;
  }

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

  .about-intro h2 {
    font-size: 1.7rem;
  }

  .about-value h3 {
    font-size: 1.4rem;
  }

  .about-value p {
    line-height: normal;
  }

  .offer-box {
    padding: 0;
  }

  .why-us ul li {
    padding: 10px 0px 0px 15px;
  }

  .product-listing .product-card {
    margin-right: 0;
    height: 420px !important;
  }

  .bg-promo,
  .bg-promo img {
    border-radius: 0 !important;
  }

  .bg-promo h2 {
    font-size: 2rem;
  }

  .bg-promo p {
    font-size: 1.2rem;
  }

  header {
    margin-bottom: 24px;
  }
}