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

        :root {
            --primary-blue: #2196F3;
            --primary-orange: #FF9800;
            --dark-blue: #1976D2;
            --light-blue: #E3F2FD;
            --text-dark: #212121;
            --text-gray: #757575;
            --bg-light: #F5F5F5;
            --white: #FFFFFF;
            --success: #4CAF50;
            --shadow: 0 2px 10px rgba(0,0,0,0.1);
            --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--white);
            padding-top: 80px;
        }

        /* FULL PAGE overflow fix */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


        /* Header Navigation */
header {
    position: fixed;
    top: 0;
    z-index: 9999;
    background: white;
    width: 100%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    height: 70px;
    background: white;
}

header nav {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header nav:hover {
    background: rgba(255, 255, 255, 0.95); /* Slightly lighter */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hover shadow */
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
    margin-top: 0px;
    margin-left: 80px;
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* remove underline */
    color: inherit;        /* keep text same color as theme */
}

.logo-link:hover .logo-text {
    color: var(--primary-orange); /* optional hover effect */
}

.nav-search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 10px;
    font-size: 0.95rem;
    width: 600px;
    transition: width 0.3s ease;
}

.search-input::placeholder {
    color: #888;
}

.search-btn {
    border: none;
    background: #ff6f61;
    color: white;
    padding: 8px 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #e65a4f;
}

        .logo-icon {
            width: 40px;
            height: 40px;
            margin-right: 8px;
            background: linear-gradient(135deg, var(--primary-blue) 50%, var(--primary-orange) 50%);
            border-radius: 50%;
            position: relative;
        }

        .logo-icon::after {
            content: "C";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 25px;

        }

        .nav-menu a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-menu a:hover {
            color: var(--primary-orange);
        }

        /* Orange bottom line */
        header nav::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;                /* start from left */
            height: 3px;
            width: var(--line-width, 0%);
            background: orange;
            transition: width 0.2s linear;
        }


        .btn-primary {
            background: linear-gradient(135deg, var(--primary-orange), #FF7043);
            color: white;
            padding: 14px 40px;
            font-size: 1.1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 60px;
            align-self: flex-start;
            text-decoration: none;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
            background: #e85c2c;
        }

.homepage-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 30px; /* Adjust the value for more/less rounding */
  margin: 2rem auto; /* Center the slider */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Optional: nice shadow */
  margin-bottom: 4rem;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: 100%;
  position: absolute;
}

.slide {
  min-width: 100%;
  height: 650px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
   overflow: hidden;
   border-radius: 30px;
    background-color: #ffd88b;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* keep h2 + p on top */
    align-items: flex-start;
    padding-left: 5%;
    padding-bottom: 2rem; /* spacing for bottom */
    position: relative;
}


.slide-left h2 {
    font-weight: 800; /* Bold */
    color: #000;      /* Black */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-left p {
    color: #000;      /* Black */
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.slide-content {
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 2rem;
  border-radius: 10px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

/* Slider Dots (rectangular dashes) */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 30px;      /* rectangle width */
  height: 10px;      /* rectangle height */
  background: #FF9800; /* orange color */
  border-radius: 3px;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  opacity: 1;
  background: #ff6600; /* darker orange when active */
}


/* Colorful Animated Rings */
.ring {
    position: absolute;
    border: 3px solid;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: floatRing 4s ease-in-out infinite;
    opacity: 0.7;
}

.ring:nth-child(1) { top: 10%; left: 20%; border-color: #FFD88B; animation-delay: 0s; }
.ring:nth-child(2) { top: 25%; left: 75%; border-color: #FF6B6B; animation-delay: 0.5s; width: 25px; height: 25px; }
.ring:nth-child(3) { top: 50%; left: 15%; border-color: #6BCB77; animation-delay: 1s; width: 18px; height: 18px; }
.ring:nth-child(4) { top: 65%; left: 60%; border-color: #4D96FF; animation-delay: 1.5s; width: 22px; height: 22px; }
.ring:nth-child(5) { top: 40%; left: 40%; border-color: #FFCA3A; animation-delay: 2s; width: 28px; height: 28px; }
.ring:nth-child(6) { top: 70%; left: 30%; border-color: #9B5DE5; animation-delay: 2.5s; width: 20px; height: 20px; }
.ring:nth-child(7) { top: 20%; left: 50%; border-color: #F15BB5; animation-delay: 3s; width: 24px; height: 24px; }
.ring:nth-child(8) { top: 55%; left: 80%; border-color: #00BBF9; animation-delay: 3.5s; width: 26px; height: 26px; }

@keyframes floatRing {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

        .discount-badge {
            display: inline-block;
            background: var(--primary-orange);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .search-container {
            background: white;
            padding: 0.5rem;
            border-radius: 50px;
            display: flex;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-bottom: 2rem;
        }

        .search-container input {
            flex: 1;
            border: none;
            padding: 1rem 1.5rem;
            font-size: 1rem;
            outline: none;
        }

        .search-container button {
            background: var(--primary-blue);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }

        .search-container button:hover {
            background: var(--dark-blue);
        }

        .floating-card {
            position: absolute;
            background: white;
            padding: 1rem;
            border-radius: 15px;
            box-shadow: var(--shadow-hover);
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .discount-card {
            top: 20%;
            right: -10%;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .discount-card .percent {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-blue);
        }

/* Featured Stores Section */
a {
  text-decoration: none !important;
}

.featured-stores {
  padding: 70px 200px 70px;
  background: var(--white);
  text-decoration: none;
}
.featured-stores-section a {
    text-decoration: none !important;
}

.stores-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row */
  gap: 80px;
  justify-items: center; /* align items in the center of grid cells */
  max-width: 1400px;
  margin: 0 auto; /* center the whole grid */
  text-decoration: none
}

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

.store img {
  width: 180px;
  height: 160px;
  border-radius: 12px; /* Slightly rounded rectangle */
  object-fit: cover; /* Makes logo fill the box completely */
  background: transparent; /* Remove white background */
  padding: 0; /* Remove extra padding */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.store p {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.view-more-container {
  text-align: center;
  margin-top: 50px;
}

.view-more-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.view-more-btn:hover {
  background: linear-gradient(135deg, #ff5722, #e65100);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Categories Section */
.categories-section {
  padding: 4rem 5%;
  border-radius: 15px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* subtle card look */
  max-width: 1400px;
  margin: 2rem auto; /* center with spacing */
  background: #FFF5EF;
  text-decoration: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header a {
    text-decoration: none !important;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each category box */
.category-item {
  background: #FFF5EF;  /* peachy background */
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f1e0d8; /* thin border to separate */
}

.category-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: #ffd88b;
}

.category-icon img {
  width: 40px;  /* increase image size */
  height: 60px;
  object-fit: contain; /* keeps aspect ratio */
}

.category-item h3 {
  font-size: 0.8rem;
  color: black;
  margin-bottom: 0.3rem;
}

.category-count {
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* Statistics Section */
.stats-container {
  background: #FFF5EF;
  border: 2px solid #f1e0d8;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect on the whole box */
.stats-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Grid for inner stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Each stat */
.stat-card {
  padding: 1rem;
}

/* Numbers */
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #FF7043; /* orange highlight */
  margin-bottom: 0.5rem;
}

.stat-card span:last-child {
  font-size: 1rem;
  color: var(--text-dark);
}
.stat-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 3px solid #FF7043; /* Circle border color */
  border-radius: 50%;         /* Makes it circular */
  padding: 15px;               /* Space between image and border */
  display: inline-block;
  margin-bottom: 10px;
}


        /* Popular Coupons Section */
        .coupons-section {
            padding: 4rem 5%;
            background: white;
        }

        .coupon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .coupon-card {
            background: #FFF5EF;
            border: 1px solid #E0E0E0;
            border-radius: 12px;
            padding: 1.5rem;
            position: relative;
            transition: box-shadow 0.3s, transform 0.3s;
        }

        .coupon-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .coupon-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .verified-badge {
            background: #E8F5E9;
            color: var(--success);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 10px;
        }

        .expiry-date {
            color: var(--text-gray);
            font-size: 0.85rem;
        }

/* ===== Brand Image Styling (Fixed — No Extra Gap) ===== */
.coupon-brand {
  text-align: center;
  margin: 0;               /* remove outer spacing */
  padding: 0;
  line-height: 0;          /* removes space below inline images */
}

.coupon-brand img {
  width: 100%;
  max-width: 340px;
  height: 180px;
  object-fit: cover;       /* fills the space neatly */
  border-radius: 8px;
  display: block;          /* removes inline-block spacing gap */
  margin: 1px 1PX 1PX 1PX;          /* keeps it centered */
}

        .coupon-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .coupon-discount {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-orange);
            margin: 1rem 0;
        }

        .coupon-description {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            line-height: 1.4;
        }

        .coupon-footer {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .btn-get-deal {
            flex: 1;
            background: var(--primary-orange);
            color: white;
            padding: 0.8rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn-get-deal:hover {
            background: #e85c2c;
            transform: scale(1.05);
        }

        .coupon-stats {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-gray);
            font-size: 0.85rem;
        }
/* Blogs Section */
.blog-section {
  padding: 1rem 5%;
  border-radius: 15px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 1375px;
  margin: 2rem auto;
  background: linear-gradient(135deg, #fff8f5, #fdf2ec);
}

/* Quick centered, responsive scratch image used as a regular element */
.blog-Head {
  display: block;               /* makes margin:auto work */
  margin: 0px auto 30px;             /* center + space below */
  width: min(450px, 90%);          /* scale: up to 700px but no wider than viewport */
  height: auto;                    /* keep aspect ratio */
  object-fit: contain;
  pointer-events: none;            /* decorative only */
  opacity: 0.95;
}

/* Container */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Featured big blog */
.blog-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.blog-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.blog-featured:hover img {
  transform: scale(1.05);
}

.blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.blog-overlay .tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.blog-overlay p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Right side blogs as image cards */
.blog-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.blog-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.blog-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s;
}

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

.blog-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-card .overlay .tag {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #ffd9c9; /* light orange tint */
}

.blog-card .overlay h4 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.blog-card .overlay p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.blog-full {
  position: relative;
  width: 100%;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  height: 500px;
}

.blog-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

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

.blog-full .blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.blog-full .blog-overlay .tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-full .blog-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.blog-full .blog-overlay p {
  font-size: 1rem;
  line-height: 1.6;
}


/* FAQ Section */
.faq-section {
  background: white;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 3rem auto;
}

.faq-section h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1A1A1A;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ffd9c9;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #fff0e6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  color: #555;
  transition: all 0.3s ease;
}

.faq-answer p {
  margin: 15px 0;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* enough for text */;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  color: #ff5722;
}

.icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.faq-btn:hover {
  background: linear-gradient(135deg, #ff5722, #e65100);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Read More Button Style */
.blog-read-more {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--primary-orange);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.blog-read-more:hover {
    background: #e85c2c;
    transform: scale(1.05);
}

        /* Footer */
        footer {
            background: #1A1A1A;
            color: white;
            padding: 3rem 5%;
        }
        footer a:hover i {
  color: #FF9800;
  transform: scale(1.2);
  transition: 0.3s;
}
footer ul li a {
  text-decoration: none !important;
}

footer ul li a:hover {
  text-decoration: none !important;
}


        .footer-overlay {
            position: absolute;
            top: 0px;          /* push it to the top */
            left: 50%;
            transform: translateX(-50%);
            font-size: 7.5rem;
            font-weight: 900;
            font-family: 'Great Vibes', cursive; /* <-- Stylish font */
            color: #FF9800; /* transparent grey */
            white-space: nowrap;
            pointer-events: none;
            z-index: 0;
            letter-spacing: 12px;
            margin-top: -5px; /* adjust vertical position */
            }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
        }

.footer-coupon-icon {
  position: absolute;
  width: 120px;
  height: auto;
  opacity: 0.3;
  transition: transform 0.3s ease;
}

/* Glowing effect + smooth float */
@keyframes glowFloat {
  0%, 100% {
    transform: scale(1);

  }
  50% {
    transform: scale(1.2);
 
  }
}

/* Positions */
.footer-coupon-icon.left {
  right: 280px;
  bottom: 340px;
  width: 200px;
}

.footer-coupon-icon.center {
  width: 120px;
  bottom: 150px;
  right: 320px;
}

.footer-coupon-icon.right {
  bottom: 120px;
  right: 120px;
  animation-delay: 4s;
  width: 190px;
}

.footer-coupon-icon.rightbottom {
  width: 220px;
  bottom: 30px;
  right: 170px;
}


/* Floating animation */
@keyframes floatCoupon {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.08;
  }
  50% {
    transform: translateY(-18px);
    opacity: 0.12;
  }
}

        /* Responsive Design */
        @media (max-width: 768px) {

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

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

            .categories-grid {
                grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
                gap: 1rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        /* RESPONSIVE SEARCH BAR */
@media (max-width: 768px) {
    .nav-search {
        position: relative;
    }

    .search-input {
        width: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 40px;
        transition: all 0.3s ease;
    }

    .search-btn {
        padding: 0.5rem;
    }

    .nav-search.active .search-input {
        width: 150px;
        padding: 0.5rem;
        opacity: 1;
        pointer-events: auto;
    }
}


.region-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.region-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.region-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.region-btn:hover {
  background-color: #f0f0f0;
}

.region-btn img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.region-menu {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 4px solid #ddd;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
}

.region-dropdown.active .region-menu {
  display: block;
}

.region-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.region-menu li:hover {
  background-color: #f5f5f5;
}

.region-menu img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}


/* ========== MODAL POPUP ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 10px;
  padding: 30px;
  width: 450px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.modal-header img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.modal .discount-text {
    color: #000000; /* Black */
    font-size: 24px;
}
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.store-logo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.expired-text {
  color: #7393B3;
  font-weight: 600;
  margin: 10px 0;
}

.promo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  border: 2px solid #e85c2c;
  border-radius: 5px;
  width: fit-content;
  padding: 5px 10px;
}

#promoCode {
  background: #ffd88b;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

#copyBtn {
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  margin-left: 10px;
}

.subscribe-box {
  background: #ffd88b;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.subscribe-box input {
  padding: 10px;
  width: 65%;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.subscribe-box button {
  padding: 10px 15px;
  border: none;
  background: var(--primary-orange);
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}
.deal-text {
  font-size: 28px;       /* Bigger text */
  font-weight: bold;     /* Bold */
  text-align: center;    /* Centered */
  color: #000;           /* Black */
  margin: 20px 0;
}

.discount-value1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-orange);
    line-height: 1;
    margin: 5px 0;
}

/* ===========================================
   GLOBAL MOBILE FIXES
   =========================================== */
@media (max-width: 768px) {

  /* Remove horizontal overflow from all sections */
  * {
    max-width: 100% !important;
  }

  body {
    padding-top: 70px !important;
  }

  /* ============================
     HEADER + NAV FIX
     ============================ */
   nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Move hamburger icon to LEFT */
  .mobile-menu-toggle {
    order: 1;
    margin-left: 0 !important;
    margin-right: 10px;
  }

  /* Logo in CENTER */
  .logo {
    order: 2;

  }

  .logo-img {
    width: 120px !important;
        margin: 0 !important;
    padding-left: 0 !important;
    height: auto;
  }


  /* Search + Region on RIGHT */
  .nav-search {
    order: 3;
    margin-left: auto !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .region-selector {
      display: flex;
  justify-content: center;
  align-items: center;
    order: 4;
  }
  .region-btn {
  padding: 14px 10px;
  font-size: 14px;
  border-radius: 18px;
}
.region-btn img {
  width: 22px;
  height: 16px;
}
.region-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding-right: 10px;
  display: none;
  z-index: 3000;
}

/* ====================================================
   MOBILE VERSION — HOMEPAGE SLIDER (FULLY OPTIMIZED)
   ==================================================== */
@media (max-width: 768px) {

  /* RESET DESKTOP VALUES */
  .homepage-slider {
    height: auto !important;
    margin: 1rem 0;
    border-radius: 0;
    overflow: hidden !important;
  }

  .slider-wrapper {
    position: relative;
    height: auto !important;
    display: flex;
  }

  .slide {
    min-width: 100%;
    height: auto !important;
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
    padding-bottom: 20px;
    border-radius: 0;
  }

  /* IMAGE FIRST */
  .slide-right {
    width: 100%;
    order: -1;
    display: flex;
    justify-content: center;
  }

  .slide-right img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    border-radius: 0;
  }

  /* REMOVE FLOATING RINGS */
  .slide-right .ring {
    display: none !important;
  }

  /* TEXT SECTION */
  .slide-left {
    width: 100%;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .slide-left h2 {
    font-size: 1.4rem !important;
    color: #000;
    margin-bottom: 8px;
    font-weight: 800;
  }

  .slide-left p {
    font-size: 0.95rem !important;
    margin-bottom: 0px;
    color: #333;
  }

  /* BUTTON */
  .btn-primary {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 10px;
    align-self: center;
    margin-bottom: 30px;
  }

/* Slider Dots (rectangular dashes) */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 25px;      /* rectangle width */
  height: 7px;      /* rectangle height */
  background: #FF9800; /* orange color */
  border-radius: 3px;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  opacity: 1;
  background: #ff6600; /* darker orange when active */
}
}


  /* ============================
     FEATURED STORES FIX
     ============================ */
  .featured-stores {
    padding: 30px 15px !important;
  }
.stores-header {
    display: flex;
    justify-content: space-between;   /* One on left, one on right */
    align-items: center;
    padding: 0 5px;
    width: 100%;
    margin-bottom: 10px;
}

/* Make "Featured Stores" smaller */
.stores-header h2 {
    font-size: 1.8rem !important;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Make "All Stores" button smaller */
.stores-header .view-more-btn {
    font-size: 0.9rem !important;
    padding: 6px 12px !important;
    border-radius: 6px;
    margin-bottom: 20px;
}
  .stores-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
  }

  .store img {
    width: 120px !important;
    height: 100px !important;
  }

  /* ============================
     CATEGORY SECTION FIX
     ============================ */
  .categories-section {
    padding: 30px 15px !important;
    margin: 10px;
  }
  .categories-section h2{
    font-size: 1.8rem !important;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
    .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .category-item {
    padding: 1.2rem 0.7rem !important;
  }

  .category-icon img {
    width: 32px !important;
    height: 32px !important;
  }

  /* ============================
     STATS SECTION FIX
     ============================ */
  .stats-container {
    padding: 20px !important;
    margin: 10px !important;
    margin-top: 40px !important;
  }

  .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
  }

  /* ============================
     BLOG SECTION FIX
     ============================ */
  .blog-section {
    padding: 15px !important;
    margin: 10px !important;
  }

  .blog-container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .blog-card img {
    height: 120px !important;
  }

  .blog-full {
    height: 320px !important;
  }
  .blog-overlay h3,h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

  /* ============================
     COUPON CARDS FIX
     ============================ */
  .coupon-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 0px !important;
  }

  .coupons-section h2{
    font-size: 1.8rem !important;
  }
  .coupon-brand img {
    height: 150px !important;
    object-fit: contain !important;
  }
.faq-section{
  margin-top: -40px !important;
}
  .faq-section h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #1A1A1A;
}

  /* ============================
     FOOTER FIXES
     ============================ */
  footer {
    padding: 4rem 5% 2rem !important;
  }

  /* Grid becomes single column */
  footer > div {
    margin: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Remove large 300px left margin from Quick Links */
  footer div[style*="margin-left: 300px"] {
    margin-left: 0 !important;
  }

  /* Adjust headings */
  footer h3 {
    font-size: 1.2rem !important;
    margin-top: 10px !important;
  }

  /* Paragraph text size */
  footer p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* Social icons */
  footer a i {
    font-size: 20px !important;
  }

  /* Footer overlay (big faded text) */
  .footer-overlay {
    font-size: 2.5rem !important;
    text-align: center;
    margin-bottom: 90px;
    margin-top: 5px !important;
    letter-spacing: 6px !important;
  }

  /* Newsletter input + button */
  footer form {
    display: flex;
    width: 100%;
  }

  footer form input {
    width: 65% !important;
    font-size: 0.9rem;
  }

  footer form button {
    width: 35% !important;
    font-size: 0.9rem !important;
    padding: 10px !important;
  }

  /* Bottom Tagline */
  footer > div[style*="font-size:3rem"] {
    font-size: 1.7rem !important;
    margin-top: 30px !important;
  }

  /* Bottom copyright */
  footer > div[style*="border-top"] {
    font-size: 12px !important;
    margin-top: 10px !important;
  }

  /* Floating coupon icons hidden on mobile */
  .footer-coupon-icon {
    display: none !important;
  }
    /* =============================
        FOOTER ICONS ON MOBILE
     ============================= */
  .footer-coupon-icon {
    display: block !important;
    position: absolute;
    opacity: 0.25;      /* Light faded look */
    width: 60px;        /* Smaller icons */
    height: 180px;
  }

  .footer-coupon-icon.left {
    left: 220px;
    top: 15px;
  }

  .footer-coupon-icon.center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 255px;
    height: 120px;
  }

  .footer-coupon-icon.right {
    left: 250px;
    bottom: 235px;
  }

  .footer-coupon-icon.rightbottom {
    right: 5px;
    bottom: 170px;
  }
}

      /* ======================================
       MOBILE VERSION — HEADER SECTION
   ====================================== */
@media (max-width: 768px) {

  .container {
    padding: 10px !important;
  }

  .header {
    flex-direction: column;        /* stack logo + text vertically */
    text-align: center;
    padding: 20px !important;
    gap: 15px;
  }

  .logo1 img {
    height: 80px !important;     /* smaller for mobile */
    width: 120px !important;
  }

  .header-content h1 {
    font-size: 1rem !important;  /* reduce heading size */
    line-height: 1;
    margin-bottom: 5px;
  }
  
}

@media (max-width: 768px) {

  .mobile-menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -260px;               /* ⬅️ hidden on left */
    height: 100vh;
    width: 260px;
    background: #ffffff;
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 25px;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    transition: left 0.35s ease;
    z-index: 1000;
    display: flex;
  }

  .nav-menu.active {
    left: 0;                    /* ⬅️ slide in */
  }

  .nav-menu li a {
    font-size: 18px;
    font-weight: 600;
  }

  /* Optional overlay */
  body.menu-open {
    overflow: hidden;
  }
}

/* ===== SEARCH POPUP ===== */
.search-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  z-index: 5000;
}

.search-popup.active {
  display: flex;
}

.search-popup-content {
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

#popupSearchInput {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

.search-results {
  list-style: none;
  margin-top: 15px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
}

.search-results li {
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 15px;
}

.search-results li:hover {
  background: #f5f5f7;
}


/* Dynamic coupon uploads */
.ct-coupon-image,
.discount-badge1 > img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.coupon-brand img {
  object-fit: contain;
}


/* Fully dynamic API states */
.ct-category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border: 4px solid #ff8a00;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  font-size: 24px;
  font-weight: 800;
  color: #ff6b00;
}

.ct-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.ct-blog-loading,
.ct-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  color: #667085;
}


/* Backend-driven country and language selector */
.region-selector {
  position: relative;
  flex-shrink: 0;
}

.region-dropdown {
  position: relative;
}

.region-btn {
  min-width: 155px;
  min-height: 48px;
  padding: 7px 12px;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #172033;
}

.ct-country-flag {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.ct-country-button-copy,
.ct-country-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.ct-country-button-copy strong,
.ct-country-copy strong {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.ct-country-button-copy small,
.ct-country-copy small {
  margin-top: 3px;
  color: #7b8495;
  font-size: 10px;
  white-space: nowrap;
}

.ct-country-arrow {
  margin-left: auto;
  color: #7b8495;
}

.region-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 9999;
  display: none;
  width: 250px;
  max-height: 360px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 30, 55, 0.16);
}

.region-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 10px;
  cursor: pointer;
}

.region-menu li:hover {
  background: #fff2ea;
}

html[dir="rtl"] .region-menu {
  right: auto;
  left: 0;
}

@media (max-width: 900px) {
  .region-btn {
    min-width: 58px;
  }

  .ct-country-button-copy strong {
    display: none;
  }

  .ct-country-button-copy small {
    margin: 0;
  }

  .region-menu {
    width: 230px;
  }
}


/* v14: API-driven homepage categories */
.ct-category-loading {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: #667085;
}

.category-item .category-icon {
  display: grid;
  place-items: center;
}

.category-item .category-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.ct-category-letter {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #ff7043;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.category-count small {
  display: block;
  margin-top: 5px;
  color: #8a8f9b;
  font-size: 11px;
}

/* v14: country selector always visible at normal desktop zoom */
.navbar {
  gap: 14px;
}

.nav-logo {
  flex: 0 0 auto;
}

.nav-search {
  min-width: 180px;
  flex: 1 1 420px;
}

.nav-menu {
  flex: 0 1 auto;
  gap: 18px;
  white-space: nowrap;
}

.region-selector {
  display: block !important;
  flex: 0 0 auto;
  margin-left: 0;
}

.region-btn {
  min-width: 76px !important;
  width: auto;
  padding: 8px 11px !important;
  justify-content: center;
}

.ct-country-code {
  font-size: 12px;
  font-weight: 800;
}

.ct-country-arrow {
  margin-left: 1px;
}

@media (max-width: 1180px) {
  .navbar {
    gap: 9px;
  }

  .nav-menu {
    gap: 11px;
  }

  .nav-menu a {
    font-size: 13px;
  }

  .nav-search {
    flex-basis: 300px;
  }
}

@media (max-width: 980px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-logo {
    order: 1;
  }

  .region-selector {
    order: 2;
    margin-left: auto;
  }

  .nav-search {
    order: 3;
    flex: 1 1 calc(100% - 110px);
  }

  .nav-menu {
    order: 4;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-search {
    flex-basis: 100%;
  }

  .nav-menu {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .region-menu {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: 60vh;
  }
}


/* v15: Arabic/Urdu country-language switching */
html[dir="rtl"] .navbar,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .region-btn,
html[dir="rtl"] .region-menu li {
  direction: rtl;
}

html[dir="rtl"] .region-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .ct-country-copy {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .search-container input,
html[dir="rtl"] .search-box input {
  text-align: right;
}


/* v16: uniform backend-uploaded store images */
.ct-store-image,
.store > a > img,
.store-card3 > img,
.logo1 img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  display: block;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain !important;
  padding: 10px;
  box-sizing: border-box;
}

.store,
.store-card3 {
  text-align: center;
}

.store-card3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* v16: all CMS pages use the About Us layout */
.ct-dynamic-page-section {
  min-height: 520px;
}

.ct-dynamic-page-content {
  max-width: 1000px;
  margin: 28px auto 0;
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-hover);
  color: #242938;
  line-height: 1.8;
}

.ct-dynamic-page-content h1,
.ct-dynamic-page-content h2,
.ct-dynamic-page-content h3 {
  margin: 1.2em 0 .55em;
}

.ct-dynamic-page-content p {
  margin: 0 0 1em;
}

.ct-dynamic-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* v17 header spacing */
.navbar{width:100%;max-width:1240px;margin:0 auto;padding-left:20px;padding-right:20px;gap:14px}.nav-search{flex:1 1 330px!important;max-width:500px}.search-input{width:100%!important;min-width:0}.nav-menu{margin-left:auto;flex:0 0 auto;gap:20px}.region-selector{margin-left:12px!important}.region-btn{min-width:82px!important}.region-menu{width:285px!important}@media(max-width:1160px){.nav-search{max-width:400px}.nav-menu{gap:13px}.region-selector{margin-left:6px!important}}@media(max-width:1020px){.navbar{max-width:none}.nav-search{max-width:none}}


/* v18: live-reference header */
.navbar {
  max-width: 1180px !important;
  min-height: 72px;
  padding: 8px 12px !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.nav-logo img,
.logo img {
  width: 145px !important;
  height: auto !important;
}

.nav-search {
  max-width: 535px !important;
  flex: 1 1 430px !important;
}

.nav-menu {
  gap: 20px !important;
  flex-shrink: 0;
}

.region-selector {
  margin-left: 4px !important;
  flex-shrink: 0;
}

.region-btn {
  min-width: 70px !important;
  height: 38px;
  padding: 5px 10px !important;
  border-radius: 12px !important;
  gap: 8px;
}

.region-menu {
  width: 250px !important;
}

.ct-country-flag-image {
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15,23,42,.12);
}

.ct-country-flag-fallback {
  display: grid;
  width: 24px;
  height: 18px;
  place-items: center;
  border-radius: 2px;
  background: #eef2f7;
  font-size: 9px;
  font-weight: 800;
}

.ct-country-api-image,
.category-item .category-icon img,
.ct-category-icon img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

/* Keep brand names, coupon codes and links unchanged when required */
.ct-no-translate {
  unicode-bidi: isolate;
}

@media (max-width: 1100px) {
  .nav-search {
    max-width: 390px !important;
  }

  .nav-menu {
    gap: 12px !important;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap !important;
  }

  .nav-search {
    order: 3;
    max-width: none !important;
    flex-basis: 100% !important;
  }

  .nav-menu {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .region-selector {
    margin-left: auto !important;
  }
}


/* v18.3 dynamic CMS page diagnostics */
.ct-page-error {
  padding: 24px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff1f2;
  color: #991b1b;
}

.ct-page-error h3 {
  margin: 0 0 10px;
}

.ct-page-error code {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  word-break: break-all;
}


.ct-page-empty {
  padding: 22px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
  color: #92400e;
}

.ct-page-empty h3 {
  margin: 0 0 10px;
}


/* v18.5 — dynamic pages use the original static About Us design */
.ct-dynamic-page-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.ct-static-about-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
  line-height: 1.7;
  text-align: left;
  color: #111827;
}

.ct-static-about-content h1,
.ct-static-about-content h2,
.ct-static-about-content h3,
.ct-static-about-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #111827;
}

.ct-static-about-content p {
  margin-bottom: 18px;
}

.ct-static-about-content ul,
.ct-static-about-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.ct-static-about-content li {
  margin-bottom: 6px;
}

html[dir="rtl"] .ct-static-about-content {
  text-align: right;
}

html[dir="rtl"] .ct-static-about-content ul,
html[dir="rtl"] .ct-static-about-content ol {
  padding-left: 0;
  padding-right: 24px;
}

/* Unified header spacing on every page */
header nav {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  gap: 14px;
}

header .nav-search {
  flex: 1 1 380px;
  max-width: 470px;
  min-width: 220px;
}

header .nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  white-space: nowrap;
}

header .region-selector {
  flex: 0 0 auto;
  margin-left: 14px !important;
}

header .region-btn {
  min-width: 88px !important;
}

@media (max-width: 1120px) {
  header .nav-search {
    max-width: 370px;
  }

  header .nav-menu {
    gap: 12px;
  }

  header .region-selector {
    margin-left: 8px !important;
  }
}

@media (max-width: 940px) {
  header nav {
    flex-wrap: wrap;
  }

  header .nav-search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  header .nav-menu {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  header .region-selector {
    margin-left: auto !important;
  }
}


/* v19 — restore the original static homepage order and spacing */
.ct-home-featured-stores {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  background: #fff;
}

.ct-home-featured-stores .store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.ct-home-featured-stores .store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.ct-home-featured-stores .all-stores-btn {
  background: #ff6b00;
  color: white;
  padding: .8rem 1.5rem;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
}

/* Blog listing follows original static composition */
.ct-blogs-page-title {
  padding: 80px 20px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #ff7b54, #ffb26b);
}

.ct-blogs-page-title h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
}

.ct-blogs-page-title p {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.ct-our-blogs-title,
.blog-sections .blog-title {
  width: 100%;
  text-align: center !important;
  margin: 0 auto 22px !important;
}

/* Blog inner page: image first, then full content underneath */
#dynamicBlogArticle.blog-container {
  display: block !important;
}

#dynamicBlogArticle > #dynamicBlogImage {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

#dynamicBlogArticle .blog-content {
  display: block !important;
  width: auto !important;
  padding: 40px 35px 50px;
}

.ct-rich-content {
  line-height: 1.8;
  font-size: 1rem;
}

.ct-rich-content h1 { font-size: 2.4rem; margin: 1.2em 0 .55em; }
.ct-rich-content h2 { font-size: 2rem; margin: 1.2em 0 .55em; }
.ct-rich-content h3 { font-size: 1.65rem; margin: 1.15em 0 .5em; }
.ct-rich-content h4 { font-size: 1.4rem; margin: 1.1em 0 .45em; }
.ct-rich-content h5 { font-size: 1.2rem; margin: 1em 0 .4em; }
.ct-rich-content h6 { font-size: 1rem; margin: 1em 0 .35em; }
.ct-rich-content p { margin: 0 0 1.15em; }
.ct-rich-content ul,
.ct-rich-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.ct-rich-content img { max-width: 100%; height: auto; border-radius: 10px; }
.ct-rich-content figure { margin: 1.5rem 0; }

/* Dynamic pages match the original static About page typography */
.ct-static-about-content {
  font-size: 1rem;
  line-height: 1.7;
  padding: 2rem;
}

.ct-static-about-content h1 { font-size: 2.1rem; margin: 0 0 .65em; }
.ct-static-about-content h2 { font-size: 1.65rem; margin: 1.35em 0 .45em; }
.ct-static-about-content h3 { font-size: 1.25rem; margin: 1.25em 0 .4em; }
.ct-static-about-content h4 { font-size: 1.1rem; margin: 1.15em 0 .35em; }
.ct-static-about-content h5,
.ct-static-about-content h6 { margin: 1em 0 .3em; }
.ct-static-about-content p { margin: 0 0 1.15em; }
.ct-static-about-content li { margin-bottom: .35em; }

/* Header space between Contact and country dropdown */
header .nav-search {
  max-width: 430px !important;
}

header .region-selector {
  margin-left: 22px !important;
}

/* Dropdown: flag + manually entered country code only */
.region-menu .ct-country-copy small,
.region-menu .ct-country-copy span {
  display: none !important;
}

.region-menu .ct-country-copy strong {
  font-size: .95rem;
}

.region-menu .region-option {
  justify-content: flex-start;
  gap: 12px;
}

@media (max-width: 900px) {
  .ct-blogs-page-title {
    padding: 55px 18px;
  }
  .ct-blogs-page-title h1 { font-size: 2.2rem; }
  .ct-blogs-page-title p { font-size: 1.35rem; }
}


/* v19.1 */
.ct-static-stat-icon{width:62px;height:62px;margin:0 auto 18px;display:grid;place-items:center;border:2px solid #ff6b35;border-radius:50%;font-size:28px;background:#fff8f3}
.ct-overlay-blog-card{position:relative;overflow:hidden}
.ct-overlay-blog-card img{display:block;width:100%;height:100%;object-fit:cover}
.ct-overlay-blog-card .blog-info,.ct-overlay-blog-card .blog-content,.ct-overlay-blog-card .blog-card-content{position:absolute!important;inset:auto 0 0 0;z-index:2;padding:28px 24px 20px!important;color:#fff!important;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.ct-overlay-blog-card h2,.ct-overlay-blog-card h3,.ct-overlay-blog-card h4,.ct-overlay-blog-card p,.ct-overlay-blog-card .date,.ct-overlay-blog-card .tag{color:#fff!important}
body:has(#dynamicBlogArticle){padding-top:0!important}
#dynamicBlogArticle.blog-container{display:block!important;max-width:850px;margin:0}
#dynamicBlogArticle #dynamicBlogImage{display:block;width:100%;height:auto;object-fit:cover;border-radius:16px 16px 0 0}
#dynamicBlogArticle .blog-content{width:100%!important;padding:38px 36px 48px!important}
.ct-static-about-content{line-height:1.62}
.ct-static-about-content h1{margin:0 0 .4em!important}
.ct-static-about-content h2{margin:.95em 0 .3em!important}
.ct-static-about-content h3{margin:.85em 0 .25em!important}
.ct-static-about-content h4,.ct-static-about-content h5,.ct-static-about-content h6{margin:.75em 0 .2em!important}
.ct-static-about-content p{margin:0 0 .85em!important}
.ct-static-about-content ul,.ct-static-about-content ol{margin:0 0 .9em!important}
.ct-blogs-page-title + .ct-blogs-page-title{display:none!important}


/* v19.2 — live site fidelity fixes */

/* The live categories page shows image/icon + category name only. */
.categories-grid .category-count,
.category-section .category-count,
#homepageCategoryGrid .category-count {
  display: none !important;
}

.category-card h3,
.category-item h3 {
  margin-bottom: 0 !important;
}

/* Remove any legacy orange blog title banners if old markup remains cached. */
.ct-blogs-page-title,
.feature-stores2 {
  display: none !important;
}

/* Live blog collage: one large article on left, up to three on right. */
.blog-section {
  padding-top: 16px !important;
}

.blog-section > .blog-container {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section .main-blog,
.blog-section .small-blog {
  text-decoration: none;
  color: inherit;
}

.ct-live-blog-overlay {
  position: relative !important;
  display: block !important;
  overflow: hidden;
  border-radius: 12px;
  min-height: 0;
}

.ct-live-blog-overlay > img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.blog-section .main-blog {
  min-height: 460px;
}

.ct-live-blog-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-section .small-blog {
  min-height: 135px;
}

.ct-live-blog-copy {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 60px 24px 22px;
  text-align: left;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,.82)
  );
  color: #fff;
}

.ct-live-blog-copy .tag {
  display: block;
  margin-bottom: 7px;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ct-live-blog-copy h3 {
  margin: 0;
  color: #fff !important;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.small-blog .ct-live-blog-copy {
  padding: 36px 16px 14px;
}

.small-blog .ct-live-blog-copy h3 {
  font-size: 1rem;
}

/* Our Blogs stays centered like the live reference. */
.ct-our-blogs-title,
.blog-sections .blog-title,
.blog-section .blog-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove legacy styling that positioned featured blog text below images. */
.blog-container .main-blog > .blog-content,
.blog-container .small-blog > .blog-content {
  position: static;
}


/* Footer Quick Links alignment fix */
footer > div > div:nth-child(2),
footer .quick-links {
    margin-left: 0 !important;
    min-width: 180px;
}


@media (max-width: 800px) {
  .blog-section > .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-section .main-blog {
    min-height: 360px;
  }

  .ct-live-blog-side {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .blog-section .small-blog {
    min-height: 190px;
  }
}


/* v19.3 — single live-style Blogs hero banner */
.ct-blogs-live-hero {
  width: 100%;
  min-height: 315px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff7a4d 0%, #ff9a5f 100%);
  text-align: center;
  color: #fff;
}

.ct-blogs-live-hero-inner {
  padding: 40px 20px;
}

.ct-blogs-live-hero h1 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.ct-blogs-live-hero p {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

/* Ensure older duplicate banners remain hidden if cached markup survives. */
.ct-blogs-page-title {
  display: none !important;
}

@media (max-width: 768px) {
  .ct-blogs-live-hero {
    min-height: 240px;
  }

  .ct-blogs-live-hero h1 {
    font-size: 2.2rem;
  }

  .ct-blogs-live-hero p {
    font-size: 1.35rem;
  }
}


/* v19.4 requested visual fixes */

/* Featured stores: maximum 5 boxes in one row. */
.ct-home-featured-stores .store-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2rem !important;
}
.ct-home-featured-stores {
  max-width: 1200px !important;
}
@media (max-width: 980px) {
  .ct-home-featured-stores .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  .ct-home-featured-stores .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Explore Categories: visible white space on left/right like reference. */
.categories-section {
  width: calc(100% - 10%) !important;
  max-width: 1200px !important;
  margin: 3rem auto !important;
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}
@media (max-width: 768px) {
  .categories-section {
    width: calc(100% - 32px) !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* Coupon image/logo: larger, reference-like visual area. */
.coupon-brand {
  height: 190px !important;
  overflow: hidden !important;
  border-radius: 9px !important;
  background: #fff !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.coupon-brand img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 8px !important;
  transform: scale(1.18);
}

/* Static stats: orange outline icon + slightly bolder subtext. */
.ct-static-stat-icon {
  width: 58px !important;
  height: 58px !important;
  background: transparent !important;
  border: 2px solid #ff6b35 !important;
  color: #ff6b35 !important;
  font-size: 26px !important;
}
.ct-stat-symbol {
  display: block;
  color: #ff6b35;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}
.stat-card span:last-child {
  font-weight: 600 !important;
  color: #4b4b4b !important;
}

/* Footer Quick Links must remain on one line. */
footer > div {
  align-items: flex-start;
}
footer > div > div:nth-child(2) {
  min-width: 180px !important;
  margin-left: 120px !important;
}
footer > div > div:nth-child(2) ul li,
footer > div > div:nth-child(2) ul li a {
  white-space: nowrap !important;
  width: max-content !important;
}
@media (max-width: 1000px) {
  footer > div > div:nth-child(2) {
    margin-left: 40px !important;
  }
}

/* Country flags: consistent uploaded/automatic dimensions. */
.ct-country-flag-image {
  width: 24px !important;
  height: 18px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  flex: 0 0 24px;
}


/* v19.5 — exact uploaded statistics icons */
.ct-static-stat-icon {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
  border: none !important;
  background: transparent !important;
  margin: 0 auto 16px !important;
}

.ct-static-stat-icon img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  display: block !important;
}

.stats .stat-card .stat-number {
  color: #ff6238 !important;
  font-weight: 800 !important;
}

.stats .stat-card > span:last-child {
  font-weight: 600 !important;
}

/* v19.5 — footer layout matched to supplied reference */
footer .footer-container,
footer > .container,
footer > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.25fr) minmax(190px, .45fr) minmax(360px, .95fr) !important;
  column-gap: 70px !important;
  align-items: start !important;
  max-width: 1180px !important;
  width: calc(100% - 48px) !important;
  margin: 0 auto !important;
}

footer .footer-links,
footer .quick-links,
footer > div:first-child > div:nth-child(2) {
  min-width: 190px !important;
  width: 190px !important;
  margin-left: 0 !important;
}

footer .footer-links ul,
footer .quick-links ul,
footer > div:first-child > div:nth-child(2) ul {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer .footer-links li,
footer .quick-links li,
footer > div:first-child > div:nth-child(2) li {
  display: block !important;
  width: 100% !important;
  margin-bottom: 10px !important;
  white-space: nowrap !important;
}

footer .footer-links a,
footer .quick-links a,
footer > div:first-child > div:nth-child(2) a {
  display: inline-block !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
}

footer .subscribe,
footer .footer-subscribe,
footer > div:first-child > div:nth-child(3) {
  min-width: 360px !important;
}

@media (max-width: 900px) {
  footer .footer-container,
  footer > .container,
  footer > div:first-child {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 40px !important;
    row-gap: 32px !important;
  }

  footer .subscribe,
  footer .footer-subscribe,
  footer > div:first-child > div:nth-child(3) {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
}

@media (max-width: 620px) {
  footer .footer-container,
  footer > .container,
  footer > div:first-child {
    grid-template-columns: 1fr !important;
  }

  footer .footer-links,
  footer .quick-links,
  footer > div:first-child > div:nth-child(2),
  footer .subscribe,
  footer .footer-subscribe,
  footer > div:first-child > div:nth-child(3) {
    min-width: 0 !important;
    width: 100% !important;
  }
}
