@import url('https://fonts.googleapis.com/css2?family=Piedra&display=swap');

:root {
  --bg: #09090c;
  --card: #111118;
  --text: #f6f8ff;
  --muted: #a8afc3;
  --line: rgba(255, 255, 255, .09);
  --primary: #7a5cff;
  --secondary: #22d3ee;
  --accent: #ff4d8d;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { scroll-behavior: smooth; }
body {
  font-family: Arial, sans-serif;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(122,92,255,.25), transparent 60%),
              radial-gradient(900px 500px at -10% 25%, rgba(34,211,238,.12), transparent 60%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
.container { width: min(1150px, 92%); margin: auto; }

.announcement {
  text-align: center;
  padding: 10px;
  font-size: .9rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: bold;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(9, 9, 12, .75);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  text-decoration: none; color: #fff;
  font-family: 'Piedra', cursive;
  font-size: 1.55rem; font-weight: 400; letter-spacing: .05em;
}
.desktop-nav { display: flex; gap: 24px; }
.desktop-nav a, .mobile-nav a {
  color: #dbe0f2; text-decoration: none; font-weight: bold;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.cart-btn, .menu-btn {
  border: 1px solid var(--line);
  background: #141420;
  color: #fff;
  border-radius: 12px;
  height: 40px;
  padding: 0 12px;
  cursor: pointer;
}
.cart-btn {
  position: relative;
  overflow: visible;
}
.cart-pulse {
  animation: cartPulse .5s ease;
}
.cart-count {
  background: var(--accent); color: #fff;
  font-size: .75rem; padding: 2px 7px; border-radius: 999px; margin-left: 6px;
}
.menu-btn { display: none; font-size: 1.2rem; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 4%;
  background: #0e0e14;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav.show { display: flex; }

/* Hero */
.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(180deg, rgba(9, 9, 12, .52), rgba(9, 9, 12, .88)),
    url("images/stride-preview.png") center/cover no-repeat;
  filter: blur(4px) saturate(1.02);
  transform: scale(1.02);
  z-index: -3;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 50% 38%, rgba(255, 255, 255, .08), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 12, .2), rgba(9, 9, 12, .78));
  z-index: -2;
}
.hero-content { max-width: 820px; animation: rise .9s ease both; }
.hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 30px;
  background: rgba(10, 10, 16, .16);
  backdrop-filter: blur(6px);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}
.tag {
  letter-spacing: .18em; font-size: .75rem; color: var(--secondary); font-weight: bold;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.08; margin-bottom: 14px; font-weight: bold;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); margin-bottom: 24px; font-size: 1.05rem; }

.glow {
  position: absolute; border-radius: 50%; filter: blur(35px); opacity: .45; z-index: -1;
  animation: float 6s ease-in-out infinite;
}
.glow1 {
  width: 320px; height: 320px; left: -70px; top: 140px;
  background: radial-gradient(circle, rgba(122,92,255,.85), transparent 65%);
}
.glow2 {
  width: 340px; height: 340px; right: -80px; bottom: 40px;
  background: radial-gradient(circle, rgba(34,211,238,.8), transparent 65%);
  animation-delay: 1.3s;
}

/* Buttons */
.btn {
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; justify-content: center; align-items: center;
  font-weight: bold; border-radius: 12px; padding: 12px 20px;
  transition: .25s ease;
}
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #996dff 45%, var(--accent));
}
.primary:hover { transform: translateY(-2px); }
.full { width: 100%; }

/* Collection */
.collection { padding: 36px 0 80px; }
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head p { color: var(--muted); margin-top: 4px; }

/* Contact */
.contact { padding: 36px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}
.contact-panel {
  border: 1px solid var(--line);
  background: rgba(17, 17, 24, .92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.contact-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.contact-item span {
  display: block;
  color: var(--secondary);
  font-size: .78rem;
  letter-spacing: .14em;
  font-weight: bold;
  margin-bottom: 6px;
}
.contact-item strong {
  font-size: 1rem;
  color: var(--text);
}
.social-block {
  margin-top: 22px;
}
.social-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: bold;
}
.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.social-link strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
.social-link small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}
.social-link.instagram .social-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}
.social-link.tiktok .social-icon {
  background: linear-gradient(135deg, #25f4ee, #000000 70%, #fe2c55);
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form .checkout-input {
  margin: 0;
  background: #111118;
}
.contact-form textarea.checkout-input {
  min-height: 160px;
  resize: vertical;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.contact-actions-single .btn,
.contact-actions-single .ghost-btn {
  flex: 1 1 220px;
}
.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.contact-hero {
  padding: 22px 0 0;
}
.contact-hero .hero-content {
  max-width: 920px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  animation: cardIn .55s ease forwards;
}
.card img {
  width: 100%; height: 310px; object-fit: cover;
  transition: transform .45s ease;
}
.card:hover img { transform: scale(1.05); }
.card-body { padding: 14px; }
.card h3 { font-size: 1rem; margin-bottom: 8px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .price {
  font-size: 1.05rem; font-weight: bold;
  color: var(--secondary);
}
.card-actions { display: flex; gap: 8px; }
.small-btn {
  border: 1px solid var(--line);
  background: #1a1a26; color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: .83rem;
}
.small-btn.buy {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* About */
.about { padding-bottom: 85px; }
.about-box {
  border: 1px solid var(--line);
  background: rgba(122,92,255,.12);
  border-radius: var(--radius);
  padding: 30px;
}
.about-box p { color: #d6dbee; max-width: 760px; margin-top: 8px; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; z-index: 1300; }
.modal.show { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.modal-card {
  position: relative;
  width: min(900px, 92%);
  margin: 6vh auto 0;
  background: #101019;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  animation: rise .22s ease;
}
.close-modal {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.4); color: #fff; cursor: pointer;
}
.modal-content { display: grid; grid-template-columns: 1fr 1fr; }
.modal-content img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.modal-media {
  position: relative;
  min-height: 420px;
  background: #0a0a10;
}
.modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.modal-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 16, .7);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-image-nav:disabled {
  opacity: .35;
  cursor: default;
}
.modal-image-prev { left: 12px; }
.modal-image-next { right: 12px; }
.modal-image-counter {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 16, .68);
  border: 1px solid var(--line);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .04em;
  z-index: 2;
}
.modal-info { padding: 24px; }
.modal-brand { color: var(--secondary); font-size: .75rem; font-weight: bold; letter-spacing: .15em; margin-bottom: 8px; }
.modal-info h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-info p { color: var(--muted); margin-bottom: 14px; }
.modal-info h4 { margin-bottom: 16px; font-size: 1.45rem; }

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: min(400px, 90%);
  height: 100vh;
  background: #0f0f16;
  border-left: 1px solid var(--line);
  z-index: 1400;
  transition: right .3s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.show { right: 0; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.close-cart {
  border: 1px solid var(--line); background: #181826; color: #fff;
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.cart-item {
  background: #151522; border: 1px solid var(--line);
  border-radius: 12px; padding: 8px;
  display: flex; align-items: center; gap: 10px;
}
.cart-item-image {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #0f0f16;
}
.cart-item-details {
  min-width: 0;
  flex: 1;
}
.remove-btn {
  margin-top: 6px;
  border: none;
  background: #2a1b2a;
  color: #ff9bc0;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: .78rem;
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding: 14px;
}
.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1350;
  display: none;
}
.cart-backdrop.show { display: block; }

.cart-flyer {
  position: fixed;
  z-index: 1500;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  transform: translate(0, 0) scale(1);
  animation: flyToCart 700ms cubic-bezier(.2, .8, .2, 1) forwards;
  overflow: hidden;
  background: #101019;
}
.cart-flyer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 18px;
  color: #99a2ba;
}

/* Animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes flyToCart {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--fly-x), var(--fly-y)) scale(.25);
    opacity: 0;
  }
}
@keyframes cartPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.14); }
  70% { transform: scale(.96); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .contact { padding: 24px 0 64px; }
  .contact-panel { padding: 20px; }
  .social-links {
    grid-template-columns: 1fr;
  }
  .social-link {
    padding: 14px;
  }
  .contact-actions { flex-direction: column; }
  .contact-actions-single .btn,
  .contact-actions-single .ghost-btn {
    flex: 1 1 auto;
  }
  .contact-actions .btn,
  .contact-actions .ghost-btn { width: 100%; }
  .logo {
    font-size: 1.15rem;
    letter-spacing: .04em;
  }
  .hero {
    min-height: 68vh;
    padding: 28px 0;
  }
  .hero::before {
    inset: -14px;
    background-size: 92% auto;
    background-position: center 58%;
    filter: blur(3px) saturate(1.01);
    transform: scale(1.02);
  }
  .hero-content {
    width: min(94%, 620px);
    padding: 18px 14px;
    border-radius: 22px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
    line-height: 1.02;
  }
  .hero p {
    font-size: .92rem;
  }
  .hero .btn.primary {
    width: 100%;
  }
  .hero-content .tag {
    font-size: .7rem;
    letter-spacing: .14em;
  }
  .hero-content {
    backdrop-filter: blur(4px);
  }
  .modal-media { min-height: 260px; }
  .modal-media img { min-height: 260px; max-height: 340px; }
  .modal-image-nav {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }
  .modal-image-prev { left: 10px; }
  .modal-image-next { right: 10px; }
  .modal-image-counter {
    bottom: 10px;
    font-size: .72rem;
    padding: 5px 8px;
  }
  .cart-flyer { animation-duration: 620ms; }
  .cart-item-image { width: 48px; height: 48px; }
}
/* Checkout */

.checkout-input{
width:100%;
padding:14px;
margin:12px 0;
border-radius:12px;
border:1px solid rgba(255,255,255,.15);
background:#111;
color:#fff;
font-size:16px;
box-sizing:border-box;
}

.checkout-input:focus{
border-color:#ffffff;
}

#checkoutProducts{
margin-bottom:20px;
}

.checkout-product{
display:flex;
justify-content:space-between;
padding:8px 0;
border-bottom:1px solid rgba(255,255,255,.08);
}

#checkoutTotal{
color:#fff;
font-weight:bold;
}
#checkoutModal .modal-card{
    width:min(95vw,900px);
    max-height:90vh;
    overflow-y:auto;
}
#checkoutModal .modal-content{
    padding:30px;
}

#checkoutModal img{
    display:block;
    width:100%;
    max-width:220px;
    height:auto;
    margin:20px auto;
    border-radius:12px;
}

@media(max-width:768px){

#checkoutModal .modal-card{
    width:96%;
    max-width:96%;
}

#checkoutModal .modal-content{
    padding:20px;
}

#checkoutModal img{
    width:150px;
}

.checkout-content{
  grid-template-columns:1fr;
}

}
/* Toast Notification */

.toast{
position:fixed;
top:25px;
right:25px;
background:#111;
color:#fff;
padding:16px 22px;
border-radius:12px;
font-size:15px;
font-weight:500;
box-shadow:0 12px 30px rgba(0,0,0,.35);
opacity:0;
pointer-events:none;
transform:translateY(-20px);
transition:.35s;
z-index:99999;
max-width:350px;
border-left:5px solid #4CAF50;
}

.toast.show{
opacity:1;
transform:translateY(0);
}

.toast.error{
border-left-color:#ff4d4d;
}

@media(max-width:768px){

.toast{
left:15px;
right:15px;
top:15px;
max-width:100%;
font-size:14px;
padding:14px 18px;
}

}

#checkoutModal .modal-content{
    display:flex;
    gap:30px;
    align-items:flex-start;
    flex-wrap:wrap;
}

#checkoutModal .payment-section{
    flex:1;
    min-width:250px;
}

#checkoutModal .form-section{
    flex:2;
    min-width:300px;
}

@media (max-width:768px){

#checkoutModal .modal-content{
    display:block;
}

#checkoutModal img{
    max-width:180px;
}

.checkout-content{
  grid-template-columns:1fr;
  gap:20px;
}

}

.checkout-content{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:30px;
  align-items:start;
}

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