:root {
  --primary-pink: #ff33b7; /* Neon pink for accents/glows */
  --bg-pink: #fbe6f6; /* The awesome soft pink background */
  --light-pink: #ffcae8;
  --primary-blue: #add8e6;
  --text-dark: #2c2c2c;
  --header-bg: #1a1a1a; /* Dark background to make the neon logo POP */
  --card-bg: #ffffff;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--bg-pink);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- Header & Navigation --- */
header {
  background-color: var(--header-bg);
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid var(--primary-pink);
  box-shadow: 0 4px 15px rgba(255, 51, 183, 0.3); /* Neon glow */
  border-radius: 0 0 30px 30px;
}

.logo-img {
  max-width: 220px; /* Adjust based on your image size */
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(255, 51, 183, 0.6)); /* Extra neon glow */
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--primary-pink);
  color: white;
  box-shadow: 0 0 10px var(--primary-pink);
}

/* --- Welcome Banner --- */
.plushie-welcome {
  background: white;
  margin: 30px auto;
  padding: 20px 30px;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 3px dashed var(--primary-pink);
  width: 90%;
}

.plushie-welcome h2 {
  color: var(--primary-pink);
  margin-top: 0;
}

/* --- Filter Bar --- */
.filter-bar { 
  background: white; 
  padding: 20px; 
  border-radius: 20px; 
  margin-bottom: 30px; 
  display: flex; 
  gap: 15px; 
  align-items: center; 
  border: 2px dashed var(--primary-pink); 
  flex-wrap: wrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-bar select { 
  padding: 12px; 
  border-radius: 12px; 
  border: 2px solid var(--light-pink); 
  font-family: 'Quicksand', sans-serif; 
  outline: none; 
  flex: 1; 
  min-width: 140px;
  background: var(--bg-pink);
  font-weight: 600;
}

.btn-filter { 
  background: var(--primary-pink); 
  color: white; 
  border: none; 
  padding: 12px 25px; 
  border-radius: 12px; 
  font-weight: bold; 
  cursor: pointer; 
  transition: 0.3s; 
}
.btn-filter:hover { 
  transform: scale(1.05); 
  box-shadow: 0 0 15px rgba(255, 51, 183, 0.5);
}

.btn-clear { 
  color: var(--primary-pink); 
  text-decoration: none; 
  font-weight: bold; 
  font-size: 0.9rem; 
  margin-left: auto; 
}

/* --- Product Grid & Cards --- */
.product-grid { 
  display: grid; 
  /* Mobile first: smaller columns for phones */
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
  gap: 20px; 
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
  }
}

.product-card { 
  background: var(--card-bg); 
  border-radius: 20px; 
  padding: 15px; 
  text-align: center; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.06); 
  transition: all 0.3s ease; 
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 25px rgba(255, 51, 183, 0.2); 
  border-color: var(--primary-pink);
}

.product-img { 
  width: 100%; 
  height: 240px; 
  object-fit: cover; 
  border-radius: 15px; 
  margin-bottom: 15px; 
  transition: 0.3s;
}

.product-card:hover .product-img {
  transform: scale(1.03);
}

.product-title { 
  font-size: 1.2rem; 
  margin: 10px 0 5px 0; 
  color: var(--text-dark); 
  flex-grow: 1; /* Pushes the price and button to the bottom */
}

/* Tags */
.tag-container { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 5px; 
  justify-content: center; 
  margin-bottom: 10px; 
}
.tag { 
  padding: 4px 10px; 
  border-radius: 20px; 
  font-size: 0.7rem; 
  font-weight: bold; 
  text-transform: uppercase; 
  letter-spacing: 0.5px;
}
.tag-cat { background: var(--primary-blue); color: #004085; }
.tag-color { background: var(--light-pink); color: #850040; }

/* Buttons & Badges */
.btn {
  background-color: var(--primary-pink);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s;
  width: 100%;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 51, 183, 0.4);
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-pink);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(255, 51, 183, 0.4);
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.9rem;
  margin-right: 8px;
}

/* Pagination Styles */
.pagination { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap;
  gap: 10px; 
  margin-top: 40px; 
  padding-bottom: 40px;
}
.page-btn { 
  padding: 10px 18px; 
  background: white; 
  border: 2px solid var(--primary-pink); 
  border-radius: 12px; 
  text-decoration: none; 
  color: var(--primary-pink); 
  font-weight: bold; 
  transition: 0.2s;
}
.page-btn:hover { 
  background: var(--bg-pink); 
  transform: translateY(-2px);
}
.page-btn.active { 
  background: var(--primary-pink); 
  color: white; 
  box-shadow: 0 4px 10px rgba(255, 51, 183, 0.3);
}

/* ✨ CART TOAST NOTIFICATION ✨ */
#cart-toast {
    visibility: hidden;
    min-width: 280px;
    background-color: var(--primary-pink, #ff33b7);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 16px 20px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 8px 25px rgba(255, 51, 183, 0.4);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border: 2px solid white;
}

#cart-toast a {
    color: var(--primary-pink);
    background: white;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

#cart-toast a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Animation to slide up and fade away */
#cart-toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 3.5s forwards;
}

@keyframes fadein {
    from { bottom: 0; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
    from { bottom: 30px; opacity: 1; }
    to { bottom: 0; opacity: 0; visibility: hidden; }
}

/* ✨ TOAST NOTIFICATION STYLE ✨ */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.toast {
    background: #2d6a4f;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    font-weight: 600;
    animation: slideIn 0.3s ease-out;
}


@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================
   🇺🇸 ADA ACCESSIBILITY COMPLIANCE PATCH 🇺🇸
   ========================================== */

/* 1. Smart Keyboard Focus (Only shows when tabbing, hides on mouse click) */
:focus-visible {
    outline: 4px solid var(--primary-pink) !important;
    outline-offset: 4px !important;
    border-radius: 8px;
    transition: outline-offset 0.2s ease;
}

/* 2. "Skip to Main Content" Link (Hidden until tabbed) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-pink);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 51, 183, 0.4);
}

.skip-link:focus-visible {
    top: 20px; /* Drops down from the ceiling when tabbed! */
}