/* ==========================================================================
   giftcertificates.com.ph — Master Design Tokens & Frontend Stylesheet
   Modern, high-trust Philippine digital gift certificate platform.
   Strictly vanilla CSS + Bootstrap 5.3 CDN. No npm/build step needed.
   ========================================================================== */

:root {
  /* Brand Primary Colors */
  --gc-primary: #00b5c2;
  --gc-primary-hover: #009ca8;
  --gc-primary-dark: #008791;
  --gc-primary-soft: #e6f9fa;
  --gc-primary-glow: rgba(0, 181, 194, 0.35);

  /* Cyan Highlight (from reference logo & headings) */
  --gc-cyan: #00c5d2;
  --gc-cyan-light: #e0f9fb;

  /* Executive Navy Palette */
  --gc-navy: #0e2233;
  --gc-navy-2: #16324a;
  --gc-navy-3: #1e4463;
  --gc-navy-dark: #091724;
  --gc-ink: #0f172a;
  --gc-body: #000;
  --gc-muted: #64748b;

  /* Surfaces & Backgrounds */
  --gc-surface: #f8fafc;
  --gc-surface-alt: #f1f5f9;
  --gc-card: #ffffff;
  --gc-border: #c5d1d5;
  --gc-border-light: #f1f5f9;

  /* Feedback Colors */
  --gc-success: #10b981;
  --gc-success-soft: #ecfdf5;
  --gc-info: #0284c7;
  --gc-info-soft: #f0f9ff;
  --gc-warning: #f59e0b;
  --gc-warning-soft: #fffbeb;
  --gc-danger: #ef4444;
  --gc-danger-soft: #fef2f2;

  /* Gradients */
  --gc-gradient-primary: linear-gradient(135deg, #00c5d2 0%, #00a4b0 100%);
  --gc-gradient-hero: linear-gradient(180deg, rgba(14,34,51,0.7) 0%, rgba(14,34,51,0.85) 100%);
  --gc-gradient-navy: linear-gradient(180deg, #0e2233 0%, #081521 100%);
  --gc-gradient-card: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, #ffffff 100%);

  /* Border Radii */
  --gc-radius-sm: 8px;
  --gc-radius-md: 12px;
  --gc-radius: 16px;
  --gc-radius-lg: 20px;
  --gc-radius-pill: 9999px;

  /* Elevations / Box Shadows */
  --gc-shadow-xs: 0 1px 2px rgba(14, 34, 51, 0.05);
  --gc-shadow-sm: 0 2px 6px rgba(14, 34, 51, 0.06);
  --gc-shadow: 0 6px 20px -4px rgba(14, 34, 51, 0.08);
  --gc-shadow-hover: 0 16px 36px -6px rgba(14, 34, 51, 0.12), 0 4px 12px rgba(0, 181, 194, 0.08);
  --gc-shadow-hero-search: 0 12px 35px rgba(0, 0, 0, 0.22);

  /* Typography */
  --gc-font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --gc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
body {
  font-family: var(--gc-font-body);
  color: var(--gc-body);
  background-color: var(--gc-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .display-heading {
  font-family: var(--gc-font-display);
  color: var(--gc-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--gc-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--gc-primary-dark);
}

.text-navy { color: var(--gc-navy) !important; }
.text-cyan { color: var(--gc-cyan) !important; }
.text-teal { color: var(--gc-primary) !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gc-primary, .btn-gradient-teal {
  background: var(--gc-gradient-primary);
  border: none;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--gc-radius-md);
  padding: 0.65rem 1.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 181, 194, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-gc-primary:hover, .btn-gradient-teal:hover {
  background: linear-gradient(135deg, #00b4c0 0%, #008791 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 181, 194, 0.45);
  color: #ffffff !important;
}
.btn-gc-primary:active, .btn-gradient-teal:active {
  transform: translateY(0);
}

.btn-gc-outline {
  border: 1.5px solid var(--gc-border);
  color: var(--gc-navy);
  background: #ffffff;
  font-weight: 600;
  border-radius: var(--gc-radius-md);
  padding: 0.65rem 1.4rem;
  transition: all 0.2s ease;
}
.btn-gc-outline:hover {
  border-color: var(--gc-primary);
  color: var(--gc-primary);
  background: var(--gc-primary-soft);
  transform: translateY(-1px);
}

/* ==========================================================================
   Header & Navbar (Main Layout)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  z-index: 1040;
  background: linear-gradient(rgb(241, 246, 249) 0%, rgb(232, 244, 246) 100%);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(14, 34, 51, 0.08);
  border-bottom-color: transparent;
}

.navbar .container {
  gap: 0.35rem;
}
.navbar-brand {
  min-width: 0;
  max-width: calc(100% - 100px);
}
.navbar-brand img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-footer-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(220px, 100%);
}
@media (min-width: 992px) {
  .navbar-brand { max-width: none; }
  .navbar-brand img,
  .site-footer-logo { height: 38px; }
}

.nav-link-custom {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gc-body) !important;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link-custom:hover {
  color: var(--gc-primary) !important;
}
.nav-link-custom.active {
  color: var(--gc-navy) !important;
  font-weight: 600;
}
.nav-link-custom.active::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.9rem;
  right: 0.9rem;
  height: 3px;
  background: var(--gc-primary);
  border-radius: 999px;
}
@media (max-width: 991.98px) {
  .nav-link-custom.active::before { display: none; }
  .navbar-collapse {
    padding: 0.75rem 0 0.25rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--gc-border);
  }
  .nav-link-custom {
    padding: 0.7rem 0.2rem !important;
  }
}

.nav-categories-menu {
  min-width: 260px;
  padding: 0.5rem 0;
}
@media (min-width: 992px) {
  .site-header .nav-item.dropdown:hover > .dropdown-menu,
  .site-header .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
  .site-header .nav-item.dropdown .dropdown-menu {
    margin-top: 0;
  }
  .site-header .nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
}
.nav-categories-menu .dropdown-item {
  font-size: 0.92rem;
  color: var(--gc-navy);
}
.nav-categories-menu .dropdown-item:hover,
.nav-categories-menu .dropdown-item:focus {
  background: var(--gc-primary-soft);
  color: var(--gc-navy);
}
.nav-categories-menu .dropdown-item.active {
  background: var(--gc-primary-soft);
  color: var(--gc-navy);
  font-weight: 600;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: var(--gc-surface);
  color: var(--gc-primary);
  border-color: var(--gc-border);
}
.nav-icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.65rem;
  padding: 0.15rem 0.35rem;
  background: var(--gc-cyan);
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}

/* ==========================================================================
   Hero Section & Modern Slideshow
   ========================================================================== */
.hero-slideshow-container {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--gc-navy);
}
@media (min-width: 992px) {
  .hero-slideshow-container {
    height: 560px;
  }
}

.hero-slideshow-container .carousel,
.hero-slideshow-container .carousel-inner,
.hero-slideshow-container .carousel-item {
  height: 100%;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-item.active .hero-slide-bg {
  transform: scale(1.05);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,34,51,0.85) 0%, rgba(14,34,51,0.55) 55%, rgba(14,34,51,0.25) 100%),
              linear-gradient(180deg, rgba(14,34,51,0.3) 0%, rgba(14,34,51,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Floating Hero Search Bar */
.hero-search-bar {
  background: #ffffff;
  border-radius: var(--gc-radius-pill);
  box-shadow: var(--gc-shadow-hero-search);
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  max-width: 620px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hero-search-bar:focus-within {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(0, 181, 194, 0.35);
  transform: translateY(-2px);
}
.hero-search-bar .form-control {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: var(--gc-navy);
  box-shadow: none !important;
}
.hero-search-bar .form-control::placeholder {
  color: #94a3b8;
}
.btn-hero-search {
  background: var(--gc-cyan);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--gc-radius-pill);
  padding: 0.6rem 1.6rem;
  border: none;
  transition: all 0.2s ease;
}
.btn-hero-search:hover {
  background: var(--gc-primary-hover);
  color: #ffffff;
}

/* Carousel Indicators */
.hero-indicators {
  margin-bottom: 1.5rem;
  z-index: 3;
}
.hero-indicators [data-bs-target] {
  width: 28px;
  height: 5px;
  border-radius: 99px;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.hero-indicators .active {
  width: 44px;
  background-color: var(--gc-cyan);
}

/* ==========================================================================
   Quick Floating Categories (Circular Icons)
   ========================================================================== */
.quick-categories-wrap {
  position: relative;
  z-index: 10;
  margin-top: -38px;
  margin-bottom: 2rem;
}
.quick-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.quick-category-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 34, 51, 0.12);
  color: var(--gc-navy);
  font-size: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-category-item:hover .quick-category-icon-box {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 181, 194, 0.25);
  border-color: var(--gc-primary);
  color: var(--gc-primary);
}
.quick-category-label {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gc-navy);
  text-align: center;
  transition: color 0.2s ease;
}
.quick-category-item:hover .quick-category-label {
  color: var(--gc-primary);
}

/* ==========================================================================
   Popular Categories (Photo Cards Grid)
   ========================================================================== */
.cat-photo-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--gc-shadow-xs);
  height: 100%;
}
.cat-photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--gc-primary);
  box-shadow: var(--gc-shadow-hover);
}
.cat-photo-img-wrap {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-color: #f1f5f9;
}
.cat-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.cat-photo-card:hover .cat-photo-img-wrap img {
  transform: scale(1.08);
}
.cat-photo-title {
  padding: 0.85rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gc-navy);
  text-align: center;
  line-height: 1.3;
}

/* ==========================================================================
   Featured Merchants Cards
   ========================================================================== */
.merchant-modern-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--gc-shadow-xs);
  height: 100%;
}
.merchant-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gc-shadow-hover);
  border-color: var(--gc-primary);
}
.merchant-cover-wrap {
  height: 150px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}
.merchant-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.merchant-modern-card:hover .merchant-cover-wrap img {
  transform: scale(1.06);
}
.merchant-card-body {
  padding: 1rem 1.15rem;
}
.merchant-avatar-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(14, 34, 51, 0.12);
  background: #ffffff;
  flex-shrink: 0;
}

/* ==========================================================================
   Gift Certificate Cards (Products)
   ========================================================================== */
.gc-product-card {
  background: #ffffff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--gc-shadow-xs);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gc-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gc-shadow-hover);
  border-color: var(--gc-primary);
}
.gc-product-img-wrap {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}
.gc-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gc-product-card:hover .gc-product-img-wrap img {
  transform: scale(1.06);
}
.gc-product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(14, 34, 51, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}

/* ==========================================================================
   Front Auth Layout (Split View)
   ========================================================================== */
.auth-split-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-split-body {
  flex: 1;
}

/* Left Hero Brand Panel */
.auth-brand-side {
  position: relative;
  background-color: #0e2233;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4rem;
}
.auth-brand-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: 0;
}
.auth-brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(248,250,252,0.42) 48%, rgba(255,255,255,0.9) 100%);
  z-index: 1;
}
.auth-brand-content {
  position: relative;
  z-index: 2;
}

.auth-prop-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--gc-radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 4px 14px rgba(14, 34, 51, 0.05);
  transition: transform 0.2s ease;
}
.auth-prop-chip:hover {
  transform: translateX(4px);
  background: #ffffff;
}
.auth-prop-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gc-primary-soft);
  color: var(--gc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Right Form Card */
.auth-form-side {
  background-color: var(--gc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
.auth-modern-card {
  background: #ffffff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  box-shadow: 0 10px 30px rgba(14, 34, 51, 0.06);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
}

/* Form Input with leading icon */
.form-input-icon-wrap {
  position: relative;
}
.form-input-icon-wrap i.lead-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}
.form-input-icon-wrap .form-control {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
  height: 48px;
  border-radius: var(--gc-radius-md);
  border-color: var(--gc-border);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input-icon-wrap .form-control:focus {
  border-color: var(--gc-primary);
  box-shadow: 0 0 0 3px rgba(0, 181, 194, 0.15);
}
.form-input-icon-wrap .btn-toggle-pwd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
}
.form-input-icon-wrap .btn-toggle-pwd:hover {
  color: var(--gc-navy);
}

/* Google Sign In Button */
.btn-google {
  background: #ffffff;
  border: 1px solid var(--gc-border);
  color: #334155;
  font-weight: 600;
  border-radius: var(--gc-radius-md);
  height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.btn-google:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

/* Split Footer Bar */
.auth-bottom-bar {
  background: var(--gc-navy);
  color: #94a3b8;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-bottom-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.auth-bottom-bar a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Site Footer (Main Layout)
   ========================================================================== */
.site-footer {
  background: var(--gc-gradient-navy);
  color: #cbd5e1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}
.site-footer h6 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.site-footer a:hover {
  color: #ffffff;
  padding-left: 2px;
}
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem 0;
}
.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Payment Icons Bar */
.payment-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   Existing Portal / Admin / Scanner Backwards-Compatibility Tokens
   ========================================================================== */
.gc-card {
  background: var(--gc-card);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-xs);
}
.gc-badge {
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gc-sidebar {
  background: var(--gc-navy);
  width: 280px;
  min-height: 100vh;
}
.gc-sidebar .nav-link {
  color: #c6d3dd;
  border-radius: 10px;
  font-size: 14px;
}
.gc-sidebar .nav-link:hover {
  background: var(--gc-navy-2);
  color: #fff;
}
.gc-sidebar .nav-link.active {
  background: var(--gc-navy-3);
  color: #fff;
  border-left: 3px solid var(--gc-primary);
}
.gc-sidebar .section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gc-muted);
}
.gc-auth-brand {
  background: var(--gc-navy);
  color: #fff;
}
.gc-auth-brand h1 { color: #fff; }
.gc-auth-brand .accent { color: var(--gc-primary); }
.gc-keypad {
  position: sticky;
  bottom: 0;
  background: var(--gc-card);
  border-top: 1px solid var(--gc-border);
}
.gc-balance {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--gc-font-display);
  color: var(--gc-ink);
}
:focus-visible {
  outline: 2px solid var(--gc-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Storefront polish — listing, details, checkout, inner heroes
   ========================================================================== */
html { scroll-behavior: smooth; }

.gc-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.breadcrumb {
  --bs-breadcrumb-divider: '›';
  font-size: 0.85rem;
}
.breadcrumb-item a { color: var(--gc-muted); }
.breadcrumb-item a:hover { color: var(--gc-primary); }
.breadcrumb-item.active { color: var(--gc-navy); font-weight: 600; }

.inner-page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 2.75rem;
  margin-bottom: 2rem;
  background: var(--gc-navy);
}
.inner-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.inner-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,23,36,0.88) 0%, rgba(14,34,51,0.55) 55%, rgba(0,181,194,0.28) 100%);
}

.hero-slideshow-container {
  height: 560px;
}
@media (min-width: 992px) {
  .hero-slideshow-container {
    height: 640px;
  }
}

.hero-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 1;
  top: 46%;
  transition: all 0.2s ease;
}
.hero-carousel-btn:hover {
  background: var(--gc-cyan);
  border-color: var(--gc-cyan);
  color: #fff;
}
.hero-carousel-btn.carousel-control-prev { left: 1.25rem; }
.hero-carousel-btn.carousel-control-next { right: 1.25rem; }

.how-step {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--gc-shadow-hover);
}
.how-step-num {
  font-family: var(--gc-font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gc-primary-soft);
  line-height: 1;
  position: absolute;
  top: 0.6rem;
  right: 1rem;
}
.how-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gc-primary-soft);
  color: var(--gc-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.occasion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  padding: 1.6rem 1rem;
  height: 100%;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--gc-shadow-xs);
}
.occasion-card:hover {
  transform: translateY(-5px);
  border-color: var(--gc-primary);
  box-shadow: var(--gc-shadow-hover);
}
.occasion-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gc-primary-soft);
  color: var(--gc-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.denom-card {
  cursor: pointer;
  border: 1.5px solid var(--gc-border);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
  background: #fff;
  transition: all 0.2s ease;
  height: 100%;
  user-select: none;
}
.denom-card:hover { border-color: var(--gc-primary); }
.denom-card.is-selected {
  border-color: var(--gc-primary);
  background: linear-gradient(180deg, #e6f9fa 0%, #ffffff 70%);
  box-shadow: 0 0 0 3px rgba(0, 181, 194, 0.18);
}
.denom-card input { display: none; }

.mode-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.mode-pill {
  border: 1.5px solid var(--gc-border);
  border-radius: 14px;
  padding: 0.5rem .75rem;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}
.mode-pill.is-selected {
  border-color: var(--gc-primary);
  background: var(--gc-primary-soft);
}
.mode-pill input { display: none; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gc-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper button {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--gc-navy);
}
.qty-stepper button:hover { background: var(--gc-surface); color: var(--gc-primary); }
.qty-stepper input {
  width: 52px;
  text-align: center;
  border: none;
  font-weight: 700;
  color: var(--gc-navy);
}

.checkout-shell {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 992px) {
  .checkout-shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: start;
  }
}
.checkout-card {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-sm);
  padding: 1.5rem;
}
.checkout-summary {
  position: sticky;
  top: 96px;
}
.summary-cover {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.summary-cover img { width: 100%; height: 100%; object-fit: cover; }

.auth-gift-visual {
  position: relative;
  margin: 1.5rem 0 0.5rem;
  max-width: 420px;
}
.auth-gift-visual img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(14,34,51,0.25));
}
.auth-plastic-card {
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: 58%;
  background: linear-gradient(135deg, #0e2233 0%, #164e63 60%, #00b5c2 140%);
  border-radius: 14px;
  padding: 1rem 1.1rem 0.85rem;
  color: #fff;
  box-shadow: 0 16px 32px rgba(14,34,51,0.28);
  transform: rotate(-8deg);
}
.auth-plastic-card img { height: 22px; filter: brightness(10); object-fit: contain; max-height: none; }

.gc-product-img-wrap { height: 180px; }
.cat-photo-img-wrap { height: 132px; }
.merchant-cover-wrap { height: 168px; }

.trust-band {
  background: linear-gradient(180deg, #f1f6f9 0%, #e8f4f6 100%);
}

.pay-method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pay-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.checkout-steps li {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gc-muted);
}
.checkout-steps li::before {
  content: counter(step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gc-surface-alt);
  color: var(--gc-navy);
  font-size: 0.72rem;
}
.checkout-steps li.is-done { color: var(--gc-primary-dark); }
.checkout-steps li.is-current { color: var(--gc-navy); }
.checkout-steps li.is-current::before,
.checkout-steps li.is-done::before {
  background: var(--gc-primary);
  color: #fff;
}

.gc-checkout-modal .modal-dialog {
  max-width: 520px;
  margin: 0.75rem auto;
  height: calc(100% - 1.5rem);
  max-height: min(760px, calc(100dvh - 1.5rem));
}
.gc-checkout-modal .modal-content {
  height: 100%;
  max-height: min(760px, calc(100dvh - 1.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: 0 24px 60px rgba(14, 34, 51, 0.22);
  background: #fff;
}
.gc-checkout-modal .modal-header {
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 0.95rem;
  border-bottom: 1px solid var(--gc-border);
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
}
.gc-checkout-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.15rem 1.25rem;
  background: var(--gc-surface);
  background: linear-gradient(rgb(241, 246, 249) 0%, rgb(232, 244, 246) 100%);
}
.gc-checkout-modal .modal-footer {
  flex: 0 0 auto;
  display: block;
  padding: 0.9rem 1.15rem 1.05rem;
  border-top: 1px solid var(--gc-border);
  background: #fff;
  box-shadow: 0 -10px 24px rgba(14, 34, 51, 0.06);
}
.gc-chk-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}
.gc-chk-hero img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: var(--gc-shadow-sm);
}
.gc-chk-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gc-primary-dark);
}
.gc-chk-title {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0.1rem 0 0.15rem;
}
.gc-chk-merchant {
  font-size: 0.8rem;
  color: var(--gc-muted);
}
.gc-chk-section {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--gc-shadow-xs);
}
.gc-chk-section h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gc-muted);
  margin-bottom: 0.75rem;
}
.gc-chk-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.gc-chk-section-head h3 { margin-bottom: 0; }
.gc-chk-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.gc-chk-section-row h3 { margin-bottom: 0; }
.gc-chk-hint { font-size: 0.8rem; color: var(--gc-muted); }
.gc-chk-denoms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
}
.gc-checkout-modal .denom-card {
  padding: 0.7rem 0.4rem;
  margin: 0;
}
.gc-checkout-modal .denom-card .fw-bold {
  color: var(--gc-primary-dark);
  font-size: 1.05rem;
}
.gc-checkout-modal .mode-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.gc-checkout-modal .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gc-navy);
  margin-bottom: 0.3rem;
}
.gc-checkout-modal .form-control,
.gc-checkout-modal .form-select {
  border-radius: 12px;
  border-color: var(--gc-border);
  padding: 0.62rem 0.85rem;
}
.gc-checkout-modal .form-control:focus,
.gc-checkout-modal .form-select:focus {
  border-color: var(--gc-primary);
  box-shadow: 0 0 0 3px rgba(0, 181, 194, 0.16);
}
.gc-chk-terms {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: 1rem;
}
.gc-chk-paybar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.gc-chk-paybar-label {
  font-size: 0.75rem;
  color: var(--gc-muted);
  font-weight: 600;
}
.gc-chk-paybar-total {
  font-family: var(--gc-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gc-navy);
  line-height: 1.1;
}
.gc-chk-paybar .btn {
  flex: 1 1 auto;
  max-width: 260px;
  padding: 0.78rem 1.1rem;
  white-space: nowrap;
}
.gc-chk-secure {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gc-muted);
}
.gc-chk-secure i { color: var(--gc-primary); }

@media (max-width: 575.98px) {
  .gc-checkout-modal .modal-dialog {
    max-width: none;
    width: calc(100% - 0.7rem);
    margin: 0.35rem auto;
    height: calc(100% - 0.7rem);
    max-height: calc(100dvh - 0.7rem);
  }
  .gc-checkout-modal .modal-content {
    max-height: calc(100dvh - 0.7rem);
    border-radius: 1.1rem;
  }
  .gc-chk-paybar {
    flex-direction: column;
    align-items: stretch;
  }
  .gc-chk-paybar .btn { max-width: none; }
  .gc-chk-hero img { width: 48px; height: 48px; }
}

.webpay-shell { max-width: 520px; margin: 0 auto; }
.webpay-brand { display: flex; align-items: center; gap: 0.85rem; }
.webpay-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007dff, #00b5c2);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

/* ==========================================================================
   Homepage discovery sections & product carousels
   ========================================================================== */
.home-section {
  padding: 3rem 0;
}
.home-section-featured {
  background:
    radial-gradient(1200px 280px at 8% -10%, rgba(0, 197, 210, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
    background: linear-gradient(180deg, #f1f6f9 0%, #e8f4f6 100%);
}
.home-section-alt {
  background: linear-gradient(180deg, #f4fafb 0%, #eef6f8 100%);
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.home-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gc-primary-dark);
  background: var(--gc-primary-soft);
  border-radius: var(--gc-radius-pill);
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.55rem;
}
.home-section-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--gc-navy);
}
.home-section-copy {
  color: var(--gc-muted);
  margin: 0;
  font-size: 0.95rem;
}
.home-section-link {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--gc-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--gc-radius-pill);
  background: #fff;
  border: 1px solid var(--gc-border);
  box-shadow: var(--gc-shadow-xs);
  transition: all 0.2s ease;
}
.home-section-link:hover {
  color: #fff;
  background: var(--gc-primary);
  border-color: var(--gc-primary);
  transform: translateY(-1px);
}

.gc-product-carousel .carousel-inner {
  overflow: hidden;
}
.gc-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.gc-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gc-border);
  background: #ffffff;
  color: var(--gc-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gc-shadow-xs);
  transition: all 0.2s ease;
}
.gc-carousel-btn:hover {
  background: var(--gc-navy);
  border-color: var(--gc-navy);
  color: #ffffff;
}
.gc-carousel-dots {
  position: static;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gc-carousel-dots [data-bs-target] {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0;
  transition: all 0.25s ease;
}
.gc-carousel-dots .active {
  width: 22px;
  background: var(--gc-primary);
}

.cat-cover-card {
  position: relative;
  display: block;
  height: 188px;
  border-radius: var(--gc-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--gc-shadow-sm);
  isolation: isolate;
}
.cat-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.cat-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,34,51,0.05) 20%, rgba(14,34,51,0.78) 100%);
}
.cat-cover-title {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  color: #ffffff;
  font-family: var(--gc-font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  z-index: 1;
}
.cat-cover-card:hover img {
  transform: scale(1.07);
}
.cat-cover-card:hover .cat-cover-overlay {
  background: linear-gradient(180deg, rgba(0,181,194,0.12) 10%, rgba(14,34,51,0.82) 100%);
}

@media (max-width: 767.98px) {
  .home-section {
    padding: 2.25rem 0;
  }
  .home-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .cat-cover-card {
    height: 150px;
  }
}

/* ==========================================================================
   Public merchant profile
   ========================================================================== */
.merchant-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--gc-navy);
  margin-bottom: 0;
}
.merchant-hero-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.merchant-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,23,36,0.28) 0%, rgba(9,23,36,0.82) 100%),
    linear-gradient(90deg, rgba(9,23,36,0.55) 0%, rgba(9,23,36,0.12) 70%);
}
.merchant-hero-inner {
  z-index: 2;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
.merchant-hero-crumbs .breadcrumb-item,
.merchant-hero-crumbs .breadcrumb-item a,
.merchant-hero-crumbs .breadcrumb-item.active {
  color: rgba(255,255,255,0.78);
}
.merchant-hero-crumbs .breadcrumb-item a:hover { color: #fff; }
.merchant-hero-crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.45); }
.merchant-hero-identity {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
}
.merchant-hero-logo {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255,255,255,0.92);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
  flex-shrink: 0;
}
.merchant-hero-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gc-font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gc-navy);
}
.merchant-hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.45rem;
  letter-spacing: -0.03em;
}
.merchant-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--gc-radius-pill);
  padding: 0.28rem 0.7rem;
}
.merchant-chip-verified { color: #9ef0f6; }
.merchant-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}
.merchant-hero-meta i { color: var(--gc-cyan); margin-right: 0.28rem; }
.merchant-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.merchant-hero-cats a {
  color: #fff;
  background: rgba(0,197,210,0.22);
  border: 1px solid rgba(0,197,210,0.35);
  border-radius: var(--gc-radius-pill);
  padding: 0.22rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.merchant-hero-cats a:hover {
  background: var(--gc-primary);
  border-color: var(--gc-primary);
  color: #fff;
}

.merchant-profile {
  padding-top: 2rem;
}
.merchant-about {
  font-size: 0.98rem;
  color: var(--gc-body);
  line-height: 1.65;
  margin-bottom: 0;
}
.merchant-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.5rem;
}
.merchant-about-block {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--gc-border);
}
.merchant-about-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.merchant-side-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.merchant-perks,
.merchant-branch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.merchant-perks li,
.merchant-branch-list li,
.merchant-contact div {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--gc-body);
}
.merchant-perks i,
.merchant-contact i {
  color: var(--gc-primary-dark);
  margin-top: 0.12rem;
}
.merchant-branch-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gc-primary-soft);
  color: var(--gc-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.merchant-contact { display: grid; gap: 0.65rem; }

@media (max-width: 767.98px) {
  .merchant-hero { min-height: 280px; }
  .merchant-hero-identity { align-items: flex-start; }
  .merchant-hero-logo { width: 76px; height: 76px; border-radius: 20px; }
  .merchant-sidebar { position: static; }
}

/* Gift detail */
.gc-gift-media {
  position: relative;
  background: #e2e8f0;
}
.gc-gift-media > img,
.gc-gift-media .gc-gift-cover {
  display: block;
  width: 100%;
  height: 425px;
  object-fit: cover;
}
.merchant_overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.85);
  FONT-WEIGHT: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}
.merchant_overlay img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  flex-shrink: 0;
}
.merchant_overlay-fallback {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.65rem;
  color: var(--gc-navy);
  font-weight: 700;
  border: 1px solid var(--gc-border);
}
.gc-promo-ribbon {
  position: absolute;
  top: 22px;
  left: -48px;
  width: 180px;
  transform: rotate(-45deg);
  background: #c81e1e;
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(14, 34, 51, 0.18);
}
.gc-gift-specs {
  margin: 0 0 .6rem;
  padding: 0;
}
.gc-gift-specs > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0rem;
  border-bottom: 1px solid var(--gc-border);
  margin: 0;
}
.gc-gift-specs dt {
  margin: 0;
  font-weight: 700;
  color: var(--gc-navy, #0e2233);
}
.gc-gift-specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--gc-body);
}
.gc-gift-details {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.gc-gift-panel {
  padding: 1.5rem 1.6rem 1.7rem;
  height: 100%;
}
.gc-gift-panel-right {
  border-left: 1px solid var(--gc-border);
}
.gc-gift-panel h2 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gc-navy, #0e2233);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gc-navy, #0e2233);
}
.gc-gift-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.gc-gift-panel li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--gc-body);
  line-height: 1.45;
}
.gc-gift-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gc-primary, #00b5c2);
}

@media (max-width: 991.98px) {
  .gc-gift-stack {
    display: flex;
    flex-direction: column;
  }
  .gc-gift-buy-col,
  .gc-gift-buy-card {
    display: contents;
  }
  .gc-gift-media-col { order: 1; }
  .gc-gift-info { order: 2; }
  .gc-gift-detail-col { order: 3; }
  .payForm { order: 4; }
  .pills-pay { display: none !important; }
  .gc-gift-info,
  .payForm {
    background: linear-gradient(rgb(241, 246, 249) 0%, rgb(232, 244, 246) 100%);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius, 1rem);
    box-shadow: var(--gc-shadow-sm);
    padding: 1rem;
  }
  .payForm { margin-top: 0.25rem; }
}

@media (max-width: 767.98px) {
  .home-section {
    padding: 2.25rem 0;
  }
  .home-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .cat-cover-card {
    height: 150px;
  }
  .gc-gift-media .gc-gift-cover { height: 220px; }
  .gc-gift-panel-right { border-left: 0; border-top: 1px solid var(--gc-border); }
  .gc-gift-specs > div { grid-template-columns: 6.2rem 1fr; }
  #payPreview {
    font-size: clamp(1.55rem, 7vw, 2.2rem) !important;
    line-height: 1.15;
  }
  .inner-page-hero {
    padding: 2rem 0 1.6rem;
    margin-bottom: 1.25rem;
  }
  .inner-page-hero h1 {
    font-size: 1.45rem !important;
  }
  .checkout-card { padding: 1.15rem; }
  .hero-search-bar {
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 10px 12px 12px;
    gap: 0.45rem;
    max-width: 100%;
  }
  .hero-search-bar .form-control {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  .btn-hero-search {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .gc-product-card .p-3 { padding: 0.8rem !important; }
  .gc-product-card .gc-line-clamp-2 { display: none; }
  .gc-product-card .mt-auto {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }
  .gc-product-card .mt-auto .btn { width: 100%; }
  .gc-product-img-wrap { height: 128px; }
  .gc-product-badge {
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
  }
  .gc-product-card .fs-5 { font-size: 1.05rem !important; }
  .home-section-title { font-size: 1.28rem; }
  .mode-pill { padding: 0.65rem 0.7rem; }
  .mode-pill .smaller { display: none; }
  .gc-promo-ribbon {
    top: 14px;
    left: -38px;
    width: 132px;
    font-size: 0.62rem;
    padding: 0.26rem 0;
  }
  .gc-search-modal-group {
    flex-wrap: wrap !important;
  }
  .gc-search-modal-group .input-group-text { display: none; }
  .gc-search-modal-group .form-control {
    flex: 1 1 100%;
    width: 100%;
    padding-left: 0.25rem !important;
  }
  .gc-search-modal-group .btn {
    width: 100%;
    margin-top: 0.35rem;
  }
  .display-5, .display-6 { font-size: 1.5rem !important; }
  .lead { font-size: 1rem; }
  .cat-photo-img-wrap { height: 112px !important; }
  .merchant-hero-title { font-size: 1.45rem; }
}

.navbar-nav .dropdown-menu {
  position: static;
  background: linear-gradient(rgb(232 244 246) 0%, rgb(232, 244, 246) 100%);
}

.legal-article p,
.legal-article li {
  color: var(--gc-body);
  line-height: 1.65;
}
.legal-article h2 {
  font-size: 1.12rem;
  margin: 1.75rem 0 0.65rem;
}
.legal-article ul {
  padding-left: 1.15rem;
  margin-bottom: 1rem;
}
.legal-side {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  padding: 1.25rem 1.35rem;
}
.legal-faq .accordion-button {
  background: #fff;
  color: var(--gc-navy);
  box-shadow: none;
}
.legal-faq .accordion-button:not(.collapsed) {
  background: var(--gc-primary-soft);
  color: var(--gc-navy);
  box-shadow: none;
}


#main {background: linear-gradient(rgb(241, 246, 249) 0%, rgb(232, 244, 246) 100%);}