/* ========================================
   ChachingMall – Premium E-commerce Styles
   ======================================== */

:root {
  --orange: #ff5722;
  --orange-dark: #e64a19; 
  --pink: #ec4899;
  --pink-dark: #db2777;
  --magenta: #e91e8c;



  --green: #16a34a;
  --green-soft: #22c55e;
  --dark: #1f2937;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --bg-utility: #f8f9fa;
  --bg-page: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --transition: 0.25s ease;
  --font: "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: #fafafa;
}

.site-chrome-wrap {
  overflow: visible;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

/* ---------- Utility Bar ---------- */
.utility-bar {
  background: var(--bg-utility);
  border-bottom: 1px solid #eee;
  font-size: 0.78rem;
  color: var(--gray);
  padding: 8px 0;
}

.utility-bar i {
  color: var(--pink);
  margin-right: 6px;
  font-size: 0.85rem;
}

.utility-right a {
  color: var(--gray);
  font-size: 0.78rem;
}

.utility-right a:hover {
  color: var(--pink);
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  z-index: 1030;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.logo-block {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: 168px;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

.site-logo-footer {
  width: 168px;
  max-width: 220px;
  height: auto;
  background: transparent;
}

.currency-px1-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: -4px;
  margin-right: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* Search */
.search-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: visible;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 20;
}

.search-box:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.search-box .form-control {
  border: none;
  box-shadow: none;
  font-size: 0.9rem;
  padding: 10px 14px;
  background: transparent;
}

.search-box .form-control:focus {
  box-shadow: none;
}

.btn-categories {
  background: #f3f4f6;
  border: none;
  border-right: 1px solid var(--border);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  padding: 10px 16px;
  white-space: nowrap;
  line-height: 1.25;
}

.btn-categories:hover,
.btn-categories:focus {
  background: #e5e7eb;
  color: var(--dark);
}

.btn-search {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 22px;
  transition: background var(--transition);
  line-height: 1.25;
}

.btn-search:hover {
  background: var(--orange-dark);
  color: #fff;
}

.header-search .search-box.input-group {
  align-items: stretch;
}

.header-search .search-box > .dropdown {
  position: static;
  display: flex;
  align-self: stretch;
  margin: 0;
}

.header-search .search-box .btn-categories {
  height: 100%;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.header-search .search-box .btn-search {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.header-search .search-box .dropdown-menu {
  margin-top: 8px;
  min-width: 260px;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  z-index: 1060;
  padding: 8px 0;
}

.header-search .search-box .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
  padding: 10px 16px;
}

.header-search .search-box .dropdown-item:hover,
.header-search .search-box .dropdown-item:focus {
  background: #fff5f0;
  color: var(--orange);
}

.header-search .search-box .dropdown-divider {
  margin: 6px 0;
}

/* Bottom search row on tablet/mobile (< lg) — avoid Bootstrap .input-group */
.site-header .header-mobile-search {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 0;
  clear: both;
  float: none;
  box-sizing: border-box;
}

.site-header .header-mobile-search-form {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.site-header .header-mobile-search-field {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 3px 3px 3px 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.site-header .header-mobile-search-field:focus-within {
  background: #fff;
  border-color: #fdba74;
  box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.12);
}

.site-header .header-mobile-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex: 0 0 36px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.site-header .header-mobile-search-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0 8px 0 2px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  font-size: 0.88rem;
  color: #111827;
  line-height: 1.2;
}

.site-header .header-mobile-search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.site-header .header-mobile-search-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(255, 92, 0, 0.28);
  cursor: pointer;
}

.site-header .header-mobile-search-btn:hover,
.site-header .header-mobile-search-btn:focus {
  background: var(--orange-dark);
  color: #fff;
}

.header-account-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff7ed;
  border: 1.5px solid #ffe8de;
  color: #ea580c;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.header-account-btn:hover,
.header-account-btn:focus {
  background: #ffedd5;
  border-color: #fdba74;
  color: #c2410c;
}

.action-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  gap: 4px !important;
}

.action-link:hover {
  color: var(--pink);
}

.action-link i {
  font-size: 0.95rem;
}

.site-header .header-profile-dropdown {
  position: relative;
}

.site-header .header-profile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #ffe8de;
  border-radius: 50%;
  background: #fff7ed;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.12);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.site-header .header-profile-toggle::after {
  display: none;
}

.site-header .header-profile-toggle:hover,
.site-header .header-profile-dropdown.show .header-profile-toggle {
  border-color: #fdba74;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.18);
}

.site-header .header-profile-avatar-wrap,
.site-header .header-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  object-fit: cover;
}

.site-header .header-profile-menu {
  min-width: 240px;
  padding: 10px;
  border: 1px solid #f3e7dc;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(31, 41, 55, 0.14);
  margin-top: 10px !important;
}

.site-header .header-profile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 4px;
}

.site-header .header-profile-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffe8de;
  background: #fff7ed;
}

.site-header .header-profile-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-header .header-profile-menu-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.site-header .header-profile-menu-meta strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .header-profile-menu-meta em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gray);
}

.site-header .header-profile-menu .dropdown-divider {
  margin: 8px 0;
  border-color: #f1f5f9;
}

.site-header .header-profile-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
}

.site-header .header-profile-menu-link i {
  width: 18px;
  text-align: center;
  color: var(--orange);
}

.site-header .header-profile-menu-link:hover,
.site-header .header-profile-menu-link:focus {
  background: #fff7ed;
  color: var(--orange);
}

.site-header .header-profile-logout-item form {
  margin: 0;
}

.site-header .header-profile-logout {
  color: #dc2626 !important;
}

.site-header .header-profile-logout i {
  color: #dc2626 !important;
}

.site-header .header-profile-logout:hover,
.site-header .header-profile-logout:focus {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

.cart-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff5f0;
  color: var(--orange);
  font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}

.cart-btn:hover {
  background: #ffe8de;
  transform: scale(1.05);
  color: var(--orange);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

.cart-badge.bump {
  animation: badgeBump 0.4s ease;
}

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

.btn-mobile-menu {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--dark);
}

/* ---------- Main Nav ---------- */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: sticky;
  top: var(--site-header-height, 80px);
  z-index: 1029;
  overflow: visible;
}

.nav-menu > li.dropdown {
  position: relative;
}

.main-nav .nav-menu .dropdown-menu {
  margin-top: 10px;
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  padding: 8px 0;
  z-index: 1060;
  overflow: hidden;
}

.main-nav .nav-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 18px;
  color: #374151;
}

.main-nav .nav-menu .dropdown-item i {
  width: 16px;
  color: var(--orange);
  text-align: center;
  -webkit-text-fill-color: currentColor;
  background: none;
}

.main-nav .nav-menu .dropdown-item:hover,
.main-nav .nav-menu .dropdown-item:focus {
  background: #fff5f0;
  color: var(--orange);
}

.main-nav .nav-menu .dropdown-item.active {
  background: #fff5f0;
  color: var(--orange);
}

.main-nav .nav-menu .dropdown-item:hover i,
.main-nav .nav-menu .dropdown-item:focus i,
.main-nav .nav-menu .dropdown-item.active i {
  color: var(--orange);
  -webkit-text-fill-color: currentColor;
}

.main-nav .nav-menu .dropdown-divider {
  margin: 6px 0;
  border-color: #e5e7eb;
}

.main-nav .nav-menu .dropdown-item-featured {
  background: #faf6f0;
  margin-top: 2px;
  border-radius: 0 0 11px 11px;
}

.main-nav .nav-menu .dropdown-item-featured:hover,
.main-nav .nav-menu .dropdown-item-featured:focus {
  background: #f5efe6;
  color: #111827;
}

.main-nav .nav-menu .dropdown-item-featured,
.mobile-nav-list li a.mobile-nav-featured {
  display: inline-flex;
  align-items: center;
}

/* Header dropdown PX1 logo (main site) */
.px1-logo-circle-nav {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.mobile-nav-list li a.mobile-nav-featured {
  background: #faf6f0;
  border-radius: 10px;
  margin-top: 6px;
}

.mobile-nav-list li a .px1-logo-circle-nav {
  margin-right: 8px;
}

.nav-menu {
  gap: 2.5rem;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #4b5563;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-menu > li > a i {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
}

.main-nav .nav-menu > li > a:hover,
.main-nav .nav-menu > li > a:focus,
.main-nav .nav-menu > li > a:active,
.main-nav .nav-menu > li > a:focus-visible,
.nav-menu > li > a:hover,
.nav-menu > li > a:focus,
.nav-menu > li > a:active,
.nav-menu > li > a:focus-visible {
  color: var(--pink);
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.main-nav .nav-menu > li > a.dropdown-toggle:hover,
.main-nav .nav-menu > li > a.dropdown-toggle:focus,
.main-nav .nav-menu > li > a.dropdown-toggle:focus-visible,
.main-nav .nav-menu > li > a.dropdown-toggle.show,
.nav-menu > li > a.dropdown-toggle:hover,
.nav-menu > li > a.dropdown-toggle:focus,
.nav-menu > li > a.dropdown-toggle:focus-visible,
.nav-menu > li > a.dropdown-toggle.show {
  color: var(--pink);
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.nav-menu .dropdown-toggle::after {
  margin-left: 4px;
  font-size: 0.7rem;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
  color: var(--dark);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list li a:focus,
.mobile-nav-list li a:active,
.mobile-nav-list li a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-bottom-color: #f3f4f6;
}

.mobile-nav-list li a i {
  color: var(--pink);
  width: 20px;
}

.mobile-nav-list li a:hover {
  color: var(--pink);
  background: transparent !important;
}

/* ---------- Hero ---------- */
.hero-section {
  padding: 24px 0 0;
}

.hero-section #heroCarousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-section #heroCarousel .carousel-inner {
  border-radius: 20px;
  overflow: hidden;
}

.hero-section #heroCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

.hero-slide {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.hero-banner-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 300px;
  max-height: 560px;
  padding: 0;
  background: #ffe8f0;
  overflow: hidden;
  border-radius: 20px;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}

.hero-banner-cta {
  position: absolute;
  left: 5%;
  bottom: 14%;
  z-index: 3;
}

.btn-hero {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-hero:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
}

@keyframes floatPetal {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(20deg);
  }
}

.hero-control {
  width: 48px;
  opacity: 1;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  transition: color var(--transition), box-shadow var(--transition);
}

.hero-arrow:hover {
  color: var(--pink);
  box-shadow: var(--shadow-lg);
}

.carousel-control-prev {
  left: 12px;
}

.carousel-control-next {
  right: 12px;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  z-index: 4;
}

/* ---------- Features Strip ---------- */
.features-section {
  margin-top: 1rem;
  position: relative;
  z-index: 5;
  padding-bottom: 20px;
}

.features-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  justify-content: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-item h6 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--dark);
}

.feature-item p {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
}

/* ---------- Section Headers ---------- */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.btn-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-view-all:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-gradient-orange {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
}

.btn-gradient-orange:hover {
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.btn-gradient-purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.btn-gradient-purple:hover {
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.btn-gradient-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-gradient-green:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* ---------- Deals / Products ---------- */
.deals-section {
  padding: 40px 0 20px;
}

.deals-carousel-wrap {
  position: relative;
  padding: 0 4px;
  overflow: visible;
}

.deals-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  cursor: grab;
}

.deals-track.grabbing {
  cursor: grabbing;
  user-select: none;
}

.deals-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-img-wrap {
  position: relative;
  height: 180px;
  background: #f9fafb;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #fff7ed 0%, #fce7f3 100%);
  transition: transform 0.4s ease;
}

.product-img-wrap img.product-img-placeholder {
  object-fit: contain;
  padding: 20px 28px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 55%, #fdf2f8 100%);
}

.product-card:hover .product-img-wrap img.product-img-placeholder {
  transform: none;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-img-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.product-img-actions:empty {
  display: none;
}

.product-img-actions a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.product-img-actions a .fa-heart,
.product-img-actions a .fa-regular.fa-heart,
.product-img-actions a .fa-solid.fa-heart {
  color: #ec4899;
  font-size: 0.95rem;
  line-height: 1;
}

.product-img-actions a:hover {
  background: #fff;
  color: #ff5c00;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 16px;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--dark);
  min-height: 2.6em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name a {
  color: inherit;
  text-decoration: none;
}

.product-name a:hover {
  color: var(--orange);
}

.product-rating {
  font-size: 0.75rem;
  color: #f59e0b;
  margin-bottom: 8px;
  min-height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-rating span {
  color: var(--gray);
  margin-left: 4px;
}

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

.price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.price-current .currency-px1-icon,
.price-original .currency-px1-icon,
.deals-list-price-row .currency-px1-icon,
.coupon-deal .currency-px1-icon,
.coupon-offer-item .currency-px1-icon,
.profile-deal-save .currency-px1-icon,
.profile-deal-price-box .currency-px1-icon,
.profile-deal-price-meta .currency-px1-icon,
.hot-deal-price-box .currency-px1-icon,
.hot-deal-details .currency-px1-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 3px;
}

.profile-deal-save .currency-px1-icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
}

.hot-deal-price-box span .currency-px1-icon,
.hot-deal-details .currency-px1-icon,
.featured-price-was .currency-px1-icon,
.deals-list-price-row span .currency-px1-icon {
  width: 18px;
  height: 18px;
  vertical-align: -2px;
}

.price-original {
  font-size: 0.82rem;
  color: var(--gray-light);
  text-decoration: line-through;
}

.cashback-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  min-height: 1.2em;
}

.product-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.product-actions-deal {
  flex-direction: row;
  margin-top: auto;
  align-items: center;
  gap: 10px;
}

.product-actions-deal .btn-buy-now,
.product-actions-deal .btn-add-cart {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1;
  box-sizing: border-box;
}

.product-actions-deal .btn-add-cart span {
  margin-left: 5px;
}

.product-actions-deal .btn-buy-now {
  background: #fff;
  color: var(--orange);
  border: 2px solid var(--orange);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.12);
}

.product-actions-deal .btn-buy-now:hover {
  background: linear-gradient(135deg, #fff4ed 0%, #fff0f6 100%);
  color: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.18);
}

.product-actions-deal .btn-add-cart {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
  gap: 5px;
}

.product-actions-deal .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--pink-dark));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
}

.product-actions-deal .btn-add-cart.added {
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28);
}

.btn-buy-now {
  flex: 1;
  background: #fff;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-buy-now:hover {
  background: var(--orange);
  color: #fff;
}

.btn-add-cart {
  flex: 1;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: var(--orange-dark);
  color: #fff;
}

.btn-add-cart.added {
  background: var(--green);
}

.btn-wishlist {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.btn-wishlist:hover,
.btn-wishlist.active {
  color: var(--pink);
  border-color: var(--pink);
  background: #fdf2f8;
}

.btn-wishlist.active i {
  font-weight: 900;
}

.deals-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background var(--transition), color var(--transition);
}

.deals-nav-btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.deals-next {
  right: 0;
}

.deals-prev {
  left: 0;
}

/* ---------- Promo Banners ---------- */
.promo-section {
  padding: 30px 0;
}

.promo-banner {
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.promo-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.promo-teal {
  background: linear-gradient(135deg, #ccfbf1 0%, #a7f3d0 100%);
}

.promo-pink {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.promo-purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.promo-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  color: var(--dark);
}

.promo-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.promo-content p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.promo-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-link:hover {
  color: var(--pink);
}

.promo-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

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

.categories-carousel-wrap {
  position: relative;
  padding: 0 4px;
  overflow: visible;
}

.categories-row.categories-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-row.categories-track::-webkit-scrollbar {
  display: none;
}

.categories-row.categories-track.grabbing {
  cursor: grabbing;
  user-select: none;
}

.categories-nav-btn {
  position: absolute;
  top: calc(8px + 50px);
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--transition), color var(--transition);
}

.categories-nav-btn:hover {
  background: var(--purple, #7c3aed);
  color: #fff;
  border-color: var(--purple, #7c3aed);
}

.categories-next {
  right: 0;
}

.categories-prev {
  left: 0;
}

.categories-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 36px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  flex: 0 0 100px;
  text-align: center;
  transition: transform var(--transition);
}

.category-item:hover {
  transform: translateY(-4px);
}

.category-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.category-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffe4ec;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.12);
  transition: box-shadow var(--transition), transform var(--transition);
}

.category-item:hover .category-circle {
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.22);
  transform: scale(1.05);
}

.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.category-circle i {
  font-size: 2rem;
  color: #ec4899;
}

.cat-more {
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  color: var(--pink);
  font-size: 1.5rem;
}

/* ---------- Stores ---------- */
.stores-section {
  padding: 30px 0 40px;
}

.stores-carousel-wrap {
  position: relative;
  padding: 0 4px;
  overflow: visible;
}

.stores-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}

.stores-track::-webkit-scrollbar {
  display: none;
}

.stores-track .store-card {
  flex: 0 0 232px;
  min-width: 232px;
  max-width: 232px;
  padding: 0 0 18px;
  overflow: hidden;
}

.stores-track .store-card-empty {
  flex: 1 1 auto;
  min-width: 280px;
  max-width: none;
  padding: 18px 16px 20px;
}

.stores-track .store-icon-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #eef6ff 0%, #fff1f5 55%, #fff7ed 100%);
}

.stores-track .store-icon-placeholder {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.stores-track .store-name,
.stores-track .store-rating,
.stores-track .store-offer,
.stores-track .store-cashback {
  width: 100%;
  padding-left: 14px;
  padding-right: 14px;
  box-sizing: border-box;
}

.stores-track .btn-visit-store {
  width: auto;
  max-width: calc(100% - 28px);
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  justify-content: center;
  display: inline-flex;
}

.stores-next {
  right: 0;
}

.stores-prev {
  left: 0;
}

/* ---------- Top Products (Home) ---------- */
.products-section {
  padding: 10px 0 40px;
}

.products-carousel-wrap {
  position: relative;
  padding: 0 4px;
  overflow: visible;
}

.products-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.products-track.grabbing {
  cursor: grabbing;
  user-select: none;
}

.products-next {
  right: 0;
}

.products-prev {
  left: 0;
}

.store-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.store-icon-wrap {
  width: 100%;
  height: 120px;
  margin-bottom: 12px;
  display: block;
  background: linear-gradient(160deg, #eef6ff 0%, #fff1f5 55%, #fff7ed 100%);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.store-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
  border: none;
  background: transparent;
  box-shadow: none;
}

.store-icon-placeholder {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 1;
}

.store-icon-shoe {
  padding: 0;
  transform: none;
}

.store-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.store-rating {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.store-rating i {
  color: #f59e0b;
}

.store-rating span {
  color: var(--gray);
  font-weight: 400;
}

.store-offer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 4px;
}

.store-cashback {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.btn-visit-store {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  background: #fce7f3;
  color: var(--pink-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition), color var(--transition);
}

.btn-visit-store:hover {
  background: var(--pink);
  color: #fff;
}

/* ---------- Newsletter ---------- */
.newsletter-section {
  padding: 20px 0 50px;
}

.newsletter-banner {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 40%, #e9d5ff 100%);
  border-radius: 20px;
  padding: 40px 36px;
}

.newsletter-icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--pink);
  box-shadow: var(--shadow-md);
}

.newsletter-icon .heart {
  position: absolute;
  font-size: 0.7rem;
  color: var(--pink);
  animation: floatPetal 3s ease-in-out infinite;
}

.heart-1 {
  top: -6px;
  right: -4px;
}

.heart-2 {
  bottom: 4px;
  left: -8px;
  font-size: 0.55rem;
  animation-delay: 1s;
}

.newsletter-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.newsletter-subtext {
  font-size: 0.92rem;
  color: var(--gray);
  margin: 0;
}

.newsletter-form .input-group {
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.newsletter-form .form-control {
  border: none;
  padding: 14px 20px;
  font-size: 0.92rem;
  box-shadow: none;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.newsletter-form .form-control.is-invalid {
  background: #fef2f2;
}

.btn-subscribe {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 24px;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
}

.btn-subscribe:hover {
  background: var(--orange-dark);
  color: #fff;
}

.newsletter-msg {
  font-size: 0.82rem;
  margin-top: 10px;
  min-height: 20px;
  font-weight: 500;
}

.newsletter-msg.success {
  color: var(--green);
}

.newsletter-msg.error {
  color: #ef4444;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #f3f4f6;
  padding: 50px 0 0;
  color: var(--dark);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-contact i {
  color: var(--orange);
  margin-top: 3px;
  width: 16px;
}

.footer-contact a:hover {
  color: var(--orange-dark);
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 36px;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.payment-icons i {
  font-size: 2rem;
  color: var(--gray);
  transition: color var(--transition);
}

.payment-icons i:hover {
  color: var(--dark);
}

/* ---------- Toast ---------- */
#appToast {
  background: var(--dark);
  color: #fff;
}

#appToast.toast-success {
  background: var(--green);
}

#appToast.toast-error {
  background: #ef4444;
}

#appToast.toast-warning {
  background: #f59e0b;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform var(--transition);
}

.back-to-top:hover {
  transform: translateY(-3px);
  color: #fff;
}

.back-to-top.show {
  display: flex;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  /* Keep top row to logo + actions; search sits on its own full-width row below */
  .site-header {
    padding: 10px 0 12px;
  }

  .site-header .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-height: 48px;
  }

  .site-header .logo-block {
    align-self: center;
    line-height: 0;
  }

  .site-header .site-logo {
    width: 148px;
    max-width: 170px;
  }

  .site-header .header-actions {
    gap: 8px !important;
    align-items: center;
  }

  .site-header .header-profile-toggle,
  .site-header .cart-btn,
  .site-header .header-account-btn,
  .site-header .btn-mobile-menu {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .header-profile-toggle {
    border-width: 2px;
    border-color: #fdba74;
    background: #fff7ed;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.14);
  }

  .site-header .header-profile-avatar-wrap,
  .site-header .header-profile-avatar {
    background: #ffedd5;
  }

  .site-header .btn-mobile-menu {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font-size: 1.05rem;
  }

  .site-header .cart-btn {
    font-size: 1.05rem;
  }

  .site-header .header-search {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .site-header .header-mobile-search {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-header .header-mobile-search-form,
  .site-header .header-mobile-search-field {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-section #heroCarousel .carousel-inner {
    min-height: 0;
    height: auto;
  }

  .hero-section #heroCarousel .carousel-item {
    min-height: 0;
    height: auto;
  }

  .hero-banner-slide {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    overflow: hidden;
    background: #ffe8f0;
  }

  .hero-banner-img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  .hero-banner-cta {
    left: 3%;
    bottom: 8%;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .features-section {
    margin-top: 16px;
  }

  .deals-prev,
  .deals-next {
    display: none;
  }

  .product-card {
    flex: 0 0 calc(100vw - 28px);
    min-width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .stores-track .store-card {
    flex: 0 0 calc(100vw - 28px);
    min-width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .categories-carousel-wrap,
  .deals-carousel-wrap,
  .stores-carousel-wrap,
  .products-carousel-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .product-img-wrap {
    height: 170px;
  }

  .product-img-wrap img:not(.product-img-placeholder) {
    object-fit: contain;
    object-position: center;
    background: #f9fafb;
  }
}

@media (max-width: 767.98px) {
  .site-header {
    padding: 8px 0 10px;
  }

  .site-logo {
    width: 128px;
    max-width: 150px;
  }

  .site-header .header-mobile-search {
    margin-top: 8px !important;
  }

  .site-header .header-mobile-search-field {
    min-height: 42px;
  }

  .site-header .header-mobile-search-input {
    height: 36px;
    font-size: 0.84rem;
  }

  .site-header .header-mobile-search-btn {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .hero-slide,
  .hero-banner-slide,
  .hero-section #heroCarousel,
  .hero-section #heroCarousel .carousel-inner {
    border-radius: 16px;
  }

  .hero-banner-slide {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    background: #ffe8f0;
  }

  .hero-banner-img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  .hero-banner-cta {
    left: 3%;
    bottom: 6%;
    padding: 7px 14px;
    font-size: 0.74rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .btn-view-all {
    font-size: 0.82rem;
    padding: 8px 14px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .promo-img {
    width: 90px;
    height: 90px;
  }

  .categories-carousel-wrap,
  .deals-carousel-wrap,
  .stores-carousel-wrap,
  .products-carousel-wrap {
    padding: 0 2px;
  }

  .deals-nav-btn {
    width: 36px;
    height: 36px;
  }

  .categories-nav-btn {
    top: calc(8px + 40px);
    width: 36px;
    height: 36px;
  }

  .categories-prev,
  .deals-prev,
  .stores-prev,
  .products-prev {
    left: 0;
  }

  .categories-next,
  .deals-next,
  .stores-next,
  .products-next {
    right: 0;
  }

  .categories-row.categories-track {
    gap: 16px;
  }

  .categories-row {
    gap: 20px 16px;
  }

  .category-item {
    width: 80px;
    flex: 0 0 80px;
  }

  .category-circle {
    width: 80px;
    height: 80px;
  }

  .newsletter-banner {
    padding: 28px 20px;
    text-align: center;
  }

  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .newsletter-form .form-control {
    border-radius: var(--radius-sm) !important;
  }

  .btn-subscribe {
    border-radius: var(--radius-sm) !important;
    justify-content: center;
    width: 100%;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    flex: 0 0 calc(100vw - 24px);
    min-width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .product-img-wrap {
    height: 165px;
  }

  .product-body {
    padding: 12px;
  }

  .product-name {
    font-size: 0.86rem;
    min-height: 2.4em;
  }

  .price-current {
    font-size: 0.92rem;
  }

  .price-current .currency-px1-icon,
  .price-original .currency-px1-icon {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
  }

  .price-original {
    font-size: 0.74rem;
  }

  .cashback-text {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .product-rating {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .product-actions-deal .btn-buy-now,
  .product-actions-deal .btn-add-cart {
    min-height: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .btn-add-cart {
    font-size: 0.7rem;
    padding: 7px 10px;
  }
}

/* ---------- Deals listing page (from ChachingMallWebsite) ---------- */

.category-empty-message {
  margin: 8px 0 0;
  padding: 28px 18px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border: 1px dashed #fde68a;
  border-radius: 18px;
}

.category-empty-message i {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--orange);
}

.deals-cat-all.is-active {
  color: var(--orange);
  font-weight: 800;
}

.coupons-page > .container > .row {
  align-items: flex-start;
}

.coupons-page > .container > .row > aside {
  position: sticky;
  top: var(--deals-sidebar-top, 96px);
  z-index: 2;
  align-self: flex-start;
  height: fit-content;
}

@media (max-width: 991.98px) {
  .coupons-page > .container > .row {
    align-items: stretch;
  }

  .coupons-page > .container > .row > aside {
    position: static;
  }
}

.coupons-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.coupons-page-sub {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.nav-menu > li > a.active {
  color: var(--pink);
}

.coupon-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coupon-sidebar-promo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid #fde68a;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
  background: #f3f4f6;
}

.coupon-sidebar-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coupon-sidebar-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(31, 41, 55, 0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}

.coupon-sidebar-promo-overlay span {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coupon-sidebar-promo-overlay strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.coupon-categories {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.coupon-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--dark);
}

.coupon-cat-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 12px;
}

.coupon-cat-all:hover {
  color: var(--pink);
}

.coupon-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}

.coupon-cat-list li a span {
  color: var(--gray);
  font-weight: 400;
  font-size: 0.82rem;
}

.coupon-cat-list li a:hover,
.coupon-cat-list li a.active {
  background: #fff1f7;
  color: var(--pink-dark);
}

.coupon-cat-list li a.active span {
  color: var(--pink);
}

.coupon-featured {
  display: grid;
  grid-template-columns: minmax(240px, 38%) 1fr;
  gap: 28px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.coupon-featured:hover {
  box-shadow: var(--shadow-md);
}

.coupon-featured-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f8fafc;
  min-height: 260px;
}

.coupon-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coupon-media-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.coupon-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #1f2937;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background var(--transition);
}

.coupon-icon-btn:hover {
  transform: scale(1.08);
  background: var(--pink-dark);
  color: #fff;
}

.coupon-icon-share {
  background: var(--green);
}

.coupon-icon-share:hover {
  background: #15803d;
}

.coupon-featured-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 4px 4px 4px 0;
}

.coupon-featured-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.coupon-store-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.coupon-store-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.coupon-available-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.coupon-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0;
  color: #f59e0b;
  font-size: 0.9rem;
}

.coupon-rating span {
  margin-left: 6px;
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 500;
}

.coupon-rating-sm {
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 0.72rem;
}

.coupon-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.coupon-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.coupon-meta i {
  color: var(--orange);
  width: 18px;
  margin-right: 4px;
}

.coupon-offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.coupon-offer-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.coupon-offer-item strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.coupon-featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.btn-view-coupon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-view-coupon:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.btn-coupon-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-coupon-outline:hover {
  border-color: var(--pink);
  color: var(--pink-dark);
  background: #fff1f7;
}

.coupon-deal {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.deal-discount-badge .currency-px1-icon,
.deal-coupon-details .currency-px1-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 3px;
}

.coupon-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.coupon-card-link:hover {
  color: inherit;
}

.coupon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.coupon-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
}

.coupon-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coupon-card-body {
  padding: 16px;
}

.coupon-card .coupon-store-name {
  font-size: 0.95rem;
}

.coupon-card .coupon-store-sub {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.coupon-card .coupon-meta {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.coupon-pagination {
  margin-top: 28px;
}

.coupon-pagination .page-link {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  border: 1px solid var(--border);
  margin-right: 8px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.coupon-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-color: transparent;
  color: #fff;
}

.coupon-pagination .page-link:hover {
  background: #fff1f7;
  border-color: #fbcfe8;
  color: var(--pink-dark);
}

@media (max-width: 991.98px) {
  .coupon-featured {
    grid-template-columns: 1fr;
  }

  .coupon-featured-media {
    min-height: 220px;
  }

  .coupon-meta-grid,
  .coupon-offer-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .coupon-store-name {
    font-size: 1.1rem;
  }

  .coupon-featured-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .coupon-card .coupon-rating-sm {
    display: none;
  }
}

.deal-discount-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.deal-coupon-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.reviews-load-more {
  padding: 18px 0 6px;
  text-align: center;
  min-height: 48px;
}

.reviews-loading-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.84rem;
  font-weight: 600;
}

.reviews-loading-spinner.is-visible {
  display: inline-flex;
}

.reviews-loading-spinner span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  animation: reviewDotPulse 1s ease infinite;
}

.reviews-loading-spinner span:nth-child(2) {
  animation-delay: 0.15s;
}

.reviews-loading-spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

.reviews-loading-spinner em {
  font-style: normal;
  margin-left: 4px;
}

@keyframes reviewDotPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.reviews-end-message {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray);
}

.reviews-end-message i {
  color: var(--green);
  margin-right: 6px;
}

/* ---------- Hot Deals Listing Page ---------- */
.deals-page {
  padding: 28px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(255, 237, 213, 0.7), transparent 42%),
    radial-gradient(circle at bottom left, rgba(252, 231, 243, 0.45), transparent 40%),
    #fafafa;
}

.deals-page > .container > .row {
  align-items: flex-start;
}

.deals-page > .container > .row > aside {
  position: sticky;
  top: var(--deals-sidebar-top, 96px);
  z-index: 2;
  align-self: flex-start;
  height: fit-content;
}

@media (max-width: 991.98px) {
  .deals-page > .container > .row {
    align-items: stretch;
  }

  .deals-page > .container > .row > aside {
    position: static;
    height: auto;
  }
}

.deals-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.deals-page-sub {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.deals-page-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(255, 92, 0, 0.25);
}

.deals-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deals-map-card,
.deals-categories {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border: 1px solid #fde68a;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.deals-map-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 12px;
}

.deals-map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.deals-map-card-head h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.deals-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink-dark);
  background: #fff;
  border: 1px solid #fbcfe8;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.deals-map-link:hover {
  color: var(--orange);
  background: #fff7ed;
  border-color: #fdba74;
}

.deals-map-link i {
  font-size: 0.65rem;
}

.deals-sidebar-map {
  position: relative;
  margin: 0 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f3e7dc;
  background: #f8fafc;
  aspect-ratio: 4 / 3;
}

.deals-sidebar-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.deals-map-card-foot {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 0.78rem;
  color: var(--gray);
}

/* Shared Categories sidebar (Deals / Coupons / Gifts / Stores / Loyalty) */
.deals-categories {
  padding: 16px;
}

.deals-sidebar .deals-categories,
.coupon-sidebar .deals-categories,
.loyalty-page .deals-categories,
.gift-page .deals-categories,
.stores-page .deals-categories {
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.deals-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.deals-cat-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.deals-cat-head h3 i {
  color: var(--orange);
  font-size: 0.9rem;
}

.deals-cat-all {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.deals-cat-all:hover,
.deals-cat-all.is-active {
  color: var(--pink-dark);
  font-weight: 800;
}

.deals-cat-list {
  margin: 0;
  padding: 0;
}

.deals-cat-list li + li {
  margin-top: 8px;
}

.deals-cat-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.deals-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: var(--orange);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.deals-cat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.deals-cat-count {
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  background: #f3f4f6;
  transition: background 0.2s ease, color 0.2s ease;
}

.deals-cat-list a:hover {
  background: #fff7ed;
  border-color: #fdba74;
  transform: translateX(2px);
}

.deals-cat-list a:hover .deals-cat-icon {
  background: #ffedd5;
  color: var(--orange);
}

.deals-cat-list a.active {
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f7 100%);
  border-color: #fbcfe8;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.12);
  transform: none;
}

.deals-cat-list a.active .deals-cat-icon {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.25);
}

.deals-cat-list a.active .deals-cat-name {
  color: var(--pink-dark);
  font-weight: 700;
}

.deals-cat-list a.active .deals-cat-count {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

/* Category list: scroll after 6 items (listing page sidebars) */
.deals-sidebar .deals-cat-list {
  max-height: calc(46px * 6 + 4px * 5);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  margin-right: -2px;
  scrollbar-width: thin;
  scrollbar-color: #f472b6 #fff7ed;
  scroll-behavior: smooth;
}

.deals-sidebar .deals-cat-list::-webkit-scrollbar {
  width: 5px;
}

.deals-sidebar .deals-cat-list::-webkit-scrollbar-track {
  background: #fff7ed;
  border-radius: 999px;
}

.deals-sidebar .deals-cat-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--orange), var(--pink));
  border-radius: 999px;
}

.deals-sidebar .deals-cat-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--orange-dark), var(--pink-dark));
}

.deals-sidebar .deals-cat-list li + li {
  margin-top: 4px;
}

.deals-sidebar .deals-cat-list a {
  gap: 10px;
  min-height: 46px;
  padding: 7px 8px;
  border-radius: 12px;
}

.deals-sidebar .deals-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.deals-sidebar .deals-cat-name {
  font-size: 0.86rem;
  line-height: 1.2;
}

.deals-sidebar .deals-cat-count {
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  font-size: 0.72rem;
}


.deal-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.08), transparent 42%),
    linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border: 1px solid #fde68a;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.08);
  margin-bottom: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.deal-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  z-index: 2;
}

.deal-featured:hover {
  box-shadow: 0 14px 34px rgba(255, 87, 34, 0.14);
}

.deal-featured-media {
  position: relative;
  min-height: 280px;
  background: #fffaf5;
  overflow: hidden;
  border-right: 0;
}

.deal-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deal-featured-media-fade {
  display: none;
}

.deal-featured-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.32);
}

.deal-featured-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deal-featured-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.deal-featured-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-dark);
}

.deal-featured-store {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.deal-featured-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--dark);
}

.deal-featured-rating i {
  color: #f59e0b;
  font-size: 0.8rem;
}

.deal-featured-rating strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.deal-featured-rating small {
  font-size: 0.72rem;
  color: var(--gray);
}

.deal-featured-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.45;
}

.deal-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8rem;
  color: var(--gray);
}

.deal-featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #f3e7dc;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.deal-featured-meta i {
  color: var(--orange);
}

.deal-featured-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f7 100%);
  border: 1px solid #fdba74;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.deal-featured-prices small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.deal-featured-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.deal-featured-prices strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.deal-featured-prices span {
  font-size: 0.92rem;
  color: var(--gray-light);
  text-decoration: line-through;
}

.deal-featured-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.deal-featured-tags em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange);
  background: #fff;
  border: 1px solid #fdba74;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.08);
}

.deal-featured-tags em.is-cashback {
  color: var(--green);
  border-color: #bbf7d0;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}

.deal-featured-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.deals-page .deal-featured-actions {
  display: flex;
  flex-wrap: nowrap;
}

.deal-featured-actions .btn-buy-now,
.deal-featured-actions .btn-add-deal-cart,
.deal-featured-actions .btn-deal-secondary {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 10px 8px;
  grid-column: auto;
}

.deal-featured-actions .btn-buy-now {
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.25);
}

.btn-deal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.04);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.btn-deal-secondary:hover {
  color: var(--pink-dark);
  border-color: #fbcfe8;
  background: #fff1f7;
  transform: translateY(-1px);
}

.btn-deal-secondary i {
  font-size: 0.75rem;
}

.deals-listing-grid {
  margin-bottom: 8px;
}

.deals-load-more {
  padding-top: 8px;
}

.deals-card-new {
  animation: reviewFadeIn 0.4s ease;
}

@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.deals-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.deals-list-card .hot-deal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.deals-list-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deals-list-card .hot-deal-title {
  font-size: 0.9rem;
  line-height: 1.35;
  min-height: calc(0.9rem * 1.35 * 2);
  max-height: calc(0.9rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deals-list-store {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deals-list-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.76rem;
  color: var(--gray);
  min-height: 42px;
}

.deals-list-meta .coupon-rating-sm {
  margin: 0;
}

.deals-list-price-row,
.deals-card-actions .btn-buy-now,
.deals-card-actions .btn-add-deal-cart {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
}

.deals-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
  align-items: stretch;
}

.deals-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0 8px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 12px;
  box-shadow: none;
}

.deals-card-actions .btn i {
  flex-shrink: 0;
  font-size: 0.82rem;
}

.btn-add-deal-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink-dark);
  border: 1px solid #f9a8d4;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(236, 72, 153, 0.1));
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-add-deal-cart:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.22);
}

.btn-add-deal-cart.added {
  color: #fff;
  border-color: transparent;
  background: var(--green);
}

.deals-list-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
}

.deals-list-price-row strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}

.deals-list-price-row span {
  font-size: 0.78rem;
  color: var(--gray-light);
  text-decoration: line-through;
}

.deals-list-price-row em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.deals-list-card .btn-buy-now,
.deals-card-actions .btn-buy-now {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.deals-list-card .btn-buy-now:hover,
.deals-card-actions .btn-buy-now:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
}

.deals-card-actions .btn-add-deal-cart {
  color: var(--pink-dark);
  border: 1px solid #f9a8d4;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(236, 72, 153, 0.1));
}

.deals-card-actions .btn-add-deal-cart:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.22);
}

.hot-deal-card .deals-card-actions {
  margin-top: 2px;
}

.store-event-card .deals-card-actions,
.events-list-card .deals-card-actions {
  grid-template-columns: 1fr;
}

@media (max-width: 380px) {
  .deals-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .deal-featured {
    grid-template-columns: 1fr;
  }

  .deal-featured-media {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575.98px) {
  .deal-featured-body,
  .coupon-featured-body,
  .store-featured-body {
    padding: 16px;
  }

  .deal-featured-store,
  .coupon-store-name.deal-featured-store {
    font-size: 1rem;
    word-break: break-word;
  }

  .coupon-store-sub.deal-featured-title {
    font-size: 0.78rem;
  }

  .coupon-available-badge {
    font-size: 0.62rem;
    padding: 4px 8px;
  }

  .deal-featured-actions,
  .coupon-featured-actions,
  .store-featured-actions {
    flex-wrap: wrap;
  }

  .deal-featured-actions .btn-buy-now,
  .deal-featured-actions .btn-add-deal-cart,
  .deal-featured-actions .btn-deal-secondary,
  .coupon-featured-actions .btn-buy-now,
  .coupon-featured-actions .btn-add-deal-cart,
  .coupon-featured-actions .btn-deal-secondary,
  .store-featured-actions .btn-buy-now,
  .store-featured-actions .btn-add-deal-cart,
  .store-featured-actions .btn-deal-secondary {
    flex: 1 1 calc(50% - 4px);
    font-size: 0.7rem;
  }

  .deal-featured-actions .btn-deal-secondary,
  .coupon-featured-actions .btn-deal-secondary,
  .store-featured-actions .btn-deal-secondary {
    flex: 1 1 100%;
  }

  .deals-page .deals-card-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .deals-page .deals-card-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
  }

  .gift-list-card .hot-deal-media,
  .deals-list-card .hot-deal-media {
    aspect-ratio: 16 / 10;
  }

  .gift-list-card .hot-deal-media img:not(.product-img-placeholder),
  .deals-list-card .hot-deal-media img:not(.product-img-placeholder) {
    object-fit: contain;
    background: #f8fafc;
  }

  .deal-featured-tags {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 576px) {
  .deals-page .deal-featured-actions {
    flex-wrap: nowrap;
  }

  .deals-page .deal-featured-actions .btn-deal-secondary {
    flex: 1 1 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .deal-featured-actions .btn-buy-now,
  .deal-featured-actions .btn-add-deal-cart,
  .deal-featured-actions .btn-deal-secondary {
    font-size: 0.72rem;
    padding-left: 6px;
    padding-right: 6px;
  }

  .deal-featured-actions .btn-add-deal-cart i,
  .deal-featured-actions .btn-buy-now i {
    display: none;
  }
}
/* ---------- Hot Deals Cards ---------- */
.text-orange {
  color: var(--orange);
}

.hot-deal-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hot-deal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #fdba74;
}

.hot-deal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.hot-deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hot-deal-card:hover .hot-deal-media img {
  transform: scale(1.05);
}

.hot-deal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-deal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-deal-price-box {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #fdba74;
  background: #fff7ed;
}

.hot-deal-price-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.hot-deal-price-box span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--gray);
}

.hot-deal-details {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.hot-deal-details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.hot-deal-details li:last-child {
  border-bottom: none;
}

.hot-deal-details li span {
  color: var(--gray);
}

.hot-deal-details li strong {
  color: var(--dark);
  font-weight: 600;
}

.hot-deal-details li.is-cashback {
  background: #ecfdf5;
}

.hot-deal-details li.is-cashback strong {
  color: var(--green);
}

.hot-deal-details li.is-available {
  background: #ecfdf5;
}

.hot-deal-details li.is-available span,
.hot-deal-details li.is-available strong {
  color: #059669;
  font-weight: 700;
}

.store-gifts-page {
  padding: 20px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(252, 231, 243, 0.7), transparent 40%),
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 35%),
    #fafafa;
}

.store-gifts-panel .section-title i {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-deals-page,
.store-events-page,
.store-event-detail-page {
  padding: 20px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(252, 231, 243, 0.7), transparent 40%),
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 35%),
    #fafafa;
}

.store-event-detail-panel {
  scroll-margin-top: 110px;
}

.store-event-detail-panel .available-coupons-header {
  margin-bottom: 22px;
}

.store-event-detail-featured {
  margin-bottom: 0;
}

.store-event-detail-featured .deal-featured-media img.product-img-placeholder {
  object-fit: contain;
  background: #fff7ed;
  padding: 24px;
}

.store-event-detail-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-event-detail-about {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.store-event-detail-about h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.store-event-detail-about-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.store-event-detail-gallery {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.store-event-detail-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.store-event-detail-gallery-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.store-event-detail-gallery .photos-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

@media (max-width: 991.98px) {
  .store-event-detail-actions {
    grid-template-columns: 1fr;
  }
}

.stores-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fde68a;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.stores-toolbar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.stores-toolbar-sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--gray);
}

.stores-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stores-filter-pill {
  border: 1px solid #f3e7dc;
  background: #fff;
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stores-filter-pill:hover {
  border-color: #f9a8d4;
  color: var(--pink-dark);
}

.stores-filter-pill.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25);
}
/* =========================================================
   Featured listing cards ? synced size, hover, buttons
   Deals / Coupons / Gifts / Stores / Local & Online Loyalty
   ========================================================= */
.deal-featured,
.coupon-featured,
.store-featured,
.loyalty-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 320px;
  margin-bottom: 22px;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #fde68a;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.07), transparent 42%),
    linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.deal-featured:hover,
.coupon-featured:hover,
.store-featured:hover,
.loyalty-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255, 87, 34, 0.16);
}

.deal-featured-media,
.coupon-featured-media,
.store-featured-media {
  position: relative;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #fffaf5;
  align-self: stretch;
}

.deal-featured-media img,
.coupon-featured-media img,
.store-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.deal-featured:hover .deal-featured-media img,
.coupon-featured:hover .coupon-featured-media img,
.store-featured:hover .store-featured-media img {
  transform: scale(1.04);
}

.deal-featured-body,
.coupon-featured-body,
.store-featured-body {
  min-width: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.deal-featured-actions,
.coupon-featured-actions,
.store-featured-actions,
.gift-page .deal-featured-actions,
.deals-page .deal-featured-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.deal-featured-actions > .btn,
.deal-featured-actions > a.btn,
.deal-featured-actions > button.btn,
.coupon-featured-actions > .btn,
.coupon-featured-actions > a.btn,
.coupon-featured-actions > button.btn,
.store-featured-actions > .btn,
.store-featured-actions > a.btn,
.store-featured-actions > button.btn {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.deal-featured-actions > .btn:hover,
.coupon-featured-actions > .btn:hover,
.store-featured-actions > .btn:hover {
  transform: translateY(-2px);
}

/* Primary gradient CTA */
.deal-featured-actions .btn-buy-now,
.deal-featured-actions .btn-view-coupon,
.coupon-featured-actions .btn-view-coupon,
.coupon-featured-actions .btn-buy-now,
.store-featured-actions .btn-buy-now,
.store-featured-actions .btn-view-coupon {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.28);
}

.deal-featured-actions .btn-buy-now:hover,
.deal-featured-actions .btn-view-coupon:hover,
.coupon-featured-actions .btn-view-coupon:hover,
.coupon-featured-actions .btn-buy-now:hover,
.store-featured-actions .btn-buy-now:hover,
.store-featured-actions .btn-view-coupon:hover {
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.38);
}

/* Soft / secondary pink */
.deal-featured-actions .btn-add-deal-cart,
.coupon-featured-actions .btn-add-deal-cart {
  color: var(--pink-dark);
  border: 1px solid #f9a8d4;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(236, 72, 153, 0.1));
  box-shadow: none;
}

.deal-featured-actions .btn-add-deal-cart:hover,
.coupon-featured-actions .btn-add-deal-cart:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25);
}

/* Outline / secondary */
.deal-featured-actions .btn-deal-secondary,
.deal-featured-actions .btn-coupon-outline,
.deal-featured-actions .btn-profile-outline,
.coupon-featured-actions .btn-deal-secondary,
.coupon-featured-actions .btn-coupon-outline,
.coupon-featured-actions .btn-profile-outline,
.store-featured-actions .btn-deal-secondary,
.store-featured-actions .btn-coupon-outline,
.store-featured-actions .btn-profile-outline {
  color: var(--dark);
  background: #fff;
  border: 1.5px solid #e8e4df;
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.04);
}

.deal-featured-actions .btn-deal-secondary:hover,
.deal-featured-actions .btn-coupon-outline:hover,
.deal-featured-actions .btn-profile-outline:hover,
.coupon-featured-actions .btn-deal-secondary:hover,
.coupon-featured-actions .btn-coupon-outline:hover,
.coupon-featured-actions .btn-profile-outline:hover,
.store-featured-actions .btn-deal-secondary:hover,
.store-featured-actions .btn-coupon-outline:hover,
.store-featured-actions .btn-profile-outline:hover {
  color: var(--pink-dark);
  border-color: #fbcfe8;
  background: #fff1f7;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.12);
}

/* Offer / pricing strips aligned */
.deal-featured-pricing,
.coupon-offer-strip {
  margin-top: 2px;
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f7 100%);
  border: 1px solid #fdba74;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.loyalty-cashback-badge,
.coupon-available-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .deal-featured,
  .coupon-featured,
  .store-featured,
  .loyalty-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .deal-featured-media,
  .coupon-featured-media,
  .store-featured-media {
    min-height: 220px;
  }

  .deal-featured-actions,
  .coupon-featured-actions,
  .store-featured-actions {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .deal-featured-actions > .btn,
  .deal-featured-actions > a.btn,
  .deal-featured-actions > button.btn,
  .coupon-featured-actions > .btn,
  .coupon-featured-actions > a.btn,
  .coupon-featured-actions > button.btn,
  .store-featured-actions > .btn,
  .store-featured-actions > a.btn,
  .store-featured-actions > button.btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .deal-featured-actions,
  .coupon-featured-actions,
  .store-featured-actions {
    flex-wrap: wrap;
    overflow-x: visible;
    width: 100%;
    gap: 8px;
  }

  .deal-featured-actions > .btn,
  .deal-featured-actions > a.btn,
  .deal-featured-actions > button.btn,
  .coupon-featured-actions > .btn,
  .coupon-featured-actions > a.btn,
  .coupon-featured-actions > button.btn,
  .store-featured-actions > .btn,
  .store-featured-actions > a.btn,
  .store-featured-actions > button.btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    max-width: 100%;
    font-size: 0.72rem;
    padding: 8px 10px;
    min-height: 38px;
    white-space: normal;
    text-align: center;
  }

  .deal-featured-actions .btn-deal-secondary,
  .deal-featured-actions .btn-coupon-outline,
  .deal-featured-actions .btn-profile-outline,
  .coupon-featured-actions .btn-deal-secondary,
  .coupon-featured-actions .btn-coupon-outline,
  .coupon-featured-actions .btn-profile-outline,
  .store-featured-actions .btn-deal-secondary,
  .store-featured-actions .btn-coupon-outline,
  .store-featured-actions .btn-profile-outline {
    flex: 1 1 100%;
  }

  .coupon-offer-strip.deal-featured-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 12px;
  }

  .coupon-offer-strip.deal-featured-pricing .coupon-offer-item small {
    font-size: 0.62rem;
  }

  .coupon-offer-strip.deal-featured-pricing .coupon-offer-item strong {
    font-size: 0.76rem;
  }

  .coupon-offer-strip .featured-price-now {
    font-size: 0.88rem;
  }

  .coupon-offer-strip .featured-price-was {
    font-size: 0.72rem;
  }

  .coupon-offer-strip .featured-price-now .currency-px1-icon,
  .coupon-offer-strip .featured-price-was .currency-px1-icon {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
  }

  .stores-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
  }

  .stores-toolbar-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .stores-toolbar-filters::-webkit-scrollbar {
    display: none;
  }

  .stores-toolbar-filters .stores-filter-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 7px 12px;
  }
}

/* Deals + Gift featured: match Coupons/Loyalty shell */
.deal-featured.coupon-featured::before,
.gift-featured.coupon-featured::before {
  display: none;
}

.coupon-featured .deal-featured-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.coupon-offer-strip .deal-featured-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.coupon-offer-strip .featured-price-now {
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 800;
}

.coupon-offer-strip .featured-price-was {
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: line-through;
}

.coupon-featured .deal-featured-store,
.coupon-featured .coupon-store-name.deal-featured-store {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e3a5f;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.coupon-featured .deal-featured-title,
.coupon-featured .coupon-store-sub.deal-featured-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: none;
  letter-spacing: 0;
}

.deal-featured.coupon-featured .coupon-featured-actions .btn-add-deal-cart,
.gift-featured.coupon-featured .coupon-featured-actions .btn-add-deal-cart {
  border-radius: var(--radius-pill);
}

.deal-featured.coupon-featured .coupon-featured-actions .btn-buy-now,
.gift-featured.coupon-featured .coupon-featured-actions .btn-buy-now,
.deal-featured.coupon-featured .coupon-featured-actions .btn-deal-secondary,
.gift-featured.coupon-featured .coupon-featured-actions .btn-deal-secondary {
  border-radius: var(--radius-pill);
}

.deals-pagination .pagination .page-link {
  border-radius: 10px;
  margin: 0 3px;
  color: var(--dark);
}

.deals-pagination .pagination .page-item.active .page-link,
.deals-pagination .pagination .page-link.current {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-color: transparent;
  color: #fff;
}

.coupon-offer-strip.deal-featured-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Featured deal – consistent image panel regardless of source dimensions */
.deals-page .coupon-featured.deal-featured .coupon-featured-media img.product-img-placeholder,
.deals-page .coupon-featured.deal-featured .deal-featured-media img.product-img-placeholder {
  object-fit: contain;
  padding: 28px 36px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 55%, #fdf2f8 100%);
}

.deal-featured-media .deal-featured-chip,
.coupon-featured-media .deal-featured-chip {
  z-index: 3;
}

.deal-featured-media .coupon-media-actions,
.coupon-featured-media .coupon-media-actions {
  z-index: 3;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .deals-page .deals-card-actions .btn {
    font-size: 0.7rem;
    padding: 0 5px;
    gap: 4px;
  }

  .deals-page .deals-card-actions .btn i {
    font-size: 0.76rem;
  }
}

.deals-page .coupon-featured.deal-featured.loyalty-featured {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  grid-template-columns: minmax(220px, 38%) 1fr;
}

.deals-page .coupon-featured.deal-featured .coupon-featured-media,
.deals-page .coupon-featured.deal-featured .deal-featured-media {
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

.deals-page .coupon-featured.deal-featured .coupon-featured-media img,
.deals-page .coupon-featured.deal-featured .deal-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.deals-page .coupon-featured.deal-featured .coupon-featured-body,
.deals-page .coupon-featured.deal-featured .deal-featured-body {
  height: 100%;
  min-height: 0;
  padding: 16px 20px;
  gap: 8px;
  overflow: hidden;
  justify-content: center;
}

.deals-page .coupon-featured.deal-featured .coupon-store-name.deal-featured-store {
  font-size: 1.15rem;
  line-height: 1.2;
}

.deals-page .coupon-featured.deal-featured .coupon-store-sub.deal-featured-title {
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deals-page .coupon-featured.deal-featured .coupon-rating {
  gap: 4px;
}

.deals-page .coupon-featured.deal-featured .coupon-meta-grid {
  gap: 6px 10px;
}

.deals-page .coupon-featured.deal-featured .coupon-offer-strip.deal-featured-pricing {
  padding: 10px 12px;
}

.deals-page .coupon-featured.deal-featured .deal-featured-actions .btn,
.deals-page .coupon-featured.deal-featured .coupon-featured-actions .btn {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.74rem;
}

@media (max-width: 991.98px) {
  .deals-page .coupon-featured.deal-featured.loyalty-featured {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .deals-page .coupon-featured.deal-featured .coupon-featured-media,
  .deals-page .coupon-featured.deal-featured .deal-featured-media {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }

  .deals-page .coupon-featured.deal-featured .coupon-featured-body,
  .deals-page .coupon-featured.deal-featured .deal-featured-body {
    height: auto;
    overflow: visible;
    padding: 18px 16px;
  }
}

@media (max-width: 380px) {
  .deals-page .deals-card-actions {
    grid-template-columns: 1fr;
  }

  .deals-page .deals-card-actions .btn {
    font-size: 0.82rem;
    padding: 0 12px;
  }
}

/* Deals sidebar – tighter spacing, less empty white space */
.deals-page .deals-sidebar {
  gap: 12px;
}

.deals-page .deals-categories {
  padding: 12px 14px 10px;
}

.deals-page .deals-cat-head {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fde68a;
}

.deals-page .deals-cat-head h3 {
  font-size: 0.98rem;
  gap: 6px;
}

.deals-page .deals-cat-head h3 i {
  font-size: 0.82rem;
}

.deals-page .deals-cat-all {
  font-size: 0.76rem;
}

.deals-page .deals-map-card-head {
  padding: 10px 14px 8px;
}

.deals-page .deals-map-card-head h3 {
  margin-top: 2px;
  font-size: 0.98rem;
}

.deals-page .deals-map-card-foot {
  padding: 8px 14px 10px;
  font-size: 0.76rem;
}

.deals-page .deals-sidebar-map {
  margin: 0 10px;
}

.store-coupon-modal .modal-body iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
}

.coupon-qr-modal-dialog {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.coupon-qr-modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.16);
}

.coupon-qr-modal-content .modal-header {
  position: relative;
  align-items: flex-start;
  border: 0;
  padding: 16px 18px 10px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.coupon-qr-modal-content .modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.coupon-qr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coupon-qr-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.24);
}

.coupon-qr-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.coupon-qr-modal-content .modal-title {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
}

.coupon-qr-modal-content .modal-body {
  padding: 4px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coupon-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  padding: 10px;
  width: 100%;
  max-width: 196px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.08), transparent 45%),
    linear-gradient(180deg, #fffaf5 0%, #fff 100%);
  border: 1px solid #fde68a;
}

.coupon-qr-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.coupon-qr-canvas img,
.coupon-qr-canvas canvas {
  display: block;
  margin: 0 auto;
  width: 160px !important;
  height: 160px !important;
}

.coupon-qr-empty {
  margin: 0;
  padding: 16px 10px;
  max-width: 180px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--gray);
}

.coupon-qr-code-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 44px 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fbcfe8;
  text-align: center;
}

.coupon-qr-code-box > div {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.coupon-qr-code-box .coupon-code-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--pink-dark);
}

.coupon-qr-code-box .coupon-code-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
  word-break: break-all;
}

.coupon-qr-code-box .btn-copy-code {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
}

.coupon-qr-foot {
  margin: 10px 0 12px;
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
}

.coupon-qr-close-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.store-coupon-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.store-coupon-image img {
  cursor: pointer;
}

/* ---------- Store Coupons Detail Page (from reference) ---------- */
/* ---------- Store Coupons Detail Page ---------- */
.store-coupons-page {
  padding: 20px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(252, 231, 243, 0.7), transparent 40%),
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 35%),
    #fafafa;
}

.store-hero {
  margin-bottom: 28px;
}

.store-hero-cover {
  position: relative;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.store-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.store-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(31, 41, 55, 0.55) 10%, rgba(236, 72, 153, 0.28) 55%, rgba(255, 87, 34, 0.2) 100%),
    linear-gradient(180deg, rgba(31, 41, 55, 0.1) 0%, rgba(31, 41, 55, 0.65) 100%);
}

.store-hero-cover-text {
  position: absolute;
  left: 24px;
  bottom: 72px;
  z-index: 2;
  color: #fff;
  max-width: 420px;
}

.store-hero-cover-text span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}

.store-hero-cover-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.store-hero-cover .store-back-link {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.store-hero-cover .store-back-link:hover {
  background: #fff;
  color: var(--pink-dark);
  border-color: #fff;
}

.store-hero-card {
  margin: -56px 16px 0;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.12);
  backdrop-filter: blur(10px);
}

.store-hero-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.store-profile-logo {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 22px;
  overflow: visible;
  flex-shrink: 0;
  background: #fff7ed;
}

.store-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.22);
}

.store-verified-dot {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.store-profile-info {
  min-width: 0;
}

.store-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink-dark);
  background: #fff1f7;
  border: 1px solid #fbcfe8;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.store-chip-green {
  color: var(--green);
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.store-chip-orange {
  color: var(--orange);
  background: #fff7ed;
  border-color: #fdba74;
}

.store-profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.store-profile-address {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

.store-profile-address i {
  color: var(--orange);
  margin-right: 6px;
}

.store-hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 180px;
}

.store-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.store-hero-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-store-primary,
.btn-store-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-store-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border: none;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
}

.btn-store-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
}

.btn-store-soft {
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
}

.btn-store-soft:hover {
  color: var(--pink-dark);
  border-color: #fbcfe8;
  background: #fff1f7;
}

.store-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fde68a;
}

.store-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.store-stat-star {
  background: #fef3c7;
  color: #d97706;
}

.store-stat-tag {
  background: #fce7f3;
  color: var(--pink-dark);
}

.store-stat-pin {
  background: #ffedd5;
  color: var(--orange);
}

.store-stat-cash {
  background: #dcfce7;
  color: var(--green);
}

.store-stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.store-stat small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
}

.store-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink-dark);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: #fff1f7;
  border: 1px solid #fbcfe8;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.store-icon-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.store-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.store-icon-btn i {
  font-size: 1rem;
}

.store-icon-btn:hover {
  color: var(--pink-dark);
  border-color: #fbcfe8;
  background: #fff1f7;
  transform: translateY(-2px);
}

.store-icon-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.3);
}

.available-coupons-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.available-coupons-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.available-coupons-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.coupon-count-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-dark);
  background: #fff1f7;
  border: 1px solid #fbcfe8;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.deal-coupon-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.deal-coupon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #f9a8d4;
}

.deal-coupon-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.deal-coupon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.deal-coupon-card:hover .deal-coupon-media img {
  transform: scale(1.05);
}

.deal-discount-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.deal-coupon-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.deal-coupon-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.deal-coupon-body > .coupon-code-box,
.deal-coupon-body > .deal-coupon-details,
.deal-coupon-body > .deal-cashback,
.deal-coupon-body > .deal-coupon-footer {
  width: 100%;
}

.deal-coupon-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.deal-coupon-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.45;
}

.coupon-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px dashed #f9a8d4;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  box-sizing: border-box;
}

.coupon-code-box > div {
  min-width: 0;
  flex: 1;
}

.coupon-code-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 2px;
}

.coupon-code-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-dark);
  letter-spacing: 0.04em;
  word-break: break-word;
}

.btn-copy-code {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #fbcfe8;
  background: #fff;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.btn-copy-code:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.deal-coupon-details {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

.deal-coupon-details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.deal-coupon-details li:last-child {
  border-bottom: none;
}

.deal-coupon-details li span {
  color: var(--gray);
}

.deal-coupon-details li strong {
  color: var(--dark);
  font-weight: 600;
}

.deal-coupon-details li.is-valid {
  background: #ecfdf5;
}

.deal-coupon-details li.is-valid strong {
  color: var(--green);
}

.deal-cashback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  padding: 9px 10px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  box-sizing: border-box;
}

.deal-coupon-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  align-items: stretch;
  width: 100%;
}

.btn-save-coupon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  color: var(--orange);
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-save-coupon:hover {
  background: #ffedd5;
  border-color: var(--orange);
  color: var(--orange-dark);
}

.btn-view-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
  color: #fff;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-view-qr:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
}
@media (max-width: 991.98px) {
  .store-hero-card-top {
    grid-template-columns: auto 1fr;
  }

  .store-hero-aside {
    grid-column: 1 / -1;
    align-items: stretch;
    min-width: 0;
  }

  .store-icon-nav {
    justify-content: center;
    width: 100%;
  }

  .store-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .store-hero-cover {
    height: 210px;
    border-radius: 18px;
  }

  .store-hero-cover-text {
    left: 14px;
    right: 14px;
    bottom: 64px;
  }

  .store-hero-cover-text strong {
    font-size: 1.1rem;
  }

  .store-hero-card {
    margin: -48px 0 0;
    padding: 16px;
    width: 100%;
  }

  .store-hero-card-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .store-profile-name {
    font-size: 1.35rem;
  }

  .store-profile-logo {
    width: 82px;
    height: 82px;
  }

  .available-coupons-panel {
    padding: 18px;
  }

  .deal-coupon-footer {
    grid-template-columns: 1fr;
  }

  .deal-coupon-footer .btn-save-coupon,
  .deal-coupon-footer .btn-view-qr {
    white-space: normal;
  }
}

/* ---------- E-Gift Cards listing page ---------- */
/* ---------- E-Gift Cards Page ---------- */
.gift-page {
  padding: 28px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(255, 237, 213, 0.75), transparent 42%),
    radial-gradient(circle at bottom left, rgba(252, 231, 243, 0.5), transparent 40%),
    #fafafa;
}

.gift-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gift-page-sub {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}
/* ---------- Gift Cards listing (live-style) ---------- */
.gift-page.deals-page {
  padding-top: 24px;
}

.gift-page .page-breadcrumb {
  margin-bottom: 16px;
}

.gift-page .gift-page-intro {
  margin-bottom: 22px;
}

.gift-page .gift-featured .deal-featured-eyebrow {
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--orange);
}

/* ---------- Events listing (homepage-style) ---------- */
.events-page.deals-page {
  padding-top: 24px;
}

.events-page-intro {
  margin-bottom: 22px;
}

.event-date-badge {
  background: linear-gradient(135deg, #7c3aed, #db2777) !important;
}

.event-featured-chip {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.event-featured-badge {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.events-card-new {
  animation: reviewFadeIn 0.4s ease;
}

.gifts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.gifts-toolbar-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.gifts-toolbar-sub {
  margin: 2px 0 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.gift-list-card .deals-list-label {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gift-list-card .deals-list-meta {
  flex-wrap: wrap;
  gap: 6px 10px;
}

.gift-list-card .deals-list-meta .fa-route {
  color: var(--orange);
}

/* ---------- Top Stores Listing Page ---------- */
.stores-page .section-title i,
.search-page .section-title i {
  display: inline-block;
  flex-shrink: 0;
  padding-left: 3px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-page .deals-page-intro > div:first-child {
  padding-left: 8px;
}

.search-page .section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-page .deals-page-sub {
  padding-left: 8px;
}

.stores-side-promo {
  padding: 22px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.18), transparent 45%),
    linear-gradient(160deg, #fff7ed 0%, #fdf2f8 100%);
  border: 1px solid #fde68a;
  box-shadow: var(--shadow-sm);
}

.stores-side-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.stores-side-promo h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.stores-side-promo p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

.store-featured-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(255, 250, 245, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.store-featured-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.store-featured-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.store-featured-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.store-featured-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 4px;
}

.store-featured-name {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.store-featured-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.store-featured-rating i {
  color: #f59e0b;
}

.store-featured-rating span {
  color: var(--gray);
  font-weight: 500;
}

.store-featured-offer-box {
  flex-shrink: 0;
  text-align: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(236, 72, 153, 0.12));
  border: 1px solid #fbcfe8;
  min-width: 110px;
}

.store-featured-offer-box em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-featured-offer-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.store-featured-offer-box span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
}

.store-featured-desc {
  margin: 0;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.55;
}

.store-card.store-card-page {
  padding: 0;
  overflow: hidden;
  display: block;
  border: 1px solid #f3e7dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
  text-align: center;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.store-card.store-card-page:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}

.store-card-page .store-card-brand {
  position: relative;
  display: block;
  min-height: 160px;
  height: 160px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7ed 0%, #fdf2f8 100%);
  border-bottom: 1px solid #f3e7dc;
}

.store-card-page .store-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

.store-card-page .store-card-body {
  padding: 16px 16px 20px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.store-card-page .store-name {
  margin: 0 0 8px;
  min-height: 0;
  display: block;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

.store-card-page .store-rating {
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.store-card-page .store-rating span {
  color: var(--gray);
  font-weight: 400;
}

.store-card-page .store-offer {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
  text-align: center;
}

.store-card-page .store-cashback {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
  text-align: center;
}

.store-card-page .store-logo {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: normal;
  display: block;
}

.store-card-page .store-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.28s ease;
  display: block;
}

.store-card-page:hover .store-logo img {
  transform: scale(1.05);
  box-shadow: none;
}

.store-card-page .store-logo img.store-logo-dummy {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
}

.store-card-page:hover .store-logo img.store-logo-dummy {
  transform: scale(1.03);
}

.store-card-page .store-logo-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border: none;
  box-shadow: none;
}

.store-card-page .btn-visit-store {
  margin-top: auto;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.12), rgba(236, 72, 153, 0.14));
  color: var(--pink-dark);
  border: none;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.store-card-page .btn-visit-store i {
  font-size: 0.78rem;
}

.store-card-page .btn-visit-store:hover {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
}

.stores-page #storesList .stores-list-item,
.search-page #storesList .stores-list-item {
  display: flex;
}

.stores-page #storesList .store-card-page,
.search-page #storesList .store-card-page {
  width: 100%;
}

.stores-card-new {
  animation: storesCardIn 0.45s ease both;
}

@keyframes storesCardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .store-featured-top {
    flex-direction: column;
  }

  .stores-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Loyalty Pages (Local / Online) ---------- */
.loyalty-page.coupons-page {
  padding: 36px 0 56px;
}

.loyalty-page .coupons-page-intro {
  margin-top: 8px;
  margin-bottom: 32px;
}

.loyalty-page-online.coupons-page {
  padding: 36px 0 56px;
}

.loyalty-page-online .coupons-page-intro {
  margin-top: 8px;
  margin-bottom: 32px;
}

.loyalty-page .section-title i {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loyalty-page .loyalty-offer-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #2563eb;
  text-transform: uppercase;
}

.loyalty-card .loyalty-offer-title {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.loyalty-card .coupon-store-sub {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.loyalty-card-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.loyalty-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: #fff7ed;
  border: 1px solid #fde68a;
}

.loyalty-card-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.loyalty-card-rating-stars i {
  font-size: 0.62rem;
  color: #f59e0b;
}

.loyalty-card-rating-stars i.is-muted {
  color: #fcd34d;
  opacity: 0.45;
}

.loyalty-card-rating-value {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.loyalty-card-rating-new {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--orange);
}

.loyalty-card .coupon-meta {
  margin-bottom: 10px;
  gap: 4px;
}

.loyalty-card .loyalty-cashback-deal {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .loyalty-card-subrow {
    flex-wrap: wrap;
    gap: 6px;
  }

  .loyalty-card-rating {
    margin-left: auto;
  }
}

.loyalty-cashback-badge {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.loyalty-cashback-text,
.loyalty-cashback-deal {
  color: #059669 !important;
  font-weight: 800;
}

.loyalty-cashback-deal {
  margin-top: 4px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.loyalty-featured .coupon-store-sub {
  font-weight: 700;
  color: var(--dark);
}

.loyalty-card-new {
  animation: loyaltyCardIn 0.45s ease both;
}

@keyframes loyaltyCardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loyalty-toolbar {
  margin-top: 4px;
}

.loyalty-online-tip {
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.loyalty-tips {
  padding: 4px 4px 8px;
  display: grid;
  gap: 12px;
}

.loyalty-tips li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.loyalty-tips li i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  flex-shrink: 0;
}

.loyalty-page-online .section-title i {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Categories Page ---------- */
.categories-page {
  padding: 28px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(255, 237, 213, 0.75), transparent 42%),
    radial-gradient(circle at bottom left, rgba(252, 231, 243, 0.5), transparent 40%),
    #fafafa;
}

.categories-page .page-breadcrumb {
  margin-bottom: 16px;
}

.categories-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.categories-page-sub {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.categories-popular-panel,
.categories-az-panel {
  background: #fff;
  border: 1px solid #f3e7dc;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
  margin-bottom: 22px;
}

.categories-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.categories-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.categories-panel-head h2 i {
  color: var(--orange);
}

.categories-panel-head span {
  color: var(--gray);
  font-size: 0.88rem;
}

.categories-popular-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 16px 10px;
  border-radius: 18px;
  border: 1px solid #f3e7dc;
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: #fdba74;
  box-shadow: 0 12px 24px rgba(255, 87, 34, 0.12);
}

.cat-tile-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff7ed, #fce7f3);
  color: var(--orange);
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 87, 34, 0.12);
}

.cat-tile:hover .cat-tile-icon {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
}

.cat-tile em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  line-height: 1.3;
}

.categories-az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3e7dc;
}

.az-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  transition: all 0.2s ease;
}

.az-letter.is-live {
  border-color: #fdba74;
  color: var(--orange);
  cursor: pointer;
}

.az-letter.is-live:hover,
.az-letter.is-active {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.22);
}

.az-letter:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.az-group {
  margin-bottom: 26px;
}

.az-group.is-hidden {
  display: none;
}

.az-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.az-group-label span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-weight: 800;
}

.az-group-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.az-cat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #f3e7dc;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  max-height: 320px;
}

.az-cat-card header {
  flex-shrink: 0;
  padding: 12px 14px;
  background: #fff7ed;
  border-bottom: 1px solid #ffedd5;
}

.az-cat-card-head-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.az-cat-card-head-link:hover {
  color: var(--dark);
}

.az-cat-card ul {
  list-style: none;
  margin: 0;
  padding: 10px 8px 14px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #fdba74 #fff7ed;
}

.az-cat-card ul::-webkit-scrollbar {
  width: 6px;
}

.az-cat-card ul::-webkit-scrollbar-track {
  background: #fff7ed;
  border-radius: 999px;
  margin: 4px 0;
}

.az-cat-card ul::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff8a50, #ff5722);
  border-radius: 999px;
}

.az-cat-card ul::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

.az-cat-card li + li {
  margin-top: 6px;
}

.az-cat-card a {
  display: block;
  color: var(--dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 2px 6px 2px 0;
  border-radius: 6px;
}

.az-cat-card ul a:hover {
  color: var(--orange);
}

.categories-page .section-title i {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1199.98px) {
  .categories-popular-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .categories-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .az-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .categories-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .az-group-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Store Profile Page (from reference) ---------- */
/* ---------- Store Profile Page ---------- */
.profile-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fde68a;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

#reviews,
#photos,
#videos {
  scroll-margin-top: 100px;
}

.profile-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-profile-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.btn-profile-outline:hover,
.btn-profile-outline.active {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.28);
}

.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-follow:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 87, 34, 0.4);
}

.profile-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
  border: 1px solid #fbcfe8;
}

.review-summary-score {
  text-align: center;
  min-width: 110px;
}

.review-summary-score strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-summary-score .store-profile-rating {
  justify-content: center;
  margin: 6px 0 4px;
}

.review-summary-score span {
  font-size: 0.78rem;
  color: var(--gray);
}

.review-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-bar-row {
  display: grid;
  grid-template-columns: 16px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray);
}

.review-bar {
  height: 8px;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  border: 1px solid #fde68a;
}

.review-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  font-style: normal;
}

.review-bar-row em {
  font-style: normal;
  text-align: right;
  color: var(--dark);
  font-weight: 600;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
  white-space: nowrap;
}

.btn-write-review:hover {
  color: #fff;
  transform: translateY(-2px);
}

.review-card {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.review-card:last-child {
  margin-bottom: 0;
}

.review-card-new {
  animation: reviewFadeIn 0.4s ease;
}

@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reviews-load-more {
  padding: 18px 0 6px;
  text-align: center;
  min-height: 48px;
}

.reviews-loading-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.84rem;
  font-weight: 600;
}

.reviews-loading-spinner.is-visible {
  display: inline-flex;
}

.reviews-loading-spinner span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  animation: reviewDotPulse 1s ease infinite;
}

.reviews-loading-spinner span:nth-child(2) {
  animation-delay: 0.15s;
}

.reviews-loading-spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

.reviews-loading-spinner em {
  font-style: normal;
  margin-left: 4px;
}

@keyframes reviewDotPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.reviews-end-message {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray);
}

.reviews-end-message i {
  color: var(--green);
  margin-right: 6px;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: #f9a8d4;
  box-shadow: var(--shadow-md);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.review-meta {
  min-width: 0;
  flex: 1;
}

.review-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.review-name-row strong {
  font-size: 1rem;
  color: var(--dark);
}

.review-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pink-dark);
  background: #fff1f7;
  border: 1px solid #fbcfe8;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.review-submeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.review-date {
  font-size: 0.78rem;
  color: var(--gray);
}

.review-text {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: #374151;
  line-height: 1.6;
}

.review-photos {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.review-photo-btn {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.review-photos img,
.review-photo-btn img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  transition: transform var(--transition);
}

.review-photo-btn:hover img {
  transform: scale(1.05);
}

.profile-photo-item {
  cursor: pointer;
}

.review-reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.review-react {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #f8fafc;
  color: var(--gray);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.review-react i {
  line-height: 1;
  pointer-events: none;
}

.review-react-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

.review-react.useful {
  background: #fff7ed;
  color: var(--orange);
  border-color: #ffedd5;
}

.review-react.cool {
  background: #ecfdf5;
  color: var(--green);
  border-color: #d1fae5;
}

.review-react.funny {
  background: #eff6ff;
  color: #2563eb;
  border-color: #dbeafe;
}

.review-react.is-active.useful {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.18);
}

.review-react.is-active.cool {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  border-color: #6ee7b7;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.review-react.is-active.funny {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.review-react.is-active i {
  transform: scale(1.05);
}

.review-react:hover {
  transform: translateY(-2px);
}

.review-react:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-layout {
  align-items: flex-start;
}

.profile-layout > aside {
  position: sticky;
  top: 100px;
  z-index: 2;
  align-self: flex-start;
}

.profile-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.profile-side-card:hover {
  box-shadow: var(--shadow-md);
}

.profile-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-side-header h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-side-header h3 i {
  color: var(--orange);
  font-size: 0.95rem;
}

.profile-side-header a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink-dark);
}

.profile-side-header a:hover {
  color: var(--orange);
}

.hours-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.hours-open i {
  font-size: 0.45rem;
  animation: openPulse 1.6s ease infinite;
}

@keyframes openPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.profile-media-card {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-color: #fde68a;
}

.profile-photos-card {
  background: #fdf8f4;
  border-color: #f3e7dc;
}

.profile-videos-card {
  background: linear-gradient(180deg, #fff 0%, #fff5f9 100%);
  border-color: #fbcfe8;
}

.profile-section-pill {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #1f2937 !important;
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
}

.profile-section-pill i {
  color: #1f2937 !important;
  font-size: 0.95rem !important;
}

.profile-section-pill-pink {
  border-color: #fbcfe8;
}

.profile-media-all {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.22);
}

.profile-media-all:hover {
  color: #fff !important;
  opacity: 0.95;
}

.btn-media-all {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--orange), #ff7043);
  padding: 7px 14px !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.28);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-media-all i {
  font-size: 0.68rem;
  transition: transform var(--transition);
}

.btn-media-all:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.35);
}

.btn-media-all:hover i {
  transform: translateX(2px);
}

.btn-media-all-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.28);
}

.btn-media-all-pink:hover {
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.35);
}

.profile-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-photo-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #fde68a;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.profile-photo-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.profile-photo-item:hover img {
  transform: scale(1.08);
}

.profile-media-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 41, 55, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.profile-media-hover i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.35);
}

.profile-photo-item:hover .profile-media-hover {
  opacity: 1;
}

.profile-media-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.72), rgba(236, 72, 153, 0.78));
  color: #fff;
  text-align: center;
}

.profile-media-more-overlay strong {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.profile-media-more-overlay small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.95;
}

.profile-media-more-overlay-sm {
  inset: auto 6px 6px auto;
  width: auto;
  height: auto;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.72);
}

/* ---------- Store Photos Gallery Page ---------- */
.photos-gallery-panel {
  position: relative;
  scroll-margin-top: 110px;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.08), transparent 45%),
    linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border: 1px solid #f3e7dc;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  overflow: hidden;
}

.photos-gallery-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.photos-gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.photos-gallery-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.photos-gallery-heading h2 {
  margin: 0 0 4px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
}

.photos-gallery-heading p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 360px;
}

.photos-gallery-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.photos-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  background: #fff;
  border: 1px solid #e8e4df;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.photos-count-badge i {
  color: var(--orange);
}

.photos-feed-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink-dark);
  padding: 8px 12px;
}

.photos-feed-link:hover {
  color: var(--orange);
}

.btn-add-photos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-add-photos:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 87, 34, 0.35);
}

/* ---------- Add Photos Modal ---------- */
.add-photos-modal {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 41, 55, 0.18);
}

.add-photos-modal .modal-header {
  position: relative;
  border: 0;
  padding: 22px 24px 12px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.add-photos-modal .modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.add-photos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.add-photos-modal .modal-title {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

.add-photos-modal .modal-body {
  padding: 8px 24px 10px;
}

.add-photos-field {
  margin-bottom: 16px;
}

.add-photos-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dark);
}

.add-photos-field .form-control {
  border: 1px solid #f3e7dc;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.92rem;
  box-shadow: none;
}

.add-photos-field .form-control:focus {
  border-color: #fdba74;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
}

.add-photos-dropzone {
  position: relative;
  border: 2px dashed #fdba74;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 87, 34, 0.08), transparent 45%),
    linear-gradient(180deg, #fffaf5 0%, #fff 100%);
  cursor: pointer;
  padding: 16px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.add-photos-dropzone.is-dragover {
  border-color: var(--pink);
  background: #fff1f7;
  transform: scale(1.01);
}

.add-photos-dropzone.has-files .add-photos-dropzone-inner {
  display: none;
}

.add-photos-dropzone.has-files .add-photos-selected {
  display: flex;
}

.add-photos-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  text-align: center;
}

.add-photos-selected {
  display: none;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.add-photos-drop-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 10px 22px rgba(255, 87, 34, 0.28);
}

.add-photos-dropzone-inner strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.add-photos-dropzone-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--gray);
}

.add-photos-browse {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.22);
}

.add-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.add-photos-preview:empty {
  display: none;
}

.add-photos-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fde68a;
  background: #fff7ed;
}

.add-photos-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.add-photos-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
}

.add-photos-browse-sm {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1.5px dashed #fdba74;
  border-radius: 12px;
  background: #fff;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.add-photos-browse-sm i {
  font-size: 0.95rem;
}

.add-photos-browse-sm:hover {
  background: #fff7ed;
  border-color: var(--pink);
  color: var(--pink-dark);
}

.add-photos-modal .modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0;
  padding: 8px 24px 22px;
  gap: 10px;
}

.add-photos-modal .modal-footer .btn-add-photos,
.add-photos-modal .modal-footer .btn-deal-secondary {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .add-photos-thumb,
  .add-photos-browse-sm {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}

/* ---------- Write Review Modal ---------- */
.profile-review-modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 41, 55, 0.18);
}

.profile-review-modal-content .modal-header {
  position: relative;
  border: 0;
  padding: 22px 24px 12px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.profile-review-modal-content .modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.profile-review-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-review-modal-content .modal-title {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

.profile-review-modal-content .modal-body {
  padding: 8px 24px 10px;
}

.profile-review-target {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border: 1px solid #fde68a;
  font-size: 0.9rem;
  color: var(--dark);
}

.profile-review-field {
  margin-bottom: 16px;
}

.profile-review-field .form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dark);
}

.profile-review-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-review-stars button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3e7dc;
  border-radius: 12px;
  background: #fffaf5;
  color: #d1d5db;
  font-size: 1.1rem;
  padding: 0;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.profile-review-stars button:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #fbbf24;
  transform: translateY(-1px);
}

.profile-review-stars button.is-active {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
  color: #f59e0b;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.22);
}

.profile-review-textarea {
  border: 1px solid #f3e7dc;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.92rem;
  min-height: 120px;
  resize: vertical;
  box-shadow: none;
}

.profile-review-textarea:focus {
  border-color: #fdba74;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
}

.profile-review-modal-content .modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0;
  padding: 8px 24px 22px;
  gap: 10px;
}

.profile-review-modal-content .modal-footer .btn-write-review,
.profile-review-modal-content .modal-footer .btn-deal-secondary {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.profile-review-modal-content .modal-footer .btn-write-review {
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.28);
}

@media (max-width: 575.98px) {
  .profile-review-stars button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.photos-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 12px;
}

.photos-gallery-item {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
  cursor: pointer;
}

.photos-gallery-item-hero {
  grid-column: span 2;
  grid-row: span 2;
}

.photos-gallery-item-wide {
  grid-column: span 2;
}

.photos-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.photos-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.05), rgba(31, 41, 55, 0.72));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photos-gallery-overlay i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.4);
  font-size: 0.95rem;
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.photos-gallery-overlay em {
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.photos-gallery-item:hover img {
  transform: scale(1.08);
}

.photos-gallery-item:hover .photos-gallery-overlay {
  opacity: 1;
}

.photos-gallery-item:hover .photos-gallery-overlay i {
  transform: scale(1);
}

@media (max-width: 991.98px) {
  .photos-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
  }

  .photos-gallery-item-hero {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 767.98px) {
  .photos-gallery-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .photos-gallery-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .photos-gallery-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .photos-gallery-heading h2 {
    font-size: 1.25rem;
  }

  .photos-gallery-heading p {
    max-width: none;
  }

  .photos-gallery-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .photos-count-badge,
  .photos-feed-link,
  .photos-gallery-actions .btn-add-photos {
    width: 100%;
    justify-content: center;
  }

  .photos-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .photos-gallery-item,
  .photos-gallery-item-hero,
  .photos-gallery-item-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Photo Lightbox Gallery ---------- */
body.lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(6px);
}

.photo-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.photo-lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.photo-lightbox-close:hover {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  transform: scale(1.05);
}

.photo-lightbox-stage {
  width: 100%;
  height: min(62vh, 520px);
  border-radius: 20px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.photo-lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.photo-lightbox-nav.prev {
  left: -8px;
}

.photo-lightbox-nav.next {
  right: -8px;
}

.photo-lightbox-nav:hover {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.photo-lightbox-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  padding: 0 4px;
}

.photo-lightbox-caption {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.photo-lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.photo-lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 2px 8px;
}

.photo-lightbox-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  opacity: 0.65;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.photo-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-lightbox-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.photo-lightbox-thumb.active {
  opacity: 1;
  border-color: #f9a8d4;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.35);
}

@media (max-width: 767.98px) {
  .photo-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .photo-lightbox-nav.prev {
    left: 4px;
  }

  .photo-lightbox-nav.next {
    right: 4px;
  }

  .photo-lightbox-stage {
    height: 48vh;
    border-radius: 16px;
  }

  .photo-lightbox-thumb {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }
}

.video-lightbox-stage {
  background: #000;
}

.video-lightbox-stage video,
.video-lightbox-stage iframe {
  width: 100%;
  height: 100%;
  max-height: min(62vh, 520px);
  object-fit: contain;
  display: block;
  background: #000;
  border: 0;
}

#videoLightboxThumbs .photo-lightbox-thumb {
  position: relative;
}

#videoLightboxThumbs .photo-lightbox-thumb i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  background: rgba(17, 24, 39, 0.35);
  pointer-events: none;
}

/* ---------- Store Videos Gallery Page ---------- */
.videos-gallery-panel {
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 87, 34, 0.08), transparent 45%),
    linear-gradient(180deg, #fff 0%, #fff5f9 100%);
  border-color: #fbcfe8;
}

.videos-gallery-panel::before {
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.btn-add-videos {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.btn-add-videos:hover {
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.35);
}

.videos-gallery-grid .photos-gallery-item {
  border-color: #fbcfe8;
}

.videos-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.1), rgba(31, 41, 55, 0.45));
  transition: opacity 0.3s ease;
  z-index: 1;
}

.videos-play-badge i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.4);
  padding-left: 3px;
  font-size: 0.95rem;
}

.videos-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  padding: 4px 8px;
  border-radius: 8px;
}

.videos-gallery-grid .photos-gallery-item:hover .videos-play-badge {
  opacity: 0;
}

.videos-gallery-grid .photos-gallery-overlay {
  z-index: 3;
}

.profile-empty-box {
  text-align: center;
  padding: 28px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc, #fff1f7);
  border: 1px dashed #f9a8d4;
  color: var(--gray);
}

.profile-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--pink);
  box-shadow: var(--shadow-sm);
}

.profile-empty-box p {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.profile-empty-box small {
  font-size: 0.78rem;
  color: var(--gray);
}

.profile-location-card,
.profile-hours-card {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-color: #fde68a;
}

.profile-map-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #fde68a;
  height: 170px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.profile-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.profile-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-contact-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #fde68a;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.profile-contact-chip:hover {
  transform: translateY(-2px);
  border-color: #f9a8d4;
  box-shadow: var(--shadow-sm);
  color: var(--dark);
}

.profile-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  color: var(--orange);
  border: 1px solid #fde68a;
}

.profile-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f3f4f6;
}

.profile-hours li.is-today {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border-color: #fbcfe8;
}

.profile-hours .hours-day {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
}

.profile-hours .hours-day i {
  color: var(--pink);
  font-size: 0.75rem;
}

.profile-hours li strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  font-weight: 700;
  white-space: nowrap;
}

.profile-hours li strong i {
  color: var(--orange);
  font-size: 0.85rem;
}

.store-profile-page .profile-hours-card .profile-side-header {
  flex-wrap: wrap;
  row-gap: 8px;
}

.store-profile-page .profile-hours-card .profile-side-header h3 {
  min-width: 0;
}

.store-profile-page .profile-hours-card .hours-open {
  margin-left: auto;
}

.store-profile-page .profile-hours li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
}

.store-profile-page .profile-hours .hours-day {
  min-width: 0;
  white-space: nowrap;
}

.store-profile-page .profile-hours li strong {
  justify-self: end;
  white-space: nowrap;
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: right;
}

@media (max-width: 1199.98px) {
  .store-profile-page .profile-hours li {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .store-profile-page .profile-hours li strong {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }
}

.profile-deal-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #fdba74;
  background: #fff;
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.12);
}

.profile-deal-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.profile-deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.profile-deal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05) 20%, rgba(17, 24, 39, 0.45) 100%);
}

.profile-deal-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
  margin-bottom: 0;
  z-index: 1;
}

.profile-deal-save {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(22, 163, 74, 0.92);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.profile-deal-body {
  padding: 16px;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 55%);
}

.profile-deal-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  line-height: 1.4;
}

.profile-deal-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #fdba74;
}

.profile-deal-price-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.profile-deal-price-box strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.profile-deal-price-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.profile-deal-price-meta span {
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: line-through;
}

.profile-deal-price-meta em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.profile-deal-card .btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.28);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.profile-deal-card .btn-buy-now:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
}

.profile-deal-card .btn-buy-now i {
  font-size: 0.9rem;
}

.profile-layout .col-lg-6 .review-summary {
  grid-template-columns: 1fr;
  gap: 14px;
}

.profile-layout .col-lg-6 .review-summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-layout .col-lg-6 .btn-write-review {
  width: 100%;
}

@media (max-width: 991.98px) {
  .review-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .review-summary-score .store-profile-rating,
  .btn-write-review {
    justify-content: center;
  }

  .profile-layout {
    align-items: stretch;
  }

  .profile-layout > aside {
    position: static;
  }
}

/* ---------- Video Grid ---------- */
.profile-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-video-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #fbcfe8;
  box-shadow: var(--shadow-sm);
}

.profile-video-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.profile-video-item:hover img {
  transform: scale(1.08);
}

.profile-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.08), rgba(31, 41, 55, 0.42));
  transition: background var(--transition);
}

.profile-video-play i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.4);
  padding-left: 2px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  transition: transform var(--transition);
}

.profile-video-item:hover .profile-video-play {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.15), rgba(31, 41, 55, 0.5));
}

.profile-video-item:hover .profile-video-play i {
  transform: scale(1.08);
}

.store-profile-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fbbf24;
  font-size: 0.82rem;
}
.store-profile-rating i.fa-regular.fa-star {
  color: #d1d5db;
}

/* Tighter three-column profile grid — match reference store-profile.html */
.store-profile-page {
  --profile-sticky-top: 132px;
}

.store-profile-page .profile-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr) minmax(250px, 1fr);
  grid-template-areas: "sidebar main aside";
  column-gap: 8px;
  row-gap: 8px;
  align-items: start;
  margin: 0;
}

.store-profile-page .profile-col {
  margin: 0;
  padding: 0;
  min-width: 0;
  align-self: start;
}

.store-profile-page .profile-col-sidebar {
  grid-area: sidebar;
}

.store-profile-page .profile-col-main {
  grid-area: main;
}

.store-profile-page .profile-col-aside {
  grid-area: aside;
}

.store-profile-page .profile-col-sidebar,
.store-profile-page .profile-col-aside {
  position: static;
  align-self: start;
}

.store-profile-page .profile-layout > aside {
  position: static;
  top: auto;
  z-index: auto;
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}

.store-profile-page .profile-sidebar {
  position: sticky;
  top: var(--profile-sticky-top, 132px);
  z-index: 2;
  height: fit-content;
  margin-top: 0;
  padding-top: 0;
  gap: 12px;
}

.store-profile-page .profile-col-main .review-summary {
  grid-template-columns: 1fr;
  gap: 14px;
}

.store-profile-page .profile-col-main .review-summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-profile-page .profile-col-main .btn-write-review {
  width: 100%;
}

.store-profile-page .profile-sidebar,
.store-profile-page .profile-side-card,
.store-profile-page .profile-panel {
  width: 100%;
  margin-top: 0;
}

@media (min-width: 1200px) {
  .store-profile-page .profile-layout {
    column-gap: 12px;
  }
}

@media (max-width: 991.98px) {
  .store-profile-page .profile-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sidebar"
      "aside";
    row-gap: 1rem;
  }

  .store-profile-page .profile-col-main {
    order: 1;
  }

  .store-profile-page .profile-col-sidebar {
    order: 2;
  }

  .store-profile-page .profile-col-aside {
    order: 3;
  }

  .store-profile-page .profile-sidebar {
    position: static;
    top: auto;
  }
}
