/* ===================================================================
   Announcement Ticker
   =================================================================== */
.sp-top-ticker {
	background: #0091ff;
	color: #fff;
	padding: 0.55rem 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.sp-top-ticker__track {
	display: flex;
	align-items: center;
	width: fit-content;
}

.horizontal-ticker__container {
	display: flex;
	align-items: center;
	width: fit-content;
	animation: sp-ticker-scroll 30s linear infinite;
}

.horizontal-ticker__container:hover {
	animation-play-state: paused;
}

.horizontal-ticker__item {
	margin: 0;
	color: #fff;
	line-height: 1;
	white-space: nowrap;
	font-size: 0.82rem;
	font-weight: 500;
	padding: 0 2rem;
	letter-spacing: 0.01em;
}

@keyframes sp-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Mobile: cart drawer */
@media (max-width: 640px) {
  .sp-cart-drawer__panel {
    width: 100%;
    max-width: 100vw;
    border-radius: 16px 16px 0 0;
    top: auto;  
    bottom: 0;
    height: 100vh;
    transform: translateY(100%);
  }

  
  .sp-cart-drawer.open .sp-cart-drawer__panel {
    transform: translateY(0);
  }

  .sp-cart-drawer__item {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .sp-cart-drawer__item-img {
    width: 60px;
    height: 60px;
  }

  .sp-cart-drawer__header {
    padding: 0.9rem 1rem;
  }

  .sp-cart-drawer__footer {
    padding: 0.85rem 1rem 1.2rem;
  }

  .sp-cart-drawer__checkout-btn {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }
}

/* Mobile: header drawer improvements */
@media (max-width: 640px) {
  .sp-header-drawer__panel {
    width: 320px;
    max-width: 88vw;
  }

  .sp-header-drawer__header {
    padding: 0.9rem 1rem;
  }

  .sp-header-drawer__body ul li a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .horizontal-ticker__item { font-size: 0.73rem; padding: 0 1rem; }
}

/* ===================================================================
   Sticky Header — Blue Floating Pill (matches header.html)
   =================================================================== */

:root {
  --nav-primary: #0f62fe;
  --nav-primary-hover: #0053e1;
  --nav-dark-1: #020b1e;
  --nav-dark-2: #031c4b;
  --nav-blue-1: #004cde;
  --nav-blue-2: #005cfc;
  --nav-cyan-1: #00d2ff;
  --nav-cyan-2: #0066ff;
}

/* Header container — sticky with transparent padding */
header.staytics-floating-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  padding: 20px 0 0;
  background: transparent;
  transition: padding 0.3s ease;
}

@media (min-width: 1024px) {
  header.staytics-floating-header { padding-top: 24px; }
}

/* Scrolled state — slightly tighter */
header.staytics-floating-header.scrolled {
  padding-top: 14px;
  padding-bottom: 0;
}

/* Floating blue gradient pill */
.nav-bar.floating-nav-bar {
  max-width: 75%;
  margin: auto;
  background: linear-gradient(90deg, var(--nav-dark-1) 0%, var(--nav-dark-2) 40%, var(--nav-blue-1) 75%, var(--nav-blue-2) 100%) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px rgba(2, 11, 30, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  padding: 16px 28px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  position: relative;
  transition: all 0.3s ease;
}

header.staytics-floating-header.scrolled .nav-bar.floating-nav-bar {
  box-shadow: 0 10px 28px rgba(2, 11, 30, 0.28), 0 3px 8px rgba(0, 0, 0, 0.08) !important;
  padding: 9px 14px !important;
}

@media (min-width: 768px) {
  .nav-bar.floating-nav-bar { padding: 16px 36px !important; }
}

/* Mobile: pill floats to the right corner */
@media (max-width: 1023px) {
  .nav-bar.floating-nav-bar {
    max-width: 90%;
    width: 100%;
    padding: 10px 12px !important;
    height: 52px;
    gap: 8px;
  }
  header.staytics-floating-header.scrolled .nav-bar.floating-nav-bar {

    height: 48px;
    padding: 9px 14px !important;
  }
}

@media (max-width: 480px) {
  .nav-bar.floating-nav-bar {
    width: 100%;
    padding: 8px 10px !important;
    height: 48px;
  }
  header.staytics-floating-header.scrolled .nav-bar.floating-nav-bar {
    height: 44px;
    padding: 9px 14px !important;
  }
}

/* Logo */
.nav-logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
  flex-shrink: 0;
  color: #ffffff;
}

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 38px;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo-text {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-left: -4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Center Nav Links */
.nav-links {
  display: flex !important;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.nav-links > a.nav-link,
.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 4px 0;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-links > a.nav-link:hover,
.nav-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-links > a.nav-link.active,
.nav-link.active {
  color: #ffffff !important;
}

.nav-links > a.nav-link::after,
.nav-link::after {
  display: none !important;
}

/* Active underline pill */
.nav-link-underline {
  position: relative;
  padding-bottom: 4px;
}

.nav-link-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--nav-cyan-1) 0%, var(--nav-cyan-2) 100%) !important;
  border-radius: 9999px;
}

.nav-link-chevron {
  width: 18px !important;
  height: 18px !important;
  transition: transform 0.2s ease !important;
  margin-left: 0 !important;
}

.nav-link-item:hover .nav-link-chevron {
  transform: rotate(180deg) !important;
}

/* Nav link item wrapper */
.nav-link-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

/* Solutions mega dropdown */
.nav-mega-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);
  padding-top: 16px;
  width: 320px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.nav-link-item:hover .nav-mega-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-dropdown-inner {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #f1f5f9;
  padding: 16px;
  color: #1e293b;
}

.mega-dropdown-grid {
  display: grid;
  gap: 12px;
}

.mega-dropdown-grid--single {
  grid-template-columns: 1fr;
}

.mega-dropdown-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 10px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: #1e293b !important;
  transition: background 0.2s ease;
  background: transparent !important;
  border: none !important;
  font-weight: 400 !important;
}

.mega-dropdown-item:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.mega-dropdown-icon {
  flex-shrink: 0;
  padding: 8px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--nav-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-dropdown-icon svg {
  width: 16px;
  height: 16px;
}

.mega-dropdown-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}

.mega-dropdown-desc {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
}

.mega-dropdown-divider {
  height: 1px;
  background: rgba(226, 232, 240, 0.6);
  margin: 6px 16px;
}

.mega-dropdown-footer {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 12px 16px !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--nav-primary) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.mega-dropdown-footer:hover {
  color: var(--nav-primary-hover) !important;
  gap: 10px;
}

.mega-dropdown-footer svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.mega-dropdown-footer:hover svg {
  transform: translateX(3px);
}

/* Right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #ffffff;
  position: relative;
}

/* Icon button — translucent white circle */
.nav-icon-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 9999px !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  text-decoration: none !important;
  flex-shrink: 0;
  opacity: 1 !important;
}

.nav-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05);
  color: #ffffff !important;
}

.nav-icon-btn svg {
  width: 24px !important;
  height: 24px !important;
  display: block;
}

/* Cart badge */
.nav-icon-badge {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #031c4b !important;
  box-shadow: 0 2px 4px rgba(244, 63, 94, 0.4) !important;
  line-height: 1 !important;
}

/* Search bar */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-bar {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: rgba(3, 28, 75, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 9999px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  height: 48px;
}

.nav-search-bar.open {
  width: 300px;
  opacity: 1;
  pointer-events: auto;
}

.nav-search-icon {
  width: 20px !important;
  height: 20px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-left: 16px !important;
  flex-shrink: 0;
}

.nav-search-input {
  flex: 1;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500;
  padding: 12px 10px 12px 12px !important;
  border: none !important;
  outline: none !important;
  width: 100%;
  letter-spacing: -0.01em;
  font-family: inherit;
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.nav-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
}

.nav-search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-search-clear:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  cursor: pointer;
  color: #ffffff;
  padding: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.nav-mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile menu overlay (backdrop) */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 11, 30, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu — side drawer on mobile, dropdown card on tablet+ */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 16px;
  right: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(2, 11, 30, 0.25);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.nav-mobile-menu.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer header (only visible on phone) */
.nav-mobile-drawer-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.nav-mobile-drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #020b1e;
}

.nav-mobile-drawer-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  padding: 0;
  transition: all 0.2s ease;
}

.nav-mobile-drawer-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.nav-mobile-drawer-close svg {
  width: 20px;
  height: 20px;
}

/* Mobile drawer body wrapper — only used on phone */
.nav-mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

/* Mobile drawer search (phone only) */
.nav-mobile-drawer-search {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 14px 16px 6px;
  padding: 12px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #64748b;
  flex-shrink: 0;
}

.nav-mobile-drawer-search svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-mobile-drawer-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  font-family: inherit;
  min-width: 0;
}

.nav-mobile-drawer-search input::placeholder {
  color: #94a3b8;
}

.nav-mobile-drawer-search:focus-within {
  background: #ffffff;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
  color: #4f46e5;
}

/* Phone: convert dropdown to right-side full-height drawer */
@media (max-width: 640px) {
  .nav-mobile-overlay {
    display: block;
  }

  .nav-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 20px 0 0 20px;
    transform: translateX(100%);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }

  .nav-mobile-drawer-search {
    display: flex;
  }

  .nav-mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-mobile-drawer-header {
    display: flex;
  }

  .nav-mobile-menu-body {
    padding: 8px 8px 16px;
  }

  .nav-mobile-link {
    padding: 16px 18px !important;
    font-size: 15px !important;
  }

  .nav-mobile-link svg {
    width: 22px;
    height: 22px;
  }

  .nav-mobile-cta {
    margin: 8px 12px 16px !important;
    padding: 16px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 380px) {
  .nav-mobile-menu {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

.nav-mobile-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  text-decoration: none !important;
  border-radius: 14px !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.15s ease;
}

.nav-mobile-link:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.nav-mobile-link svg {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
}

.nav-mobile-divider {
  height: 1px;
  background: rgba(226, 232, 240, 0.6);
  margin: 8px 16px;
}

.nav-mobile-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  margin: 8px;
  padding: 14px !important;
  background: linear-gradient(90deg, var(--nav-dark-1) 0%, var(--nav-dark-2) 40%, var(--nav-blue-1) 75%, var(--nav-blue-2) 100%) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s ease;
}

.nav-mobile-cta:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

.nav-mobile-cta svg {
  width: 16px;
  height: 16px;
}

.nav-mobile-dropdown {
  display: none;
  padding: 0 16px 4px 48px;
  flex-direction: column;
  gap: 2px;
}

.nav-mobile-dropdown.open {
  display: flex;
}

.nav-mobile-dropdown-link {
  padding: 10px 12px;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.nav-mobile-dropdown-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 1023px) {
  .nav-links.nav-links-desktop {
    display: none !important;
  }
  .nav-mobile-toggle {
    display: flex !important;
  }
}

/* Phone: hide search icon — drawer menu takes over */
@media (max-width: 640px) {
  .nav-search-wrap {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none !important;
  }
  .nav-mobile-menu {
    display: none !important;
  }
}

/* Header entrance */
@keyframes siteHeaderSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.staytics-floating-header {
  animation: siteHeaderSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide old top ticker that conflicts with new design */
.sp-top-ticker {
  display: none !important;
}

/* ===================================================================
   Sidebar Cart Drawer
   =================================================================== */
.sp-cart-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.sp-cart-drawer.open {
  display: block;
}

.sp-cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10021;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.sp-cart-drawer.open .sp-cart-drawer__overlay {
  opacity: 1;
}

.sp-cart-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 95vw;
  background: #fff;
  z-index: 10022;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.sp-cart-drawer.open .sp-cart-drawer__panel {
  transform: translateX(0);
}

.sp-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.sp-cart-drawer__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.sp-cart-drawer__close {
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.sp-cart-drawer__close:hover {
  background: #f5f5f5;
  color: #111;
}

.sp-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.sp-cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #666;
  height: 100%;
  min-height: 200px;
}

.sp-cart-drawer__empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.sp-cart-drawer__empty p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.sp-cart-drawer__empty a {
	display: inline-block;
	padding: 0.55rem 1.4rem;
	background: #0091ff;
	color: #fff;
	border-radius: 6px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
  transition: background 0.2s;
}

.sp-cart-drawer__empty a:hover {
  background: #5a2d74;
}

.sp-cart-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-cart-drawer__item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.sp-cart-drawer__item:last-child {
  border-bottom: none;
}

.sp-cart-drawer__item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.sp-cart-drawer__item-info {
  flex: 1;
  min-width: 0;
}

.sp-cart-drawer__item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 0.3rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-cart-drawer__item-name a {
  color: inherit;
  text-decoration: none;
}

.sp-cart-drawer__item-name a:hover {
	color: #0091ff;
}

.sp-cart-drawer__item-meta {
  font-size: 0.78rem;
  color: #888;
  margin: 0 0 0.4rem;
}

.sp-cart-drawer__item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-cart-drawer__item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.sp-cart-drawer__qty-btn {
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}

.sp-cart-drawer__qty-btn:hover {
  background: #f0f0f0;
}

.sp-cart-drawer__qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
}

.sp-cart-drawer__item-price {
	font-size: 0.88rem;
	font-weight: 700;
	color: #0091ff;
}

.sp-cart-drawer__item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  margin-top: 0.2rem;
  transition: color 0.15s;
}

li {
  margin-bottom:0px !important;
}
.sp-cart-drawer__item-remove:hover {
  color: #e60000;
}

.sp-cart-drawer__footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid #eee;
  flex-shrink: 0;
  background: #fff;
}

.sp-cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.sp-cart-drawer__total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.sp-cart-drawer__total-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.sp-cart-drawer__checkout-btn {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	background: #0091ff;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.sp-cart-drawer__checkout-btn:hover {
  background: #5a2d74;
}

.sp-cart-drawer__note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 0.65rem;
}

/* ===================================================================
   Footer (Modern Redesign)
   =================================================================== */

/* Wave divider */
.sp-footer-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #fff;
}

.sp-footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.sp-footer-wave .wave-fill-accent { fill: #4a6cf7; }
.sp-footer-wave .wave-fill-bg     { fill: #0f1629; }

/* Footer body */
.sp-site-footer {
  background: #0f1629;
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(74, 108, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(74, 108, 247, 0.05) 0%, transparent 50%);
  color: #fff;
  padding: 4rem 0 2rem;
}

.sp-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Top section: brand only --- */
.sp-footer__top {
  padding-bottom: 2.5rem;
}

.sp-footer__social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sp-footer__social-icon:hover {
  background: #4a6cf7;
  border-color: #4a6cf7;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 108, 247, 0.35);
}

.sp-footer__social-icon svg {
  transition: transform 0.3s ease;
}

.sp-footer__social-icon:hover svg {
  transform: scale(1.1);
}

/* Divider */
.sp-footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
  margin: 0 0 2.5rem;
}

/* Main Grid: 5 columns */
.sp-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 2.5rem;
  padding-bottom: 2.5rem;
}

/* Footer block */
.sp-footer__block {
  position: relative;
}

.sp-footer__block-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
}

.sp-footer__block-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a6cf7;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(74, 108, 247, 0.6);
}

/* Block: menu links */
.sp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer__links li {
  margin-bottom: 0.65rem;
}

.sp-footer__links li:last-child {
  margin-bottom: 0;
}

.sp-footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.sp-footer__links a::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4a6cf7;
  transition: width 0.3s ease;
}

.sp-footer__links a:hover {
  color: #fff;
  padding-left: 6px;
}

.sp-footer__links a:hover::before {
  width: 100%;
}

/* Block: Brand */
.sp-footer__brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.7;
}

/* Block: Contact Text */
.sp-footer__contact-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.2rem;
  line-height: 1.65;
}

/* Contact CTA Button */
.sp-footer__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a6cf7;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0.55rem 1rem;
  background: rgba(74, 108, 247, 0.1);
  border: 1px solid rgba(74, 108, 247, 0.25);
  border-radius: 8px;
}

.sp-footer__contact-btn:hover {
  background: #4a6cf7;
  border-color: #4a6cf7;
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
  transform: translateX(4px);
}

.sp-footer__contact-btn svg {
  transition: transform 0.25s ease;
}

.sp-footer__contact-btn:hover svg {
  transform: translateX(4px);
}

/* Payment Methods Section */
.sp-footer__payment {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.75rem;
}

.sp-footer__payment-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 1rem;
}

.sp-footer__payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.sp-footer__payment-grid svg {
  height: 38px;
  width: auto;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.sp-footer__payment-grid svg:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Footer bottom */
.sp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sp-footer__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.sp-footer__copyright a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-footer__copyright a:hover {
  color: #fff;
}

.sp-footer__made-with {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .sp-site-footer {
    padding: 3rem 0 1.5rem;
  }

  .sp-footer__inner {
    padding: 0 1.25rem;
  }

  .sp-footer__payment-grid svg {
    height: 32px;
  }

  .sp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .sp-footer__social-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .sp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }

  .sp-site-footer {
    padding: 2.5rem 0 1.25rem;
  }

  .sp-footer__inner {
    padding: 0 1rem;
  }

  .sp-footer__brand-title {
    font-size: 1.4rem;
  }

  .sp-footer__block-title {
    font-size: 0.72rem;
  }

  .sp-footer__links li {
    margin-bottom: 0.5rem;
  }

  .sp-footer__links a {
    font-size: 0.82rem;
  }

  .sp-footer__contact-text {
    font-size: 0.78rem;
  }

  .sp-footer__contact-btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
  }

  .sp-footer__payment-grid {
    gap: 0.5rem;
  }

  .sp-footer__payment-grid svg {
    height: 28px;
  }

  .sp-footer__payment-label {
    font-size: 0.65rem;
  }

  .sp-footer__copyright {
    font-size: 0.72rem;
  }

  .sp-footer__made-with {
    font-size: 0.68rem;
  }

  .sp-footer-wave svg {
    height: 40px;
  }

  .sp-footer__social-icon {
    width: 34px;
    height: 34px;
  }

  .sp-footer__top {
    padding-bottom: 2rem;
  }
}

/* 鈹€鈹€ Cart Drawer AJAX-loaded Item Styles 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */
.sp-cart-drawer__image-wrap {
  position: relative;
  flex-shrink: 0;
}
.sp-cart-drawer__image-container {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.sp-cart-drawer__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
}
.sp-cart-drawer__qty-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #0091ff;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.sp-cart-drawer__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sp-cart-drawer__title-link {
  text-decoration: none;
  color: inherit;
}
.sp-cart-drawer__title-link:hover {
  color: #0091ff;
}
.sp-cart-drawer__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sp-cart-drawer__variant {
  font-size: 0.75rem;
  color: #888;
}
.sp-cart-drawer__price-col {
  flex-shrink: 0;
}
.sp-cart-drawer__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #333;
}
.sp-cart-drawer__remove-col {
  flex-shrink: 0;
}
.sp-cart-drawer__remove {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
}
.sp-cart-drawer__remove:hover {
  color: #e60000;
}
.sp-cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  gap: 0.75rem;
}
.sp-cart-drawer__empty-icon {
  width: 48px;
  height: 48px;
  color: #ccc;
}
.sp-cart-drawer__empty p {
  font-size: 0.95rem;
  color: #888;
  margin: 0;
}
.sp-cart-drawer__empty a {
  font-size: 0.85rem;
  color: #0091ff;
  text-decoration: none;
  font-weight: 600;
}
.sp-cart-drawer__empty a:hover {
  text-decoration: underline;
}


