/* === Global Variables & Font === */
:root {
  --accent: #185adb;
  --muted: #6c757d;
  --radius: 10px;
  --card-shadow: 0 6px 20px rgba(18, 24, 40, 0.04);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* === Base Styles === */
body {
  background: #fff;
  color: #222;
  font-family: Inter, sans-serif;
}

.site-title {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.small.text-muted {
  color: var(--muted) !important;
}

/* === HERO SECTION / CAROUSEL === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero .carousel-inner {
  height: 420px;
  border-radius: var(--radius);
}

.carousel-item img {
  object-fit: cover;
  height: 420px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  border-radius: var(--radius);
  max-width: 480px;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 260px;
  }
  .carousel-caption {
    max-width: 90%;
    padding: 1rem;
  }
}

/* === HERO ALT STYLE (STATIC HERO VARIANT) === */
.hero-alt {
  background: linear-gradient(180deg, rgba(24, 90, 219, 0.95), rgba(24, 90, 219, 0.85));
  color: #fff;
}

.hero-alt .card {
  background: rgba(255, 255, 255, 0.06);
  border: none;
}

/* === Quick Search === */
.quick-search {
  margin-top: -40px;
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: var(--radius);
}

/* === Deal Cards === */
.deal-card {
  border: none;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}
.deal-card .store-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Coupon Code Badge === */
.code-badge {
  background: #f1f7ff;
  border: 1px solid rgba(24, 90, 219, 0.08);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
}

/* === Store Cards === */
.store-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #eee;
  text-align: center;
}
.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}

.store-card img {
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
}

/* === Category Cards === */
.category-card {
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border-radius: var(--radius);
  border: 1px solid #eee;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}

/* === Buttons === */
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #0f47c7;
}
.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-primary:hover {
  background: var(--accent);
  color: #fff;
}

/* === CTA Banner === */
.cta-banner {
  padding: 1.5rem;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, rgba(24, 90, 219, 0.9), rgba(41, 128, 185, 0.85));
}
.cta-banner input.form-control {
  border-radius: var(--radius);
}
.cta-banner .btn-light {
  color: var(--accent);
  font-weight: 600;
}

/* === Footer === */
footer {
  margin-top: 2.5rem;
  background: #f8f9fa;
  padding: 2rem 0;
  color: #555;
}
footer a {
  display: block;
  margin: 5px 0;
  color: var(--accent);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === Responsive Tweaks === */
@media (max-width: 767px) {
  .hero .carousel-inner {
    height: 300px;
  }
  .carousel-item img {
    height: 300px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .quick-search {
    margin-top: -28px;
  }
  .hero-alt {
    padding: 2rem 0;
  }
  .hero-alt .card {
    margin-top: 1rem;
  }
}

.dropup, .dropdown{position: relative}.dropdown-toggle:focus{outline: 0}.dropdown-menu{position: absolute;top: 100%;left: 0;z-index: 1000;display: none;float: left;min-width: 500px;padding: 5px 0;margin: 2px 0 0;font-size: 14px;text-align: left;list-style: none;background-color: #fff;-webkit-background-clip: padding-box;background-clip: padding-box;border: 1px solid #ccc;border: 1px solid rgba(0, 0, 0, .15);border-radius: 4px;-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);box-shadow: 0 6px 12px rgba(0, 0, 0, .175)}.dropdown-menu.pull-right{right: 0;left: auto}.dropdown-menu .divider{height: 1px;margin: 9px 0;overflow: hidden;background-color: #e5e5e5}.dropdown-menu > li > a{display: block;padding: 3px 20px;clear: both;font-weight: normal;line-height: 1.42857143;color: #333;white-space: nowrap}.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus{color: #262626;text-decoration: none;background-color: #f5f5f5}.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{color: #fff!important;text-decoration: none;background-color: #0d6efd;outline: 0}.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus{color: #777}.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus{text-decoration: none;cursor: not-allowed;background-color: transparent;background-image: none;filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)}.open > .dropdown-menu{display: block}.open > a{outline: 0}.dropdown-menu-right{right: 0;left: auto}.dropdown-menu-left{right: auto;left: 0}.dropdown-header{display: block;padding: 3px 20px;font-size: 12px;line-height: 1.42857143;color: #777;white-space: nowrap}.dropdown-backdrop{position: fixed;top: 0;right: 0;bottom: 0;left: 0;z-index: 990}.pull-right > .dropdown-menu{right: 0;left: auto}.dropup .caret, .navbar-fixed-bottom .dropdown .caret{content: "";border-top: 0;border-bottom: 4px dashed;border-bottom: 4px solid \9}.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu{top: auto;bottom: 100%;margin-bottom: 2px}@media (min-width: 768px){.navbar-right .dropdown-menu{right: 0;left: auto}.navbar-right .dropdown-menu-left{right: auto;left: 0}}.nav-tabs.nav-justified > .dropdown .dropdown-menu{top: auto;left: auto}.nav-justified > .dropdown .dropdown-menu{top: auto;left: auto}.nav-tabs .dropdown-menu{margin-top: -1px;border-top-left-radius: 0;border-top-right-radius: 0}@media (max-width: 767px){.navbar-nav .open .dropdown-menu{position: static;float: none;width: auto;margin-top: 0;background-color: transparent;border: 0;-webkit-box-shadow: none;box-shadow: none}.navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header{padding: 5px 15px 5px 25px}.navbar-nav .open .dropdown-menu > li > a{line-height: 20px}.navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus{background-image: none}}.navbar-nav > li > .dropdown-menu{margin-top: 0;border-top-left-radius: 0;border-top-right-radius: 0}.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu{margin-bottom: 0;border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 0;border-bottom-left-radius: 0}@media (max-width: 767px){.cpBox .category-news-image {
    display: none;
}.navbar-default .navbar-nav .open .dropdown-menu > li > a{color: #777;}.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus{color: #333;background-color: transparent}.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus{color: #555;background-color: #e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus{color: #ccc;background-color: transparent}.dropdown-menu{min-width: 250px;}}@media (max-width: 850px){.logo img {
    width: 100px;
}.dropdown-menu{min-width: 350px;} }@media (max-width: 767px){.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header{border-color: #080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color: #080808}.navbar-inverse .navbar-nav .open .dropdown-menu > li > a{color: #9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus{color: #fff;background-color: transparent}.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus{color: #fff;background-color: #080808}.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus{color: #444;background-color: transparent}}.panel-heading > .dropdown .dropdown-toggle{color: inherit}
/* Header */
.glass-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

/* Buttons base */
.glass-btn {
  border-radius: 30px;
  padding: 8px 18px;
  color: #fff;
  border: none;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* Button colors */
.btn-store {
  background: linear-gradient(135deg, #f55c7a, #f57c73);
}

.btn-category {
  background: linear-gradient(135deg, #f57c73, #f68c70);
}

.btn-search {
  background: linear-gradient(135deg, #f55c7a, #f68c70);
}

/* Hover */
.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0.95;
}

/* ===== FORCE FEATURED STORES DESIGN ===== */

.featured-stores .store-card .store-box {
  background: #f55c7a !important;
  border-radius: 20px 20px 60px 20px !important;
  padding: 30px !important;
  height: 120px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transition: 0.3s ease;
}

/* Logo */
.featured-stores .store-box img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}

/* Hover */
.featured-stores .store-card:hover .store-box {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Colors variation */
.featured-stores .col-6:nth-child(4n+1) .store-box {
  background: #f55c7a !important;
}

.featured-stores .col-6:nth-child(4n+2) .store-box {
  background: #f57c73 !important;
}

.featured-stores .col-6:nth-child(4n+3) .store-box {
  background: #f68c70 !important;
}

.featured-stores .col-6:nth-child(4n+4) .store-box {
  background: #ffb347 !important;
}

/* ===== PREMIUM FOOTER ===== */

.site-footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #cbd5e1;
  position: relative;
}

/* Top spacing */
.site-footer .container {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Logo */
.footer-logo {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 28px;
}

/* Text */
.footer-text {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 10px;
}

/* Titles */
.footer-title {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #f55c7a;
  transform: translateX(5px);
}

/* Newsletter */
.footer-newsletter input {
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  flex: 1;
  outline: none;
}

.footer-newsletter button {
  background: #f55c7a;
  border: none;
  padding: 10px 18px;
  color: #fff;
  border-radius: 8px;
  transition: 0.3s ease;
}

.footer-newsletter button:hover {
  background: #f57c73;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
  opacity: 0.8;
}

/* ✨ Glow line (premium touch) */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f55c7a, #f57c73, #f68c70);
}

/* ===== PROMO BANNER ===== */

.promo-banner {
  padding: 40px 0;
}

.promo-box {
  background: linear-gradient(135deg, #f55c7a, #f57c73, #f68c70);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

/* LEFT SIDE */
.promo-left {
  position: relative;
  width: 40%;
  height: 180px;
}

.promo-card {
  position: absolute;
  width: 140px;
  height: 90px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card1 {
  top: 20px;
  left: 0;
  transform: rotate(-10deg);
}

.card2 {
  top: 0;
  left: 80px;
  transform: rotate(8deg);
}

.card3 {
  top: 40px;
  left: 160px;
  transform: rotate(-5deg);
}

/* RIGHT SIDE */
.promo-right {
  width: 55%;
  color: #fff;
}

.promo-right h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-right p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* BUTTONS */
.promo-buttons {
  display: flex;
  gap: 10px;
}

.btn-app {
  background: #fff;
  color: #f55c7a;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-app-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .promo-box {
    flex-direction: column;
    text-align: center;
  }

  .promo-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .promo-right {
    width: 100%;
  }
}

.promo-section {
  padding: 40px 0;
}

.promo-banner-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.promo-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== DEAL CARDS PREMIUM ===== */

.deal-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(245, 92, 122, 0.2);
}

/* Header */
.deal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-header img {
  height: 30px;
  object-fit: contain;
}

/* Badge */
.deal-badge {
  background: #f55c7a;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

.deal-badge.blue {
  background: #4f46e5;
}

/* Title */
.deal-title {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 5px;
}

/* Store */
.deal-store {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* Description */
.deal-desc {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

/* Footer */
.deal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

/* Code */
.deal-code {
  background: #f57c73;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Button */
.deal-btn {
  border: 2px solid #f55c7a;
  color: #f55c7a;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.deal-btn:hover {
  background: #f55c7a;
  color: #fff;
}

/* ===== NEW DEAL DESIGN ===== */

.deal-card-new {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.deal-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(245, 92, 122, 0.25);
}

.deal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-top img {
  height: 40px;
  object-fit: contain;
}

.deal-type {
  background: #f55c7a;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

.deal-title-new {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 5px;
  color: #111;
  text-decoration: none;
}

.deal-title-new:hover {
  color: #f55c7a;
}

.deal-store-new {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.deal-desc-new {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

.deal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.deal-code-new {
  background: #f57c73;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

.deal-badge-new {
  background: #ddd;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

.deal-btn-new {
  border: 2px solid #f55c7a;
  color: #f55c7a;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.deal-btn-new:hover {
  background: #f55c7a;
  color: #fff;
}

/* FORCE DEAL DESIGN */

.deal-card-new {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 18px !important;
  height: 100% !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
  display: flex !important;
  flex-direction: column !important;
}

.deal-title-new {
  color: #111 !important;
}

.deal-btn-new {
  border: 2px solid #f55c7a !important;
  color: #f55c7a !important;
}

.deal-btn-new:hover {
  background: #f55c7a !important;
  color: #fff !important;
}

/* GLASS EFFECT DEAL CARDS */

.deal-card-new {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 18px;
  padding: 18px;
  height: 100%;

  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: all 0.3s ease;
}

/* Hover Effect */
.deal-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Title */
.deal-title-new {
  font-weight: 600;
  color: #222;
}

/* Store name */
.deal-store {
  font-size: 13px;
  color: #777;
}

/* Description */
.deal-desc {
  font-size: 13px;
  color: #666;
}

/* Badge (Deal / Code) */
.badge-type {
  background: rgba(245, 92, 122, 0.15);
  color: #f55c7a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Code box */
.deal-code {
  background: #f57c73;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.deal-code.muted {
  background: #eee;
  color: #777;
}

/* Button */
.deal-btn-new {
  border: 2px solid #f55c7a;
  color: #f55c7a;
  padding: 6px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

.deal-btn-new:hover {
  background: #f55c7a;
  color: #fff;
}

/* Bottom row */
.deal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-card-new {
  background: rgba(255,255,255,0.7);
}

backdrop-filter: blur(12px);

.deal-card-new {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  border-radius: 18px;
  padding: 18px;
  height: 100%;

  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: all 0.3s ease;
}

/* PAGE BACKGROUND */
.stores-page {
  background: #fff5f7;
}

/* TITLE */
.stores-title {
  font-size: 32px;
  font-weight: 600;
}

/* ALPHABET NAV */
.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.alphabet-link {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

/* ACTIVE + HOVER */
.alphabet-link:hover {
  color: #f55c7a;
}

.alphabet-link:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f55c7a;
}

/* LETTER TITLE */
.letter-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* STORE ITEM */
.store-item {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: 0.3s;
}

/* HOVER EFFECT */
.store-item:hover {
  color: #f55c7a;
  transform: translateX(6px);
}

/* FIX HEADER OVERLAP */
.stores-page {
  padding-top: 140px; /* adjust if needed */
}

/* STORE ITEM BOX STYLE */
.store-item {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 14px;

  padding: 8px 14px;
  margin: 5px;

  border-radius: 20px;

  background: rgba(245, 92, 122, 0.08);
  border: 1px solid rgba(245, 92, 122, 0.2);

  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.store-item:hover {
  color: #fff;
  background: linear-gradient(135deg, #f55c7a, #f68c70);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,92,122,0.25);
}

/* STORE HEADER */
.store-header {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.store-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.store-logo img {
    width: 80px;
}

.store-info h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.store-info p {
    color: #666;
}

/* TABS */
.store-tabs {
    margin-bottom: 20px;
}

.tab {
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 30px;
    cursor: pointer;
    background: #eee;
}

.tab.active {
    background: linear-gradient(135deg, #f55c7a, #f57c73);
    color: #fff;
}

/* COUPONS */
.coupon-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coupon-card {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    align-items: center;
    transition: 0.3s;
}

.coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.coupon-left {
    max-width: 70%;
}

.badge {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
}

.badge.code {
    background: #ffe5ec;
    color: #d6336c;
}

.badge.deal {
    background: #e6f7ff;
    color: #1890ff;
}

.coupon-left h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.coupon-left p {
    color: #666;
}

/* RIGHT SIDE */
.coupon-right {
    text-align: right;
}

/* COPY BUTTON */
.copy-btn {
    background: linear-gradient(135deg, #f55c7a, #f57c73);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

/* DEAL BUTTON */
.deal-btn {
    background: linear-gradient(135deg, #f68c70, #ffb347);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
}

/* EXPIRY */
.expiry {
    display: block;
    font-size: 12px;
    margin-top: 8px;
    color: #999;
}

.store-container{
    max-width:1100px !important;
    margin:160px auto 60px !important;
    display:flex !important;
    gap:40px !important;
}

.coupon-card{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    padding:22px !important;
    border-radius:18px !important;
}

/* ===== STORE PAGE ===== */

.store-container{
    max-width:1100px;
    margin:160px auto 60px;
    display:flex;
    gap:40px;
}

/* SIDEBAR */
.store-sidebar{
    width:260px;
}

.store-box{
    padding:25px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,0.05);
}

.store-box img{
    width:80px;
    margin-bottom:15px;
}

.store-box h2{
    font-size:20px;
    margin-bottom:10px;
}

.store-box p{
    font-size:14px;
    line-height:1.6;
    color:#666;
}

/* MAIN */
.store-main{
    flex:1;
}

/* TITLE */
.store-title{
    font-size:26px;
    font-weight:600;
    margin-bottom:20px;
}

/* TABS */
.store-tabs{
    display:flex;
    gap:10px;
    margin-bottom:25px;
}

.store-tabs button{
    padding:8px 18px;
    border-radius:20px;
    border:none;
    cursor:pointer;
    font-size:14px;
}

.store-tabs .active{
    font-weight:600;
}

/* CARD */
.coupon-card{
    padding:22px;
    border-radius:18px;
    border:1px solid rgba(0,0,0,0.05);
    margin-bottom:18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    transition:0.25s;
}

.coupon-card:hover{
    transform:translateY(-3px);
}

/* LEFT */
.coupon-left{
    max-width:70%;
}

.coupon-badge{
    font-size:11px;
    padding:4px 10px;
    border-radius:20px;
    display:inline-block;
    margin-bottom:10px;
}

.coupon-left h3{
    font-size:18px;
    margin-bottom:6px;
    font-weight:600;
}

.coupon-left p{
    font-size:14px;
    color:#666;
    margin-bottom:12px;
}

.coupon-meta{
    font-size:12px;
    color:#888;
    display:flex;
    gap:15px;
}

/* RIGHT */
.coupon-right{
    text-align:right;
}

.btn-main{
    padding:10px 20px;
    border-radius:25px;
    border:none;
    cursor:pointer;
    font-weight:600;
}

.expiry{
    font-size:12px;
    color:#aaa;
    margin-top:6px;
}

/* FIXED SUBCATEGORY GRID */
.catpnl ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Each item becomes a tag/button */
.catpnl ul li {
    flex: 0 0 auto;
}

/* Style like clean pills */
.catpnl ul li a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-dark);
    background: #f1f3f7;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Hover */
.catpnl ul li a:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

.catpnl ul li a {
    word-break: keep-all;
}

/* FORCE FIX SUBCATEGORY LAYOUT */
.catpnl ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.catpnl ul li {
    display: inline-block !important;
}

.catpnl ul li a {
    display: inline-block !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    color: #1e2a38 !important;
    background: #f1f3f7 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: 0.3s !important;
}

.catpnl ul li a:hover {
    background: linear-gradient(90deg, #ff5a7d, #ff9f43) !important;
    color: #fff !important;
}

/* PERFECT WRAPPING FIX */
.catpnl ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* KEY FIX HERE */
.catpnl ul li {
    flex: 0 0 auto;   /* prevents stretching */
}

/* CLEAN PILLS */
.catpnl ul li a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #1e2a38;
    background: #eef1f6;
    border-radius: 8px;
    text-decoration: none;

    /* IMPORTANT FIXES */
    white-space: nowrap;
    max-width: 100%;
}

/* hover */
.catpnl ul li a:hover {
    background: linear-gradient(90deg, #ff5a7d, #ff9f43);
    color: #fff;
}

.catpnl ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, auto));
    gap: 10px;
}

<style>

/* ===== THEME COLORS ===== */
:root {
    --primary: #ff5a7d;
    --secondary: #ff9f43;
    --bg: #f5f7fb;
    --card: #ffffff;
    --text-dark: #1e2a38;
    --text-light: #6c757d;
}

/* ===== PAGE BACKGROUND ===== */
body {
    background: var(--bg) !important;
}

/* ===== SIDEBAR BOX ===== */
.widgetBox {
    background: var(--card) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

/* HEADINGS */
.main_headingBox h1 span,
.main_headingBox h2 {
    color: var(--text-dark) !important;
}

/* ===== SIDEBAR LIST ===== */
.fcategoriesBox ul li a {
    color: var(--text-light) !important;
    transition: 0.3s;
}

.fcategoriesBox ul li a:hover {
    color: var(--primary) !important;
}

/* ===== MAIN CONTENT BOX ===== */
.main_couposBox {
    background: transparent !important;
}

/* ===== COUPON CARD ===== */
.coupon_item {
    background: var(--card) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
}

/* TOP GRADIENT LINE */
.coupon_item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* HOVER */
.coupon_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* ===== TEXT ===== */
.coupon_detail h3 {
    color: var(--text-dark) !important;
}

.coupon_detail p {
    color: var(--text-light) !important;
}

/* ===== BUTTON ===== */
.Get-Reward {
    background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 600;
}

/* INNER CODE STYLE */
.btn-inner {
    background: #fff !important;
    color: var(--primary) !important;
    border: 1px dashed var(--primary) !important;
}

/* EXPIRE TEXT */
.expireBox {
    color: var(--text-light) !important;
}

/* ===== LINKS ===== */
a {
    transition: 0.3s;
}

a:hover {
    color: var(--primary);
}

</style>

<style>

/* ===== PAGE BACKGROUND ===== */
body {
    background: #f5f6f8 !important;
}

/* ===== COUPON GRID SPACING ===== */
.featured_couponBox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

/* ===== COUPON CARD ===== */
.main_colmuns_sec .coupon_item {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    border: 1px solid #eee !important;
    transition: 0.3s ease;
}

/* HOVER EFFECT */
.main_colmuns_sec .coupon_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* ===== TOP LABEL (Code / Deal) ===== */
.coupon_item::before {
    content: "✓ Deal";
    display: inline-block;
    background: #fff3cd;
    color: #d39e00;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* OPTIONAL: CODE STYLE */
.coupon_item.code::before {
    content: "✓ Code";
}

/* ===== STORE LOGO ===== */
.relted_txt_post img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 5px;
}

/* ===== TITLE ===== */
.coupon_detail h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e2a38 !important;
    margin-top: 10px;
}

/* ===== DESCRIPTION ===== */
.coupon_detail p {
    color: #6c757d !important;
    margin-bottom: 15px;
}

/* ===== DIVIDER ===== */
.btn_divider {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== VERIFIED TEXT ===== */
.expireBox {
    color: #28a745 !important;
    font-weight: 500;
}

/* ===== BUTTON ===== */
.Get-Reward {
    background: linear-gradient(90deg,#a1002c,#d81b60) !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    border: none !important;
}

/* ===== BUTTON HOVER ===== */
.Get-Reward:hover {
    opacity: 0.9;
}

/* ===== INNER CODE BUTTON ===== */
.btn-inner {
    background: #fff !important;
    color: #a1002c !important;
    border: 1px dashed #a1002c !important;
}

</style>
/* GLOBAL HEADER FIX */
:root {
    --header-height: 0px;
}

body {
    padding-top: var(--header-height);
}

body {
    padding-top: var(--header-height);
    transition: padding-top 0.2s ease;
}