/* ================================
   Panda Print Magnets — Premium CSS
================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(124,58,237,0.44), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(34,211,238,0.4), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(236,72,153,0.18), transparent 34%),
    linear-gradient(135deg, #020617 0%, #07111f 45%, #020617 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,6,23,0.74), transparent 32%, transparent 68%, rgba(2,6,23,0.74)),
    radial-gradient(circle at center, transparent 0%, rgba(2,6,23,0.5) 75%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ================================
   Buttons
================================ */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  box-shadow: 0 18px 40px rgba(124,58,237,0.38), 0 0 30px rgba(34,211,238,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: transform 0.65s ease;
}

.btn:hover::before { transform: translateX(120%); }

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.15);
  box-shadow: 0 24px 55px rgba(124,58,237,0.5), 0 0 44px rgba(34,211,238,0.36);
}

/* ================================
   Header
================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: linear-gradient(90deg, rgba(2,6,23,0.97), rgba(8,13,28,0.95), rgba(3,25,39,0.97));
  border-bottom: 1px solid rgba(103,232,249,0.2);
  box-shadow: 0 18px 55px rgba(0,0,0,0.5), inset 0 -1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(26px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.78), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 20px;
  color: #fff;
  font-weight: 950;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(34,211,238,0.2);
}

.main-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex: 1;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.main-nav a {
  position: relative;
  color: #f8fafc;
  font-weight: 750;
  font-size: 0.88rem;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #67e8f9;
  background: rgba(103,232,249,0.12);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 900;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  box-shadow: 0 12px 30px rgba(124,58,237,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(124,58,237,0.45);
}

/* ================================
   Hamburger
================================ */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s;
}

.hamburger:hover { background: rgba(103,232,249,0.15); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   Mobile Nav
================================ */

.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(2,6,23,0.98);
  backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 80px 28px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}

.mobile-nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-nav-links a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 24px;
  border-radius: 16px;
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 800;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(103,232,249,0.14);
  border-color: rgba(103,232,249,0.3);
  color: #67e8f9;
  transform: scale(1.02);
}

.mobile-cart {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  border: none;
  box-shadow: 0 14px 36px rgba(124,58,237,0.35);
  transition: transform 0.2s;
}

.mobile-cart:hover { transform: scale(1.02); }

body.nav-open { overflow: hidden; }

/* ================================
   Hero
================================ */

.hero, .home-hero, .page-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero::before, .home-hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2,6,23,0.88) 0%, rgba(2,6,23,0.64) 42%, rgba(2,6,23,0.34) 72%, rgba(2,6,23,0.16) 100%);
}

.hero > *, .home-hero > *, .page-hero > * { position: relative; z-index: 1; }

.hero h1, .home-hero h1, .page-hero h1 {
  text-shadow: 0 10px 40px rgba(0,0,0,0.65), 0 0 22px rgba(34,211,238,0.12);
}

/* ================================
   FOOTER — Premium 10/10
================================ */

.site-footer {
  position: relative;
  margin-top: 90px;
  background:
    linear-gradient(180deg, rgba(3,8,24,0.99) 0%, rgba(4,13,28,0.99) 100%),
    radial-gradient(circle at 15% 0%, rgba(124,58,237,0.28), transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(34,211,238,0.22), transparent 38%);
  border-top: 1px solid rgba(103,232,249,0.18);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.7), transparent);
}

/* Footer Top */

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(34,211,238,0.2), 0 0 0 1px rgba(255,255,255,0.3);
}

.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.footer-brand-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 950;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  color: rgba(203,213,225,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: rgba(248,250,252,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.social-btn:hover {
  background: rgba(103,232,249,0.15);
  border-color: rgba(103,232,249,0.35);
  color: #67e8f9;
  transform: translateY(-3px);
}

/* Footer Links Grid */

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(248,250,252,0.75);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: #67e8f9;
  transform: translateX(4px);
}

/* Footer Newsletter */

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 36px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.newsletter-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.newsletter-text strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 3px;
}

.newsletter-text span {
  color: rgba(203,213,225,0.75);
  font-size: 0.88rem;
  font-weight: 600;
}

.newsletter-form-footer {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-form-footer input {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.92rem;
  width: 220px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form-footer input::placeholder {
  color: rgba(226,232,240,0.55);
}

.newsletter-form-footer input:focus {
  border-color: rgba(34,211,238,0.5);
}

.newsletter-form-footer button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  color: #fff;
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 28px rgba(124,58,237,0.35);
}

.newsletter-form-footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(124,58,237,0.48);
}

/* Footer Bottom */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.footer-bottom span {
  color: rgba(241,245,249,0.6);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(241,245,249,0.55);
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #67e8f9; }

/* ================================
   Card Polish
================================ */

.magnet-card, .cart-card, .cart-summary,
.summary-card, .checkout-card, .empty-cart,
.info-section, .trust-item {
  box-shadow: 0 30px 80px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.magnet-card:hover, .trust-item:hover, .info-section:hover {
  transform: translateY(-4px);
  border-color: rgba(103,232,249,0.34);
}

/* ================================
   Focus
================================ */

a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(34,211,238,0.55);
  outline-offset: 3px;
}

/* ================================
   Responsive — Tablet ≤ 980px
================================ */

@media (max-width: 980px) {
  .main-nav, .cart-link { display: none; }
  .hamburger { display: flex; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 36px;
  }

  .footer-tagline { max-width: 100%; }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .newsletter-form-footer {
    width: 100%;
  }

  .newsletter-form-footer input {
    flex: 1;
    width: auto;
  }
}

/* ================================
   Responsive — Mobile ≤ 680px
================================ */

@media (max-width: 680px) {
  .header-inner {
    width: calc(100% - 26px);
    min-height: 56px;
  }

  .brand {
    font-size: 0.82rem;
    padding: 6px 9px;
    gap: 7px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .footer-top {
    width: calc(100% - 26px);
    padding: 40px 0 28px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-newsletter {
    width: calc(100% - 26px);
    padding: 22px 20px;
    gap: 16px;
  }

  .newsletter-form-footer {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form-footer input,
  .newsletter-form-footer button {
    width: 100%;
  }

  .footer-bottom {
    width: calc(100% - 26px);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 0 28px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 14px;
  }

  .site-footer { margin-top: 60px; }

  .hero::before, .home-hero::before, .page-hero::before {
    background: linear-gradient(180deg, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.72) 55%, rgba(2,6,23,0.45) 100%);
  }
}

@media (max-width: 400px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .brand span {
    display: none;
  }
}

/* ================================
   Footer animations
================================ */

.footer-brand-col,
.footer-col,
.footer-newsletter,
.footer-bottom {
  animation: fadeUp 0.6s ease both;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-newsletter       { animation-delay: 0.15s; }
.footer-bottom           { animation-delay: 0.25s; }

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

.social-btn {
  animation: fadeUp 0.5s ease both;
}

.social-btn:nth-child(1) { animation-delay: 0.3s; }
.social-btn:nth-child(2) { animation-delay: 0.4s; }
.social-btn:nth-child(3) { animation-delay: 0.5s; }

/* ================================
   Fix brand name on small screens
================================ */

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .brand {
    padding: 6px 8px;
  }
}
/* Brand name always visible on mobile */
.brand-name {
  display: inline !important;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .brand-name { font-size: 0.78rem; }
  .brand img { width: 34px !important; height: 34px !important; }
}
/* ================================
   PASTE THIS AT BOTTOM OF style.css
================================ */

/* Always show brand name on mobile */
.brand-name {
  display: inline !important;
  white-space: nowrap;
}

/* Header right side - cart + hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  background: rgba(4, 10, 24, 0.98);
  border-top: 1px solid rgba(103, 232, 249, 0.15);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #67e8f9;
}

.mobile-cart-link {
  margin-top: 8px;
  color: #67e8f9 !important;
  font-weight: 900 !important;
}

/* Show hamburger on mobile, hide desktop nav */
@media (max-width: 820px) {
  .main-nav {
    display: none !important;
  }

  .cart-link {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.78rem;
  }
  .brand img {
    width: 34px !important;
    height: 34px !important;
  }
}