/* ======================================
   1) CUSTOM FONT + RESET
====================================== */
@font-face {
  font-family: 'Electrical';
  src: url('fonts/electrical.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #eee;
  line-height: 1.6;
  padding-top: 100px; /* fixed header offset */
	
}

h1, h2, h3, .logo { font-family: 'Electrical', sans-serif; }

/* ======================================
   2) HEADER / NAV
====================================== */
.site-header {
  position: fixed; inset: 0 auto auto 0; width: 100%;
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem; background: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
}

.logo { font-size: 1.5rem; font-weight: 700; color: #0ff; }

.header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.nav-container { flex: 1 1 auto; text-align: center; }
.social-icons { flex: 0 0 auto; display: flex; gap: 1rem; }
.social-icons a { color: #393838; font-size: 1.25rem; transition:.3s; }
.social-icons a:hover { color:#0ff; transform: scale(1.2); }

.nav-toggle {
  background: none; border: none; font-size: 1.5rem; color: #eee; cursor: pointer; display: block;
}
.nav-list { list-style: none; display: none; }
.nav-item { position: relative; margin: 0 1rem; transition: background-color .3s; }
.nav-item a {
  color: #eee; font-weight: 700; text-decoration: none; padding: .5rem 1rem; display: block;
  text-transform: uppercase; position: relative; z-index: 3;
}
.nav-item:hover { background:#000; border-radius: 6px; }
.nav-item:hover a { color:#0ff; }

/* lightning underline on nav hover */
.bolt-hover {
  content: ''; position: absolute; top: 50%; left:0; width:100%; height:16px;
  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  transform: translateY(-50%); pointer-events:none; opacity:0; z-index:5;
  filter: drop-shadow(0 0 8px #0ff) brightness(1.8);
}
.nav-item:hover .bolt-hover { opacity:1; }

@media (max-width: 767.98px) {
  .site-header { position: fixed; z-index: 1000; background:#000; }
  .nav-list {
    position: absolute; top:100%; left:0; right:0; background:#000; overflow: hidden;
    max-height: 0; transition: max-height .4s ease-in-out; border-top:1px solid #222; display:block; z-index: 9999;
  }
  .nav-list.open { max-height: 500px; padding:.5rem 0; }
  .nav-item a { padding: 1rem; border-top:1px solid #111; }
}

@media (min-width: 768px) {
  .nav-toggle { display:none; }
  .nav-container { flex:1; display:flex; justify-content:center; }
  .nav-list { display:flex; gap: 1rem; }
}

/* ======================================
   3) HERO CAROUSEL
====================================== */
.hero-carousel { position: relative; width: 100%; height: 100vh; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.hero-carousel .carousel { position: relative; width:100%; height:100%; }

.hero-carousel .carousel-slide {
  position:absolute; inset:0;
  background-size: cover; background-position: center; background-repeat:no-repeat;
  opacity:0; transition: opacity 1s ease-in-out;
  display:flex; align-items:center; justify-content:center;
}
.hero-carousel .carousel-slide.active { opacity:1; z-index:1; }
/* Fallback: show first slide even if JS doesn’t run */
.hero-carousel .carousel-slide:first-child { opacity: 1; }

.hero-carousel .carousel-slide img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:0;
}

.hero-carousel .carousel-caption {
  color:#0ff; text-align:center; padding:2rem; background:rgba(0,0,0,.5); border-radius:8px; position:relative; z-index:1;
}

.hero-carousel .carousel-control {
  position:absolute; top:50%; transform: translateY(-50%);
  font-size:3rem; color:#0ff; background: rgba(0,0,0,.4);
  border:0; padding:.5rem 1rem; cursor:pointer; z-index:2; transition: background .3s;
}
.hero-carousel .carousel-control:hover { background: rgba(0,0,0,.7); }
.hero-carousel .carousel-control.prev { left: 10px; }
.hero-carousel .carousel-control.next { right: 10px; }

.hero-carousel .carousel-container {
  display:flex; gap:1rem; overflow-x:hidden; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:1rem 0;
}

/* ======================================
   4) CATEGORY GRID + LIGHTNING STRIKE
====================================== */
.categories { display:flex; flex-direction:column; gap:1rem; padding:2rem; }
.category-row { display:flex; flex-wrap:wrap; gap:1rem; }
.category.square { flex:1; aspect-ratio: 4 / 3; min-width:100px; }
.category.half   { flex:1; aspect-ratio: 3 / 2; min-width:100px; }
.bottom-row .category.half { aspect-ratio: unset; height:160px; }

.category {
  position: relative; overflow: hidden; background-size: cover; background-position: center;
  color:#fff; text-align:center; font-weight: 700; border-radius:6px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition: transform .3s;
}
.category:hover { transform: scale(1.03); }

.category-label {
  position:absolute; bottom:0; width:100%; padding:1rem; background:rgba(0,0,0,.6);
  text-transform: uppercase; font-size:1.2rem; letter-spacing:1px; z-index:2; overflow:hidden;
}
.category:hover .category-label { background: rgba(0,255,255,.8); color:#000; }

/* Strike overlay graphic — standardized path */
.category::after{
  content:""; position:absolute; inset:-25% -10%;
  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  opacity:0; transform: translateY(-55%) rotate(-7deg) scale(1);
  pointer-events:none; filter: drop-shadow(0 0 14px rgba(0,255,255,.9));
  will-change: transform, opacity, filter; z-index:3;
}
.category:hover::after { animation: bolt-strike-down .9s ease-out forwards; }

@keyframes bolt-strike-down {
  0%   { opacity:0; transform: translateY(-60%) rotate(-7deg) scale(.98); filter: drop-shadow(0 0 0 rgba(0,255,255,0)); }
  12%  { opacity:.9; filter: drop-shadow(0 0 16px rgba(0,255,255,1)); }
  45%  { opacity:.95; transform: translateY(0%) rotate(-7deg) scale(1.02); filter: drop-shadow(0 0 26px rgba(0,255,255,1)); }
  100% { opacity:0; transform: translateY(60%) rotate(-7deg) scale(1.04); filter: drop-shadow(0 0 0 rgba(0,255,255,0)); }
}

@media (max-width: 768px) {
  .categories { padding: 1rem; }
  .category-row { flex-direction: column; gap: 1rem; }
  .category, .category.square, .category.half { flex: 1 1 100%; width:100%; aspect-ratio:16/9; min-width:0; }
  .bottom-row .category.half { height:auto; aspect-ratio:16/9; }
}

/* ======================================
   5) PRODUCT CAROUSEL (restored lightning overlay)
====================================== */
.product-carousel { margin: 3rem 0; padding: 2rem 1rem; background:#000; color:#fff; overflow:hidden; }
.product-carousel h2 { font-size:2rem; margin-bottom:1rem; text-align:center; color:#0ff; }

.carousel-wrapper { position: relative; display:flex; align-items:center; gap:1rem; overflow:hidden; }

/* viewport that scrolls horizontally */
.product-carousel .carousel-container{
  display:block;
  overflow-x:auto; overflow-y:hidden;   /* block vertical scroll on mobile */
  scroll-behavior:smooth; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.product-carousel .carousel-container::-webkit-scrollbar{ display:none; }

/* one horizontal row */
.product-carousel .carousel-track{ display:flex; flex-wrap: nowrap; gap:1rem; padding: 0; }

/* items + restored overlay look */
.product-carousel .carousel-item{
  position: relative;               /* anchor overlay */
  flex: 0 0 calc(20% - 1rem);       /* 5-up desktop */
  background:#222; border-radius:8px; overflow:hidden;
  scroll-snap-align: start; transition: transform .3s;
}
.product-carousel .carousel-item:hover{ transform: scale(1.05); }
.product-carousel .carousel-item img{ width:100%; height:auto; display:block; }

.product-carousel .product-info{
  position:absolute; inset:0; z-index:5; background: rgba(0,0,0,.75);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  opacity:0; transition: opacity .4s ease; padding:1rem; pointer-events: none; /* don’t steal arrow clicks */
}
.product-carousel .carousel-item:hover .product-info{ opacity:1; }

.product-info h3 { margin: 0 0 .5rem; font-size:1.1rem; font-weight:700; color:#0ff; }
.product-info p  { margin: 0 0 .5rem; font-size:.9rem; color:#ccc; }
.product-info .price{ font-weight:700; color:#0ff; font-size:1.2rem; }

/* lightning underlay behind overlay */
.product-carousel .product-info::before{
  content:""; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  opacity:0; transform: rotate(-10deg);
  filter: drop-shadow(0 0 20px #0ff); animation: boltFlash 1.2s linear infinite;
  pointer-events:none; z-index:-1;
}
.product-carousel .carousel-item:hover .product-info::before{ opacity:.6; }

@keyframes boltFlash{
  0%, 100% { opacity:.2; filter: drop-shadow(0 0 8px rgba(0,255,255,.6)); }
  50%      { opacity:.9; filter: drop-shadow(0 0 20px rgba(0,255,255,1)); }
}

/* controls — scoped & always clickable */
.product-carousel .carousel-control{
  position:absolute; top:50%; transform: translateY(-50%);
  font-size:2.5rem; color:#0ff; background: rgba(0,0,0,.4);
  border:0; padding:.5rem 1rem; cursor:pointer; z-index:99; transition: background .3s;
}
.product-carousel .carousel-control:hover { background: rgba(0,0,0,.7); }
.product-carousel .carousel-control.prev{ left:10px; }
.product-carousel .carousel-control.next{ right:10px; }

/* responsive item widths */
@media (max-width: 1024px){ .product-carousel .carousel-item{ flex-basis: calc(33.33% - 1rem); } }
@media (max-width: 768px) { .product-carousel .carousel-item{ flex-basis: calc(50% - 1rem); } }
@media (max-width: 480px){ .product-carousel .carousel-item{ flex-basis: 100%; } }

.product-carousel .carousel-container {
  touch-action: pan-x;           /* tell the browser this region pans horizontally */
  overscroll-behavior-x: contain;/* prevent rubber-banding stealing gestures */
  -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
}

/* Smooth, intentional horizontal pan (prevents vertical jitter on touch) */
.product-carousel .carousel-container {
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

/* we’ll temporarily toggle this via JS during animations */
.product-carousel .carousel-container {
  scroll-snap-type: x mandatory;
}

/* buttons stay above overlays */
.product-carousel .carousel-control { z-index: 99; pointer-events: auto; }

/* belt & suspenders: one row only */
.product-carousel .carousel-track { flex-wrap: nowrap; }


/* ======================================
   6) INSTAGRAM FEED (grid + skeleton)
====================================== */
.instagram-feed { background:#000; padding: 2rem 1rem; text-align:center; }
.instagram-feed h2 { color:#0ff; margin-bottom:1rem; font-size:2rem; }

.instagram-grid { display:grid; grid-template-columns: repeat(6, 1fr); gap:10px; }
@media (max-width:1200px){ .instagram-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width:768px) { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:520px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }

.insta-item { position:relative; overflow:hidden; border-radius:8px; aspect-ratio:1/1; }
.insta-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .25s; }
.insta-item:hover img { transform: scale(1.03); }
.insta-item.skeleton{
  background: linear-gradient(90deg,#141414 25%,#1f1f1f 37%,#141414 63%);
  background-size: 400% 100%; animation: ig-shimmer 1.2s linear infinite;
}
@keyframes ig-shimmer{ 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* ======================================
   7) BLOG
====================================== */
.blog-section { padding:2rem; background:#111; }
.blog-section h2 { color:#0ff; text-align:center; margin-bottom:1.5rem; font-size:2rem; }
.blog-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap:1.5rem; }
.blog-post{ background:#222; border-radius:8px; overflow:hidden; transition:.3s; color:#eee; }
.blog-post:hover{ transform: scale(1.02); }
.blog-post img{ width:100%; display:block; }
.blog-post h3{ margin:1rem; font-size:1.25rem; }
.post-meta{ margin:0 1rem .5rem; font-size:.85rem; color:#aaa; }
.excerpt{ margin:0 1rem 1rem; font-size:1rem; }
.read-more{ display:inline-block; margin:0 1rem 1rem; color:#0ff; text-decoration:none; font-weight:700; transition:.3s; }
.read-more:hover{ color:#fff; }

/* ======================================
   8) FOOTER
====================================== */
.site-footer { background:#000; color:#ccc; padding:2rem 1rem; font-size:.9rem; }
.footer-top{ display:flex; flex-wrap:wrap; gap:2rem; justify-content:space-between; max-width:1200px; margin:0 auto 2rem; }
.footer-column{ flex: 1 1 200px; }
.footer-column h4{ color:#0ff; margin-bottom:.75rem; font-size:1.1rem; }
.footer-column ul{ list-style:none; }
.footer-column li{ margin-bottom:.5rem; }
.footer-column a{ color:#ccc; text-decoration:none; }
.footer-column a:hover{ color:#fff; }

.newsletter-form{ display:flex; flex-direction:column; gap:.5rem; margin-top:.5rem; }
.newsletter-form input{ padding:.5rem; border-radius:4px; border:0; outline:0; }
.newsletter-form button{ background:#0ff; color:#000; border:0; padding:.5rem; border-radius:4px; cursor:pointer; font-weight:700; }
.newsletter-form button:hover{ background:#00cccc; }

.footer-social{ display:flex; gap:.75rem; margin-top:1rem; }
.footer-social a{ font-size:1.25rem; color:#ccc; transition:.3s; }
.footer-social a:hover{ color:#0ff; transform: scale(1.2); }

.footer-bottom{ text-align:center; border-top:1px solid #333; padding-top:1rem; }
.footer-bottom p{ margin:.5rem 0; }

/* ======================================
   9) PRODUCT LIST/DETAIL + CART (shared)
====================================== */
.product-grid{ padding:2rem; background:#000; }
.section-heading{ color:#0ff; text-align:center; font-size:2rem; margin-bottom:1rem; }
.grid-container{ display:grid; grid-template-columns: repeat(5, 1fr); gap:1rem; }
@media (max-width:1024px){ .grid-container{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width:768px) { .grid-container{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:480px) { .grid-container{ grid-template-columns: 1fr; } }

.product-card{ position:relative; overflow:hidden; border-radius:8px; background:#111; cursor:pointer; transition:.3s; }
.product-card:hover{ transform: scale(1.03); }
.product-card img{ width:100%; display:block; transition:.3s; }
.product-overlay{
  position:absolute; bottom:0; width:100%; padding:.75rem; background:rgba(0,0,0,.75); color:#0ff; text-align:left; z-index:2;
}
.product-overlay::before{
  content:""; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background: url('../images/bolt-animated.svg') center/contain no-repeat; opacity:0; z-index:-1;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 20px #0ff);
}
.product-card:hover .product-overlay::before{ opacity:.6; }

.product-detail{ display:grid; grid-template-columns: 1.1fr .9fr; gap:2rem; }
.gallery .main-image{ background:none; border-radius:10px; overflow:hidden; }
.gallery .main-image img{ width:100%; display:block; }

.product-detail .main-image img {
  max-width: 500px;
  width: 100%;
  margin: auto;
  display: block;
}

.product-detail .gallery {
  flex: 1 1 500px;
  text-align: center;
}

.product-detail .details {
  flex: 1 1 400px;
  max-width: 500px;
}

.product-detail .thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 500px;
}

.product-detail .thumbs img {
  width: 60px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.product-detail .thumbs img.active {
  border-color: #00bcd4; /* Highlight selected thumbnail */
}

.product-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 768px) {
  .product-detail .main-image img {
    max-width: 80vw;
  }
}


.gallery .thumbs{ display:flex; gap:.5rem; margin-top:.75rem; }
.gallery .thumb{ width:72px; height:72px; object-fit:cover; border-radius:8px; opacity:.7; cursor:pointer; transition:.2s; }
.gallery .thumb:hover, .gallery .thumb.active{ transform:scale(1.03); opacity:1; box-shadow:0 0 0 2px #0ff inset; }

.details .pd-title{ font-family:'Electrical',sans-serif; font-size:2rem; margin:0 0 .25rem; color:#0ff; }
.details .pd-price{ font-size:1.5rem; margin:0 0 1rem; color:#eee; }
.details .pd-desc{ color:#bbb; margin-bottom:1rem; }

.option-group{ margin:1rem 0; }
.option-label{ display:block; margin-bottom:.4rem; color:#0ff; font-weight:700; }
#pd-size, #pd-qty, #pd-color{
  width:100%; padding:.6rem .7rem; border-radius:8px; border:1px solid #222; background:#0a0a0a; color:#eee;
}
.qty-group{ max-width:200px; }

.swatches{ display:flex; gap:.5rem; }
.swatch{ width:28px; height:28px; border-radius:999px; border:2px solid #222; background:var(--swatch,#333); cursor:pointer; transition:.15s; position:relative; }
.swatch.selected, .swatch:hover{ transform:scale(1.05); box-shadow:0 0 8px rgba(0,255,255,.6); }

.cta-row{ display:flex; align-items:center; gap:1rem; margin-top:1rem; }
.btn-bolt{
  position:relative; display:inline-block; padding:.8rem 1.2rem; background:#0ff; color:#000;
  border:0; border-radius:10px; font-weight:800; cursor:pointer; transition: transform .15s; overflow:hidden;
}
.btn-bolt:hover{ transform: translateY(-1px); }
.btn-bolt::before{
  content:""; position:absolute; inset:-80% -40%;
  background:url('../images/bolt-animated.svg') center/contain no-repeat;
  opacity:0; filter: drop-shadow(0 0 12px #0ff); transform: rotate(-10deg) scale(.9); transition:opacity .2s;
}
.btn-bolt:hover::before{ opacity:.8; }

.link-view-cart{ color:#0ff; text-decoration:none; font-weight:700; }
.cart-link{ position:relative; display:inline-flex; align-items:center; gap:.25rem; padding-left:.5rem; }
.cart-count{ display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; border-radius:999px; font-size:12px; font-weight:700; background:#0ff; color:#000; margin-left:4px; }

.toast-bolt{ position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px); background:rgba(0,0,0,.85); color:#0ff; padding:.65rem 1rem; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.5); opacity:0; transition:.25s; z-index:9999; }
.toast-bolt.show{ transform:translateX(-50%) translateY(0); opacity:1; }

.cart h1{ color:#0ff; margin-bottom:1rem; }
.cart-list{ display:flex; flex-direction:column; gap:1rem; }
.cart-row{ display:grid; grid-template-columns:96px 1fr auto auto; gap:1rem; align-items:center; background:#111; border-radius:10px; padding:.75rem; }
.cart-img{ width:96px; height:96px; object-fit:cover; border-radius:8px; }
.cart-info .cart-title{ font-weight:800; }
.cart-info .cart-opts{ color:#aaa; font-size:.9rem; margin-top:.15rem; }
.cart-price{ font-weight:700; color:#0ff; }
.cart-qty-input{ width:64px; padding:.4rem .5rem; background:#0a0a0a; border:1px solid #222; border-radius:8px; color:#eee; }
.cart-remove{ background:transparent; border:0; color:#eee; font-size:1.25rem; cursor:pointer; }
.cart-summary{ margin-top:1rem; display:flex; align-items:center; justify-content:space-between; }
.btn-secondary{ background:#1a1a1a; color:#eee; padding:.7rem 1rem; border-radius:10px; text-decoration:none; border:1px solid #222; }

@media (max-width: 900px){
  .product-detail{ grid-template-columns: 1fr; }
  .cart-row { grid-template-columns:72px 1fr auto; gap:.75rem; }
  .cart-qty { grid-column:3; }
}

/* ======================================
   10) MODALS
====================================== */
.modal{
  display:none; position:fixed; inset:0; z-index:2000;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  justify-content:center; align-items:center;
}
.modal[aria-hidden="false"]{ display:flex; }

.modal-content{
  background:#111; color:#eee; padding:2rem; border-radius:12px; width:90%; max-width:520px; text-align:center; position:relative;
  border:2px solid #0ff; box-shadow: 0 0 20px rgba(0,255,255,.6), 0 0 40px rgba(0,255,255,.4);
  max-height:85vh; overflow-y:auto;
}
.modal-close{ position:absolute; top:12px; right:14px; font-size:24px; color:#fff; background:none; border:0; cursor:pointer; }
.modal-logo{ max-width:120px; margin-bottom:1rem; }

/* lists with glowing lightning bullets */
.modal-content ul{ list-style:none; margin:.5rem 0; padding:0; }
.modal-content li{ position:relative; margin:.4rem 0 .4rem 1.75rem; line-height:1.55; }
.modal-content li::before{
  content:"⚡"; position:absolute; left:-1.75rem; top:.05rem; color:#0ff;
  text-shadow: 0 0 6px rgba(0,255,255,.85), 0 0 14px rgba(0,255,255,.55), 0 0 24px rgba(0,255,255,.35);
}

/* custom scrollbar for modal */
.modal-content::-webkit-scrollbar{ width:8px; }
.modal-content::-webkit-scrollbar-thumb{ background:#0ff; border-radius:4px; }
.modal-content::-webkit-scrollbar-track{ background:rgba(255,255,255,.05); }

@media (max-width:600px){
  .modal-content { width:95%; max-height:90vh; padding:1.25rem; }
  .btn-bolt{ width:100%; }
}

/* === Always-on lightning for product tiles; pause on hover === */

/* idle flicker */
.product-carousel .product-info::before{
  opacity: .45;                               /* visible by default */
  animation: boltIdle 1.6s ease-in-out infinite;
}

/* when user hovers: stop the lightning */
.product-carousel .carousel-item:hover .product-info::before{
  animation: none !important;
  opacity: 0;                                  /* or .15 if you want a faint glow */
}

/* keep your overlay fade-in on hover as-is */
.product-carousel .carousel-item:hover .product-info{
  opacity: 1;
}

/* subtle idle flicker keyframes */
@keyframes boltIdle {
  0%   { opacity:.18; transform: rotate(-10deg) scale(1);   filter: drop-shadow(0 0 6px rgba(0,255,255,.45)); }
  45%  { opacity:.55; transform: rotate(-10deg) scale(1.02); filter: drop-shadow(0 0 16px rgba(0,255,255,.85)); }
  100% { opacity:.25; transform: rotate(-10deg) scale(1);    filter: drop-shadow(0 0 8px rgba(0,255,255,.55)); }
}

/* === Always-on lightning for category cards; pause on hover === */
.category::after{
  opacity: .40;                                 /* visible by default */
  animation: boltIdle 1.7s ease-in-out infinite; /* reuses keyframes above */
}

/* stop lightning when hovered so the label stands out */
.category:hover::after{
  animation: none !important;
  opacity: 0;                                    /* or keep at .2 if you want a faint glow */
}


@media (prefers-reduced-motion: reduce) {
  .product-carousel .product-info::before,
  .category::after {
    animation: none !important;
    opacity: .18; /* gentle static glow */
  }
}



/* ======================================
   LIGHTNING EFFECTS: PRODUCT + CATEGORY
   Top-to-bottom strike, idle flicker,
   pauses on hover
====================================== */

/* Product carousel tiles (Home, Youth, Women’s, Accessories, Hats) */
.product-carousel .product-info::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  z-index: -1;
  pointer-events: none;

  /* Idle lightning animation */
  opacity: .45;
  animation: boltStrikeVertical 1.8s linear infinite;
}

/* Pause strike on hover */
.product-carousel .carousel-item:hover .product-info::before {
  animation: none !important;
  opacity: 0; /* or set to .15 for faint glow */
}

/* Keep overlay text fade on hover */
.product-carousel .carousel-item:hover .product-info {
  opacity: 1;
}

/* Category tiles (Men, Youth, Women, Accessories, Headwear) */
.category::after {
  content: "";
  position: absolute;
  top: -25%; left: -10%;
  width: 120%; height: 150%;
  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  z-index: 3;
  pointer-events: none;

  /* Idle lightning animation */
  opacity: .40;
  animation: boltStrikeVertical 2s linear infinite;
}

/* Pause strike on hover */
.category:hover::after {
  animation: none !important;
  opacity: 0;
}

/* Keyframes: lightning travels top → bottom */
@keyframes boltStrikeVertical {
  0%   { transform: translateY(-80%) rotate(-7deg) scale(1); opacity: 0; }
  10%  { transform: translateY(-40%) rotate(-7deg) scale(1.02); opacity: .9; filter: drop-shadow(0 0 16px #0ff); }
  50%  { transform: translateY(0%) rotate(-7deg) scale(1.05); opacity: 1; filter: drop-shadow(0 0 22px #0ff); }
  80%  { transform: translateY(40%) rotate(-7deg) scale(1.02); opacity: .6; }
  100% { transform: translateY(80%) rotate(-7deg) scale(1); opacity: 0; }
}

/* Accessibility: reduced motion = static glow */
@media (prefers-reduced-motion: reduce) {
  .product-carousel .product-info::before,
  .category::after {
    animation: none !important;
    opacity: .18; /* gentle static glow */
  }
}

/* ======================================
   PRODUCT OVERLAY: HOVER LIGHTNING SWEEP
   - runs only while a tile is hovered
   - left → right diagonal sweep
   - keeps arrows clickable
====================================== */

/* base: effect is present but invisible until hover */
.product-carousel .product-info::before{
  content: "";
  position: absolute;
  /* oversize so the bolt can “travel” across */
  top: -50%; left: -50%;
  width: 200%; height: 200%;

  background: url('../images/bolt-animated.svg') center/contain no-repeat;
  pointer-events: none;   /* don’t block clicks */
  z-index: -1;            /* behind .product-info text */
  opacity: 0;
  animation: none;
  transform: translateX(0) translateY(0) rotate(-8deg) scale(1);
  filter: drop-shadow(0 0 8px rgba(0,255,255,.55));
}

/* on hover: animate the sweep continuously */
.product-carousel .carousel-item:hover .product-info::before{
  opacity: .75;
  animation: boltSweepX 1.15s linear infinite;
}

/* keep your overlay fade-in on hover as-is (no change needed) */
/* .product-carousel .carousel-item:hover .product-info { opacity: 1; } */

/* the sweep: moves the bolt diagonally across the tile */
@keyframes boltSweepX {
  0%   { transform: translateX(-65%) translateY(-18%) rotate(-8deg) scale(1.00); opacity:.25; filter: drop-shadow(0 0 10px rgba(0,255,255,.5)); }
  25%  { transform: translateX(-30%) translateY(-6%)  rotate(-8deg) scale(1.02); opacity:.85; filter: drop-shadow(0 0 16px rgba(0,255,255,.9)); }
  50%  { transform: translateX(0%)    translateY(0%)  rotate(-8deg) scale(1.05); opacity:1.00; filter: drop-shadow(0 0 22px rgba(0,255,255,1)); }
  75%  { transform: translateX(30%)   translateY(6%)  rotate(-8deg) scale(1.02); opacity:.80; filter: drop-shadow(0 0 16px rgba(0,255,255,.9)); }
  100% { transform: translateX(65%)   translateY(18%) rotate(-8deg) scale(1.00); opacity:.25; filter: drop-shadow(0 0 8px  rgba(0,255,255,.55)); }
}

/* motion-friendly fallback */
@media (prefers-reduced-motion: reduce) {
  .product-carousel .product-info::before{
    animation: none !important;
    opacity: .18; /* gentle static glow */
  }
}

/* Mobile: keep cart visible, hide other social icons */
@media (max-width: 768px) {
  /* ensure the container itself stays visible even if older rules hide it */
  .social-icons {
    display: flex !important;
    align-items: center;
    gap: .5rem;
  }

  /* hide everything in .social-icons EXCEPT the cart */
  .social-icons > a:not(.cart-icon) {
    display: none !important;
  }

  /* make sure the cart shows correctly */
  .social-icons > .cart-icon {
    display: inline-flex !important;
    align-items: center;
    gap: .25rem;
  }

  /* (optional) compact the header a bit on mobile */
  .site-header {
    padding-right: .5rem;
  }

  /* tidy the count pill size on mobile */
  .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
  }
}

.category-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit; /* keep text color */
}
.category-link .category-label {
  pointer-events: none; /* ensures whole tile is clickable */
}
@media (max-width: 768px) {
  .social-icons { display: flex !important; align-items:center; gap:.5rem; }
  .social-icons > a:not(.cart-icon) { display: none !important; }
  .social-icons > .cart-icon { display: inline-flex !important; }
}

body.page-product {
  padding-top: 120px; /* match your nav height */
}

/* Optional for clarity */
.section-product {
  padding: 2rem 0;
}

/* Contact Modal Enhancements */
#contactModal .modal-content {
  max-width: 500px;
  margin: 5% auto;
  padding: 40px;
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 0 20px #00ffffa6; /* Cyan glow */
  color: #fff;
  position: relative;
  text-align: center;
}

#contactModal .modal-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

#contactModal h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #00ffff;
}

.modal-form .form-row {
  margin-bottom: 15px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  background-color: #111;
  color: #fff;
  font-size: 16px;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px #00ffff;
}

.modal-form button.btn-bolt {
  background-color: #00ffff;
  color: #000;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.modal-form button.btn-bolt:hover {
  background-color: #00cccc;
  transform: scale(1.05);
}

.thank-you-message {
  color: #00ffff;
  font-size: 20px;
  font-weight: 600;
  padding-top: 20px;
  animation: fadeIn 0.6s ease-out;
}

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

.modal-content {
  background: #111;
  border-radius: 10px;
  padding: 40px 30px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  border: 2px solid #00ffff;
  color: #fff;
  text-align: center;
}

.modal-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-form input,
.modal-form textarea {
  background: #222;
  border: 2px solid #00ffff;
  padding: 12px 14px;
  border-radius: 5px;
  color: #00ffff;
  font-size: 16px;
  width: 100%;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #00ffffa6;
}

.modal-form button.btn-bolt {
  background: #00ffff;
  color: #111;
  font-weight: bold;
  font-size: 16px;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-form button.btn-bolt:hover {
  background: #00dddd;
}

.modal-close {
  background: none;
  border: none;
  color: #00ffff;
  font-size: 24px;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
}

@media (max-width: 500px) {
  .modal-content {
    padding: 30px 20px;
  }

}


/* coning soon modela contriolls*/

.coming-soon-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.coming-soon-content {
  text-align: center;
  background: #111;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 2px solid #0ff;
  box-shadow: 0 0 20px rgba(0,255,255,.5), 0 0 40px rgba(0,255,255,.3);
  max-width: 480px;
  width: 90%;
}

.coming-soon-content h1 {
  font-family: 'Electrical', sans-serif;
  font-size: 2rem;
  color: #0ff;
  margin-bottom: 1rem;
}

.coming-soon-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.coming-soon-content .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coming-soon-content input[type="email"] {
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  background: #222;
  color: #fff;
}

.coming-soon-content button {
  padding: 0.6rem;
  background: #0ff;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.coming-soon-content button:hover {
  background: #00e6e6;
}

.coming-soon-content .modal-logo {
  width: 120px;
  margin-bottom: 1.5rem;
}

.coming-soon-content a {
  color: #393939* Bright blue */
  font-weight: bold;
  text-decoration: none;
}

.coming-soon-content a:visited {
  color: #393939; /* Same bright blue for visited links */
}

.coming-soon-content a:hover {
  color: #0ff; /* Optional: glowing cyan on hover */
  text-decoration: underline;
}

