h1, h2, h3{ font-family: 'Raleway', serif; }
body, p, a { font-family: 'Lato', sans-serif; }

.navbar-brand{
    font-family: 'Great Vibes', cursive; font-size: 2rem; letter-spacing: 1px;
}

:root {
    --primary: #ffffff;
    --secondary: #fff7f5;
    --accent: #f26b50; 
    --dark-accent: #c94c35;
    --social-link-hover: rgba(242, 107, 80, 0.6);
    --text: #1f2937;
    --border: #f0e2de;

    --red-50:  hsl(13 85% 92% / 0.85);
    --red-200: hsl(13 80% 78% / 0.90);
    --red-400: hsl(13 75% 60% / 0.90);
    --red-600: hsl(13 70% 45% / 0.95);
    --red-800: hsl(13 65% 28% / 1.00);

    --btn-buy-now-grad: linear-gradient(to right, #f26b50 0%, #ff8b70 51%, #f26b50 100%);
}

body {
    padding-top: 120px;
    background-color: var(--secondary);
}

/* Centered Logo Navbar */
.centered-navbar {
    background: var(--primary);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s;
}

.centered-navbar.hide {
    transform: translateY(-100%);
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.top-bar-text {
    color: var(--text);
    margin: 0;
    text-decoration: none;
}

.top-bar-text i {
    color: var(--accent);
    font-size: 16px;
}

/* Main Navbar */
.main-navbar {
    padding: 20px 0;
    position: relative;
}

/* Brand */
.navbar-brand {
    font-size: 2.5rem;
    color: var(--text) !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    z-index: 1;
}

/* Navigation Links */
.nav-item {
    position: relative;
    margin: 0 10px;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    padding: 8px 5px !important;
    position: relative;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Icons */
.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    position: relative;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-icon i{
    font-size: 20px;
}

.nav-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Search Box */
.search-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.search-box input {
    width: 0;
    opacity: 0;
    padding: 8px;
    border: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--text);
}

.search-box input.show {
    width: 200px;
    opacity: 1;
    border-bottom-color: var(--border);
    background: var(--primary);
}

#searchInputSmall {
    width: 200px;
    padding: 8px;
    border: none;
    border-bottom: 1px solid transparent;
    outline: none;
    border-bottom-color: var(--accent);
    background: var(--primary);
    color: var(--text);
}

.search-box input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    z-index: 2;
}

.search-toggle:hover {
    color: var(--accent);
}

/* Mobile Responsive Fix */
@media (max-width: 991px) {
    .search-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }

    .search-box input {
        position: static;
        width: 0;
        opacity: 0;
        transform: none;
        border-bottom: 1px solid transparent;
        margin-top: 10px;
        transition: all 0.3s ease;
    }

    .search-box input.show {
        width: 100%;
        opacity: 1;
        border-bottom-color: var(--accent);
        background: var(--primary);
        padding: 8px 5px;
    }

    .search-box .search-toggle {
        align-self: flex-end;
    }
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.dropdown-item {
    padding: 8px 25px;
    color: var(--text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--secondary);
    color: var(--accent);
    padding-left: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    body {
        padding-top: 150px;
    }

    .navbar-brand {
        position: static;
        transform: none;
        font-size: 2rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .main-navbar {
        padding: 15px 0;
    }

    .navbar-collapse {
        background: var(--primary);
        padding: 20px;
        margin-top: 15px;
        border-top: 1px solid var(--border);
    }

    .nav-link {
        padding: 12px 5px !important;
    }

    .nav-icons {
        margin-top: 15px;
        justify-content: center;
    }

    .search-box input.show {
        width: 100%;
        position: static;
        transform: none;
        margin-top: 15px;
        padding: 8px 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .top-bar {
        font-size: 0.8rem;
    }
}

@media (max-width: 991px) {
    /* Reset the desktop absolute centering */
    .navbar-brand {
        position: static !important;
        transform: none !important;
        margin: 0;
        font-size: 2rem;
    }

    /* Reorder layout: logo left, toggle right */
    .main-navbar .container > .d-flex {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Move toggle to right side */
    .navbar-toggler {
        order: 2;
        margin-left: auto;
    }

    /* Keep brand on left */
    .navbar-brand {
        order: 1;
    }
}

/* Fix for search box + icons alignment inside collapsed mobile menu */
@media (max-width: 991px) {
    /* Mobile menu icons + search inline */
    .navbar-collapse .nav-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 15px;
    }

    .navbar-collapse .search-box {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    .navbar-collapse .search-box input {
        width: 0;
        opacity: 0;
        padding: 8px;
        border: none;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
        position: absolute;
        right: 25px; /* expands toward left of icon */
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        color: var(--text);
    }

    .navbar-collapse .search-box input.show {
        width: 180px;
        opacity: 1;
        border-bottom-color: var(--accent);
        background: var(--primary);
    }

    .navbar-collapse .search-toggle {
        background: none;
        border: none;
        color: var(--text);
        cursor: pointer;
        transition: color 0.3s;
        padding: 0;
        z-index: 2;
    }

    .navbar-collapse .search-toggle:hover {
        color: var(--accent);
    }
}

.navbar-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    max-height: 100%;
}

/*Carousel Banner CSS*/
/* Make the carousel occupy full viewport height */
.carousel,
.carousel-inner,
.carousel-item {
  height: 100vh;
}

/* Hero section base (moved background image to per-slide classes) */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Gradient overlay (unchanged) */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* Content and animations (unchanged) */
.content-wrapper {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 2;
  opacity: 0;
  animation: slideIn 1.5s ease forwards;
}

.title-line {
  width: 100px;
  height: 4px;
  background: #fff;
  margin-bottom: 2rem;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 1s ease forwards 0.5s;
}

.main-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
}

.main-title span {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.main-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.8;
}

.cta-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  transition: all 0.4s ease;
  z-index: -1;
}

.cta-btn:hover {
  color: #000;
}

.cta-btn:hover::before {
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2s infinite;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes lineGrow {
  to { transform: scaleX(1); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    transform: rotate(45deg) translate(0, 0);
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    left: 5%;
    right: 5%;
    text-align: center;
  }

  .title-line {
    margin: 0 auto 2rem;
  }

  .main-title {
    font-size: 3rem;
  }

  .main-title span {
    font-size: 1.8rem;
  }

  .main-subtitle {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

/*Headings CSS*/
.eyebrow{
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-block;
  color: #083d3f;
}
.eyebrow-pill{
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  padding: .25rem .6rem;
}

.eyebrow-pill-category{
  font-size: 1rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  padding: .25rem .6rem;
}

.subtitle{
  color: var(--muted);
  max-width: 60ch;
}
.title{
  color: var(--ink);
}
.category-title{
  font-family: 'Great Vibes', cursive; font-size: 2rem; letter-spacing: 1px;
  color: var(--ink);
}
.rule{
  height: 3px;
  background: var(--accent);
  width: 64px;
  border-radius: 2px;
}

/*Categories section css*/
.category-section {
    width: 100%;
    height: 70vh;
  }

.subcategory-section {
    width: 100%;
    height: 50vh;
}

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    position: relative;
    overflow: hidden;
    cursor: grab;
    height: 100%;
  }

  .category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
  }
  
  /* Default style for subcategory placeholder */
.subcategory-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

/* Odd-numbered slides */
.swiper-slide:nth-child(odd) .subcategory-color {
  background: var(--dark-accent);
}

/* Even-numbered slides */
.swiper-slide:nth-child(even) .subcategory-color {
  background: var(--accent);
}


  .swiper-slide:hover .category-image {
    transform: scale(1.1);
  }

  .category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.5s ease;
  }

  .swiper-slide:hover .category-overlay {
    background: rgba(0, 0, 0, 0.35);
  }

  .category-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 2;
  }

  .category-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Great Vibes', cursive;
  }

  .category-title em {
    font-style: italic;
    font-weight: 400;
  }
  
  .subcategory-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }

  .category-title em {
    font-style: italic;
    font-weight: 400;
  }

  .category-content .btn {
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }

  .category-content .btn:hover {
    background-color: #fff;
    color: #000;
  }

  /* Remove default gaps between slides */
  .swiper-wrapper {
    margin: 0;
  }

  /* Swiper navigation buttons styling */
  .swiper-button-next,
  .swiper-button-prev {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    opacity: 1;
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .category-title {
      font-size: 1.5rem;
    }
    .category-content {
      bottom: 20px;
    }
  }
  
  /*Product card CSS*/
.product-card { 
    border-radius: 0; 
    border: none; 
    background: white; 
    overflow: hidden;
}

/* Image wrapper: fixed aspect ratio (portrait) */
.product-img-wrapper { 
    position: relative; 
    overflow: hidden; 
    border-radius: 0px; 
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait ratio */
    background: #f8f8f8; /* fallback background */
}

/* Both images take full space and are cropped properly */
.product-img-wrapper img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover;  /* ensures portrait fill without distortion */
    transition: opacity .4s ease, transform .4s ease;
    border-radius: 0;
}

/* Hover image hidden initially */
.product-img-wrapper img.hover-img { 
    opacity: 0; 
}

/* Hover animation */
.product-img-wrapper:hover img.hover-img { 
    opacity: 1; 
    transform: scale(1.03);
}

/* Sale badge */
.badge-sale { 
    position: absolute; 
    bottom: 10px; 
    left: 10px; 
    background: var(--accent); 
    color: var(--primary); 
    border-radius: 12px; 
    padding: 2px 8px; 
    font-size: .8rem; 
}

/* Out of stock badge */
.badge-out {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #6c757d;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: .8rem;
}

.card-title { 
    font-size: .9rem; 
    font-weight: 500; 
    letter-spacing: .5px; 
    text-transform: uppercase; 
}

.price { 
    margin-top: 4px; 
}

.price-old { 
    text-decoration: line-through; 
    color: #6c757d; 
    margin-right: 6px; 
    font-size: .9rem; 
}

.price-new { 
    font-weight: 600; 
    font-size: 1rem; 
}


/*parallax CSS*/
/* Parallax hero */
  .parallax-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1521334884684-d80222895322?q=80&w=1800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Key for parallax effect */
    color: #fff;
  }

  /* Overlay for contrast */
  .parallax-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.35)
    );
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-title {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    font-family: 'Great Vibes', cursive;
    font-weight: 500;
  }

  .hero-subtitle {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }

  /* Mobile fallback: fixed attachment often poorly supported */
  @media (max-width: 991.98px) {
    .parallax-hero {
      background-attachment: scroll;
    }
  }
  
  .parallax-ios-fix {
    background-attachment: scroll !important;
}

/* Custom Banner Section */
.custom-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 35vh;
}

.custom-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.custom-banner-card:hover img {
  transform: scale(1.05);
}

.custom-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 1rem;
  font-family: 'Great Vibes', cursive;
}

.custom-banner-card:hover .custom-banner-overlay {
  opacity: 1;
}

/*services css*/
.stats-row {
    display: flex;
    /*gap: 2rem;*/
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    color: var(--primary);
    font-size: 20px;
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/*social media section*/
.social-section {
    background: var(--secondary);
}

.social-image-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.social-image-card:hover {
    transform: scale(1.05);
}

.social-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.social-image-card:hover .social-overlay {
    opacity: 1;
}

.social-overlay i {
    font-size: 2rem;
    color: var(--primary);
}

/*footer css*/
.luxury-footer {
    background: var(--accent);
    color: var(--primary);
    padding: 4rem 0 2rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height:80px;
    object-fit:cover;y
}

.footer-logo span {
    font-size: 2rem;
    font-family: 'Great Vibes', cursive; 
    letter-spacing: 1px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--social-link-hover);
    transform: translateY(-3px);
    color: var(--primary);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.2s ease;
    font-weight: 400;
}

.footer-menu a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.copyright {
    margin: 0;
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: 0.2s ease;;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--accent);
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary);
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--primary) !important; /* white divider */
}

/*no products available css*/
.section-header {
  background: var(--primary); /* subtle background */
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

.empty-state-wrapper {
  padding: 2rem;
}

.empty-icon i {
  font-size: 3rem;
  color: var(--accent); /* soft red accent to match your brand footer */
}

.section-title {
  font-weight: 600;
  font-size: 1.8rem;
  color: #333;
}

.section-description {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.btn-outline-dark {
  border-color: #222;
  color: #222;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background-color: #222;
  color: #fff;
}
.empty-icon i {
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.featured-products-section {
    padding: 3rem 0;
}

.btn-grad, .btn-grad-small {
    background-image: var(--btn-buy-now-grad);
}
.btn-grad {
    margin: 10px;
    padding: 15px 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
 }

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-grad-small {
    /*margin: 10px;*/
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
 }

.btn-grad-small:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}


/* Outline gradient button with sweep + shine on hover */
.btn-grad-outline,
.btn-grad-outline-small {
  /* Layered backgrounds: white fill + gradient border */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--btn-buy-now-grad) border-box;
  border: 2px solid transparent;
  border-radius: 10px;

  /* Layout and typography to match */
  margin: 10px;
  padding: 13px 23px;
  text-align: center;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  /* Animation setup: only the gradient layer needs wide background */
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, left center;
  transition: background-position 0.5s ease, color 0.2s ease, box-shadow 0.2s ease;

  color: var(--accent);
  text-decoration: none;
  box-shadow: 0 0 20px #eee;

  /* For the shine overlay */
  position: relative;
  overflow: hidden;
}

.btn-grad-outline-small {
  padding: 9px 16px;
}

/* Shining sweep overlay */
.btn-grad-outline::after,
.btn-grad-outline-small::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -30%;
  width: 40%;
  height: 300%;
  pointer-events: none;
  /* A bright diagonal stripe that looks like a sheen */
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%) rotate(25deg);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

/* Hover: fill with gradient, sweep gradient to the right, and show shine */
.btn-grad-outline:hover,
.btn-grad-outline-small:hover {
  background:
    var(--btn-buy-now-grad) padding-box,
    var(--btn-buy-now-grad) border-box;
  background-size: 200% 100%, 200% 100%;
  background-position: right center, right center;
  color: #fff;
  text-decoration: none;
}

.btn-grad-outline:hover::after,
.btn-grad-outline-small:hover::after {
  transform: translateX(280%) rotate(25deg);
  opacity: 0.65;
}

/* Modifier: keep outline (no fill) but still animate border + shine */
.btn-grad-outline.no-fill-hover:hover,
.btn-grad-outline-small.no-fill-hover:hover {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--btn-buy-now-grad) border-box;
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, right center; /* animate only border gradient */
  color: var(--accent);
}


/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom-in {
    animation: zoomIn 0.5s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logout-button{
    cursor:pointer;
}

/*pagination css*/
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    background: var(--primary);
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Common page link style */
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

/* Hover state */
.page-link:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* Active page */
.page-item.active .page-link {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    font-weight: 600;
}

/* Disabled page links */
.page-item.disabled .page-link {
    background: var(--primary);
    color: rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
}

/* Arrows */
.page-link i {
    font-size: 0.85rem;
}

/* Responsive: slightly smaller but well spaced on mobile */
@media (max-width: 576px) {
    .pagination {
        gap: 0.3rem;
        padding: 0.4rem 0.6rem;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

/* Confirm Button */
.swal2-confirm {
    background-color: black !important;
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

/* Cancel Button */
.swal2-cancel {
    background-color: white !important;
    color: #000 !important;
    border: 1px solid #000;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

/* Optional: Adjust hover effect */
.swal2-confirm:hover, .swal2-cancel:hover {
    opacity: 0.9;
}