/* Loaded only on the giftcode route. Restore the original FC green palette. */
:root {
  --fcm-bg-deep: #060b14;
  --fcm-bg-navy: #0a1526;
  --fcm-bg-pitch: #0c2b20;
  --fcm-surface: #101d30;
  --fcm-surface-alt: #142440;
  --fcm-border: rgba(255, 209, 102, .22);
  --fcm-border-soft: rgba(255, 255, 255, .08);
  --fcm-gold: #ffd166;
  --fcm-gold-deep: #f2a93a;
  --fcm-gold-text: #2a1c05;
  --fcm-green: #2ecc71;
  --fcm-green-deep: #16a34a;
  --fcm-blue: #2dd4ff;
  --fcm-text: #eaf2ff;
  --fcm-text-muted: #93a5c2;
  --fcm-danger: #ef4444;
}

body.theme-giftcode { color-scheme: dark; }
body.theme-giftcode ::selection { background: #16613e; color: #eaffef; }
body.theme-giftcode :is(button, a, input):focus-visible { outline: 3px solid #6dffb0; outline-offset: 3px; }
::-webkit-scrollbar-track { background: #060b14; }
::-webkit-scrollbar-thumb { background: #258858; }

/* Keep the current brand proportions and compact shared navigation. */
body.theme-giftcode :is(.navbar-brand .logo-shop, .footer-logo, .canvas-menu .logo img) {
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
}
body.theme-giftcode .navbar-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.theme-giftcode .navbar-brand .logo-shop { width: 72px !important; height: 72px !important; }
body.theme-giftcode .footer-logo { width: 112px !important; height: 112px !important; }
body.theme-giftcode .canvas-menu .logo img { width: 96px !important; height: 96px !important; }
body.theme-giftcode .gc-input::placeholder { color: #79b895; opacity: 1; }
body.theme-giftcode .support-chat-badge { background: #15854b; color: #fff; }

@media (max-width: 991px) {
  body.theme-giftcode .navbar-brand .logo-shop { width: 64px !important; height: 64px !important; }
  body.theme-giftcode .header-default .navbar > .container-xl { flex-wrap: nowrap; gap: 12px; }
  body.theme-giftcode .header-right { min-width: 0; max-width: calc(100% - 76px); margin-left: auto; }
  body.theme-giftcode .header-right .header-buttons { display: flex; align-items: center; gap: 8px; margin-left: 0; max-width: 100%; }
  body.theme-giftcode .header-right .header-buttons button { margin-left: 0; }
  body.theme-giftcode .header-right .btn-button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.theme-giftcode .mobile-bottom-nav { min-height: 60px; border-top-color: rgba(46, 204, 113, .3); }
  body.theme-giftcode .mbn-item.active { color: #6dffb0; }
  body.theme-giftcode .mbn-item.active i { filter: drop-shadow(0 0 6px rgba(46, 204, 113, .4)); }
}
@media (max-width: 767px) {
  body.theme-giftcode footer.site-footer { margin-top: 20px; padding-top: 0; }
  body.theme-giftcode footer.site-footer .footer-logo { grid-row: 1 / 3; width: 64px !important; height: 64px !important; margin: 0; }
}
@media (max-width: 480px) {
  body.theme-giftcode .gc-hero { padding-top: 68px; }
  body.theme-giftcode .gc-icon-btn { width: 40px; height: 40px; }
  body.theme-giftcode .gc-title { font-size: 30px; }
  body.theme-giftcode .gc-input { font-size: 16px; }
  body.theme-giftcode .gc-terms { padding: 18px 16px 22px; }
}
@media (max-width: 360px) {
  body.theme-giftcode .navbar-brand .logo-shop { width: 60px !important; height: 60px !important; }
  body.theme-giftcode .header-right { max-width: calc(100% - 72px); }
  body.theme-giftcode .header-right .btn-button { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-giftcode :is(.gc-submit, .gc-icon-btn, .gc-overlay.show) { animation: none; transition: none; transform: none; }
}
