/* =========================
   KASSA TECH — FINAL CSS (UPDATED)
   Replace your entire style.css with this file
   ========================= */

:root {
  --purple: #9d50bb;
  --dark-bg: #0d0e12;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f5;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: radial-gradient(circle at top right, #1a1b26, #0d0e12);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* =========================
   Background Grid
   ========================= */
.background-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: radial-gradient(circle, black, transparent);
  opacity: 0.5;
}

/* =========================
   Header / Nav
   ========================= */
header {
  background: rgba(13, 14, 18, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
}

.logo-wrapper { display: flex; align-items: center; gap: 15px; }
.brand-pfp { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--purple); }
.brand-name { font-weight: 800; letter-spacing: 2px; font-size: 1.2rem; }
.brand-name span { color: var(--purple); }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

/* =========================
   Dropdown Mega Menu
   ========================= */
.dropdown { position: relative; padding: 10px 0; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 700px;
  background: rgba(15, 16, 22, 0.98);
  border: 1px solid var(--glass-border);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-content { display: flex; gap: 40px; }
.mega-column { flex: 1; }

.column-title {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #555;
  margin-bottom: 15px;
}

.mega-list { list-style: none; }
.mega-list li { margin-bottom: 12px; }

.mega-list a {
  color: #888;
  font-weight: 400;
  font-size: 0.9rem;
}

.mega-list a:hover {
  color: var(--purple);
  padding-left: 5px;
}

/* =========================
   Buttons / Inputs
   ========================= */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(157,80,187,0.35);
  background: #8c43a9;
}

input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  margin-top: 8px;
}

select {
  color: #fff;
  appearance: none;
  cursor: pointer;
}

select option {
  background-color: #1a1b26;
  color: #f0f0f5;
}

/* =========================
   Labels / Text
   ========================= */
.pill-label {
  font-size: 0.65rem;
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-block;
  white-space: nowrap;
  width: max-content;
}

.divider { height: 2px; width: 40px; margin: 15px 0; }
.divider.purple { background: var(--purple); }
.divider.white { background: #444; }

.purple-gradient {
  background: linear-gradient(90deg, var(--purple), #d1a3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   Hero
   ========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 80px);
  padding: 140px 6% 80px 6%;
  gap: 60px;
}

.hero-content { flex: 0 0 65%; z-index: 2; }
.hero-image { flex: 0 0 35%; display: flex; justify-content: center; align-items: center; }

/* ✅ BIG HERO TYPOGRAPHY (THIS makes it bigger) */
.hero-content h1 {
  font-size: clamp(4.8rem, 10vw, 8.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.6px;
  margin: 18px 0 18px;
}

.hero-content h1 span {
  display: block;
  margin-top: -12px; /* tighter EQUIPPING / THE ELITE stack */
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #a1a1aa;
  margin-bottom: 36px;
  max-width: 560px;
}

.mascot-float {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  animation: float 6s infinite ease-in-out;
  filter: drop-shadow(0 0 30px rgba(157,80,187,0.25));
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* =========================
   Glass Cards / Grid
   ========================= */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  width: 100%;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  word-wrap: break-word;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.05);
  border-color: var(--purple);
}

/* =========================
   Shop Layout
   ========================= */
.shop-wrapper { display: flex; padding: 40px 8%; gap: 50px; }
.shop-sidebar { width: 250px; flex-shrink: 0; }

.category-list { list-style: none; margin-top: 30px; }

.cat-link {
  display: block;
  padding: 12px 0;
  color: #666;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
}

.cat-link:hover,
.cat-link.active { color: var(--purple); transform: translateX(5px); }

/* Product Images */
.product-img-placeholder {
  height: 180px;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-weight: 800;
}

.product-img-container {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glass-card:hover .product-image { transform: scale(1.08); }

.product-description {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  margin: 8px 0 15px;
  min-height: 45px;
}

/* =========================
   Product Modal
   ========================= */
.product-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}

.product-modal.active { opacity: 1; visibility: visible; }

.modal-content {
  width: 90%;
  max-width: 800px;
  padding: 40px;
  position: relative;
  border: 1px solid var(--glass-border);
}

.close-modal {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-img { width: 100%; border-radius: 15px; border: 1px solid var(--glass-border); }

.modal-info h2 { font-size: 2rem; margin: 10px 0; }
.modal-desc { color: #aaa; line-height: 1.6; margin-bottom: 20px; }
.modal-price { color: var(--purple); font-size: 1.5rem; margin-bottom: 20px; }

@media (max-width: 768px) {
  .modal-layout { grid-template-columns: 1fr; }
}

/* =========================
   Footer
   ========================= */
footer {
  padding: 40px 8%;
  background: rgba(13, 14, 18, 0.8);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  margin-top: 80px;
  text-align: center;
}

.footer-content p {
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-content p:hover { color: var(--purple); transition: var(--transition); }

/* =========================
   CART SIDEBAR (PREMIUM)
   ========================= */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: rgba(15,16,22,0.98);
  border-left: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  z-index: 2000;
  transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.cart-sidebar.open { right: 0; }

.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 1999;
  display: none;
}

.cart-overlay.show { display: block; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 6px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-header h3 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e7e7f2;
}

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.close-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(157,80,187,0.65);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px 6px;
}

.cart-items-container::-webkit-scrollbar { width: 10px; }
.cart-items-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.10);
  border-radius: 20px;
}
.cart-items-container::-webkit-scrollbar-thumb:hover {
  background: rgba(157,80,187,0.35);
}

.empty-msg {
  color: #8b8b99;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 10px 6px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Cart line layout used by shop.js */
.cart-item-img{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.cart-item-info{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-name{
  font-size: 0.92rem;
  font-weight: 900;
  color: #f4f4ff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price{
  color: #a8a8ba;
  font-weight: 800;
  font-size: 0.85rem;
}

.cart-item-lineTotal{
  color: #f4f4ff;
  font-weight: 950;
  font-size: 0.9rem;
  white-space: nowrap;
  padding-left: 6px;
}

/* Back-compat (older markup) */
.cart-item .cart-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item h5 {
  font-size: 0.95rem;
  font-weight: 900;
  color: #f4f4ff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.cart-item small {
  color: #a8a8ba;
  font-weight: 800;
}

.cart-item .cart-price {
  color: rgba(157,80,187,0.95);
  font-weight: 900;
}

.remove-item {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.remove-item:hover {
  border-color: rgba(255,90,90,0.55);
  background: rgba(255,90,90,0.14);
}

.cart-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 6px 8px;
  display: grid;
  gap: 12px;
}

.cart-link-btn {
  width: fit-content;
  background: transparent;
  border: none;
  color: #ff5a5a;
  font-weight: 950;
  letter-spacing: 1.6px;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
}

.cart-link-btn:hover { text-decoration: underline; }

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 950;
  font-size: 1.1rem;
}

.cart-subtotal-label{
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #666;
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.cart-badge {
  background: var(--purple);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  transition: transform 0.25s ease;
}

.cart-badge.bump { transform: scale(1.35); }

/* =========================
   Services Page Styling
   ========================= */
.services-page{ padding: 80px 8%; }
.services-hero{ text-align: center; max-width: 900px; margin: 0 auto 60px; }
.services-title{ font-size: clamp(2.2rem, 5vw, 3rem); margin-top: 18px; }
.services-subtitle{ color: #888; margin-top: 14px; line-height: 1.7; }
.services-grid-wrap{ max-width: 1100px; margin: 0 auto 90px; }
.services-grid{ grid-template-columns: repeat(3, 1fr); }
.services-card{ text-align: left; gap: 12px; }
.services-card h3{ margin-top: 16px; margin-bottom: 8px; }
.services-card p{ color: #888; font-size: 0.95rem; line-height: 1.7; }
.services-form-wrap{ max-width: 650px; margin: 0 auto; }
.services-form-card{ padding: 55px 60px; }
.services-form-title{ margin-bottom: 40px; text-align: center; }

.form-label{
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: #666;
  font-weight: 800;
  text-transform: uppercase;
}

#kassa-form{ display: flex; flex-direction: column; }

.input-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.input-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.input-group input,
.input-group select,
.input-group textarea{
  padding: 18px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.input-group textarea{
  min-height: 140px;
  resize: vertical;
}

.services-submit{
  width: 100%;
  margin-top: 35px;
  padding: 20px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 992px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-content { flex: 1; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .mega-menu { width: 90vw; }
  .cart-sidebar { width: 100%; right: -100%; }
  .shop-wrapper { flex-direction: column; gap: 40px; padding: 20px; }
  .shop-sidebar { width: 100%; text-align: center; }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
  }
}

@media (max-width: 768px){
  .services-page{ padding: 70px 20px; }
  .services-grid{ grid-template-columns: 1fr; }
  .input-row{ grid-template-columns: 1fr; gap: 18px; }
  .services-form-card{ padding: 35px 25px; }

  /* Mobile hero sizing protection */
  .hero-content h1 {
    font-size: clamp(3.0rem, 10vw, 4.4rem);
    line-height: 1.02;
  }
  .hero-content h1 span { margin-top: -6px; }
}

@media (max-width: 600px) {
  nav, .hero, .shop-wrapper { padding-left: 20px; padding-right: 20px; }
  .glass-grid { grid-template-columns: 1fr; gap: 15px; }
  .product-img-container, .product-img-placeholder { height: 200px; }
}

@media (max-width: 480px) {
  .pill-label { padding: 4px 10px; font-size: 0.6rem; }
  .glass-card h2, .glass-card h3 { font-size: 1.25rem; line-height: 1.2; }
}
/* =========================
   Cart Qty Controls
   ========================= */
.cart-qty-row,
.qty-controls{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 8px;
}

.qty-btn{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color:#fff;
  font-weight: 900;
  font-size: 1rem;
  cursor:pointer;
  transition: var(--transition);
}

.qty-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(157,80,187,0.65);
}

.qty-input{
  width: 64px;
  padding: 10px 10px;
  border-radius: 12px;
  text-align: center;
  margin-top: 0;
}

/* =========================
   Checkout Page Styling
   ========================= */
.checkout-items{
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.checkout-sub{
  color:#a8a8ba;
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.85rem;
}

.checkout-total{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-weight: 950;
  font-size: 1.2rem;
}

.checkout-form{
  margin-top: 18px;
}

/* ================= CONTACT PAGE ================= */

.contact-hero {
  padding: 120px 20px 40px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-hero-inner {
  max-width: 860px;
}

.contact-hero h1 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  margin: 0 0 14px;
  background: linear-gradient(90deg, #ffffff, #b983ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero p {
  font-size: 18px;
  opacity: 0.75;
  line-height: 1.65;
  margin: 0;
}

.contact-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 120px;
}

/* Tighten the contact card spacing on large screens */
.contact-card {
  padding: 40px;
  border-radius: 20px;
}

/* Better spacing on small screens */
@media (max-width: 640px) {
  .contact-hero { padding: 96px 16px 28px; }
  .contact-hero p { font-size: 16px; }
  .contact-section { padding: 0 16px 90px; }
  .contact-card { padding: 26px; }
}
/***************************************
  UNIFORM SHOP GRID + PRODUCT CARDS
  Paste at bottom of style.css
****************************************/

/* Ensure the grid is actually a grid */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch; /* makes rows line up clean */
}

/* Force each card to be same layout */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Uniform image frame */
.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;         /* change to 1/1 if you want square */
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* change to contain if you never want crop */
  display: block;
}

/* Card content area */
.product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Clamp title */
.product-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Clamp description */
.product-content p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottom row always aligned */
.bottom-row {
  margin-top: auto; /* pushes this row to bottom so buttons line up */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Make sure your Add button doesn't shrink weirdly */
.add-btn {
  flex: 0 0 auto;
  min-width: 70px;
}
/***************************************
  UNIFORM PRODUCT GRID (KASSA SHOP)
  Paste at bottom of style.css
****************************************/

/* Force the product grid to be consistent */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Make each card a consistent flex column */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Create a uniform image frame (so images can't stretch cards) */
.product-media {
  width: 100%;
  aspect-ratio: 4 / 3;        /* change to 1 / 1 if you want square */
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
}

/* Ensure the image always fills the frame */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* switch to contain if you want zero cropping */
  display: block;
}

/* Make info area take remaining height so bottom row aligns */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Clamp title to 2 lines */
.product-title {
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Clamp description to 2 lines */
.product-desc {
  margin: 0 0 10px;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Push price+button row to bottom for uniform alignment */
.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Slightly stabilize price width so buttons line up nicely */
.product-price {
  font-weight: 800;
  white-space: nowrap;
}
.contact-direct {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: center;
}

.contact-direct-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.7;
}

.contact-direct-item a {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #c084fc;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-direct-item a:hover {
  opacity: 0.8;
}

.contact-hours {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.6;
}
.contact-direct-item a {
  font-size: 20px;
  font-weight: 800;
  color: #c084fc;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-direct-item a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}


/* =========================
   PRO PRODUCT MODAL (Overrides)
   ========================= */

.product-modal{
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(14px);
}

.modal-content{
  border-radius: 28px;
  padding: 34px;
  background: rgba(12, 12, 16, 0.82);
  box-shadow: 0 28px 90px rgba(0,0,0,0.65);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.product-modal.active .modal-content{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.close-modal{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.close-modal:hover{
  transform: translateY(-2px);
  border-color: rgba(157,80,187,0.55);
  background: rgba(157,80,187,0.16);
}

.close-modal:focus-visible{
  outline: 2px solid rgba(157,80,187,0.85);
  outline-offset: 3px;
}

.pro-modal{
  gap: 34px;
}

.modal-imgwrap{
  border-radius: 20px;
  padding: 10px;
  background: radial-gradient(circle at top right, rgba(157,80,187,0.35), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
}

.modal-img{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.product-modal.active .modal-img{
  transform: scale(1);
}

.modal-badges{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
}

.modal-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(157,80,187,0.65);
  color: rgba(220,200,255,0.95);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: rgba(157,80,187,0.12);
}

.modal-cat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
}

.modal-title{
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.5px;
  margin: 14px 0 10px;
}

.modal-desc{
  margin-bottom: 18px;
  color: rgba(255,255,255,0.74);
  font-size: 0.98rem;
  line-height: 1.7;
}

.modal-price-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin: 6px 0 18px;
}

.modal-price{
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -0.5px;
  color: rgba(157,80,187,0.95);
}

.modal-actions{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.modal-add{
  width: fit-content;
  min-width: 220px;
  border-radius: 14px;
}

.modal-hint{
  color: rgba(255,255,255,0.45);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}

.modal-hint kbd{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom-color: rgba(255,255,255,0.18);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 950;
}

@media (max-width: 768px){
  .modal-content{ padding: 26px; }
  .modal-add{ width: 100%; min-width: 0; }
}
.modal-cat { display: none !important; }


/* =========================
   Mobile Pro Navigation
   ========================= */
html, body { width: 100%; overflow-x: hidden; }

.site-nav { position: relative; }
.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.cart-btn:hover{ transform: translateY(-1px); border-color: rgba(157,80,187,0.5); }
.cart-badge{
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0 6px;
}
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}
.nav-toggle:hover{ transform: translateY(-1px); border-color: rgba(157,80,187,0.5); }

.nav-menu{ display: block; }
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 4000;
}
body.nav-open .nav-overlay{
  opacity:1;
  pointer-events:auto;
}


/* Mega menu safety: never overflow viewport */
.mega-menu{
  width: min(700px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
}

/* Mobile-only helpers */
.mobile-only{ display: none; }
.desktop-only{ display: block; }

@media (max-width: 992px){
  nav{ padding: 12px 5%; }
  .nav-links{ gap: 18px; }
}

@media (max-width: 820px){
  /* Turn top nav into: logo left, cart + hamburger right */
  nav{ gap: 12px; }
  .nav-toggle{ display: inline-flex; align-items: center; justify-content: center; }

  /* Drawer */
  .nav-menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, 86vw);
    background: rgba(13,14,18,0.98);
    border-left: 1px solid var(--glass-border);
    padding: 90px 20px 22px;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.55);
  }
  body.nav-open .nav-menu{ transform: translateX(0); }
  body.nav-open{ overflow: hidden; }

  .nav-links{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }
  .nav-links li{ width: 100%; }
  .nav-links a{
    display: block;
    font-size: 0.95rem;
    color: #e9e9f2;
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a:hover{ background: rgba(157,80,187,0.12); border-color: rgba(157,80,187,0.35); }
  .nav-links a.active{
    background: rgba(170,120,255,.18);
    border: 1px solid rgba(170,120,255,.4);
  }


  /* Hide desktop mega menu on touch/mobile */
  .desktop-only .mega-menu{ display: none !important; }
  .desktop-only{ display: none; }
  .mobile-only{ display: block; }

  /* Mobile accordion */
  .mobile-accordion{
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
  }
  .mobile-accordion summary{
    list-style: none;
    cursor: pointer;
    padding: 12px 12px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    user-select: none;
  }
  .mobile-accordion summary::-webkit-details-marker{ display:none; }
  .mobile-submenu{
    display: flex;
    flex-direction: column;
    padding: 0 10px 10px;
    gap: 8px;
  }
  .mobile-submenu a{
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #e9e9f2;
    font-weight: 800;
    font-size: 0.9rem;
  }

  /* Hero polish on mobile */
  .hero{
    flex-direction: column;
    text-align: center;
    gap: 26px;
    padding-top: 40px;
  }
  .hero-content h1{ font-size: clamp(2.1rem, 7vw, 3rem); }
  .hero-content p{ max-width: 42ch; margin: 0 auto; }
  .hero-image{ width: 100%; display: flex; justify-content: center; }
  .hero-image img{ width: min(360px, 78vw); height: auto; }
}

/* Extra-small phones */
@media (max-width: 420px){
  .brand-name{ font-size: 1rem; }
  .brand-name span{ display: none; }
  .cart-btn{ padding: 10px 12px; font-size: 0.8rem; }
}
/* ===============================
   🔥 KASSA MOBILE HOMEPAGE FIX
   =============================== */

@media (max-width: 768px){

  /* Fix hero spacing */
  .hero{
    padding: 60px 20px 30px !important;
    min-height: auto !important;
    gap: 25px !important;
  }

  /* tighten text block */
  .hero-content{
    margin-top: 0 !important;
  }

  /* scale headline nicer */
  .hero-content h1{
    font-size: clamp(2.2rem, 7vw, 3.2rem) !important;
    margin: 14px 0 !important;
  }

  /* shrink description spacing */
  .hero-content p{
    margin-bottom: 22px !important;
  }

  /* fix mascot spacing */
  .hero-image{
    margin-top: 10px !important;
  }

  .hero-image img,
  .mascot-float{
    width: min(360px, 80vw) !important;
  }
