/* === UrbanWear | Neon Sunset Theme | Vibrant Edition (Clean) === */
/* Dark base with neon accent colors and glass panel effects. Fully Bootstrap 5 compatible. */

/* --------- FONT IMPORTS --------- */
/* Import Poppins & Nunito for modern, clean typography. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Nunito:wght@400;700;800&display=swap');

/* --------- THEME TOKENS --------- */
/* All core theme variables: colors, gradients, radius, etc */
:root{
  /* Dark backgrounds for the site */
  --bg-0:#0b0f1a;   /* main background (deep navy) */
  --bg-1:#101626;   /* slightly lighter panels */
  --bg-2:#131b31;   /* card or overlay panels */

  /* Bright text on dark bg */
  --text-0:#f5f7fb;   /* main copy (almost white) */
  --text-1:#eaf2ff;   /* secondary text (still bright) */
  --muted:#aab7cf;    /* muted, for labels/hints */

  /* Neon accent colors */
  --accent-1:#ff8a00; /* mango/orange, main accent */
  --accent-2:#ff3d6e; /* neon pink (buttons, links, etc) */
  --accent-3:#7c3aed; /* electric purple */
  --accent-4:#00d1ff; /* neon cyan (links, focus, etc) */
  --accent-5:#facc15; /* gold (alerts, badges, etc) */
  --footer-link:#c0eaff; /* cyan for footer links */

  /* UI helpers */
  --shadow:0 18px 40px rgba(0,0,0,.45); /* strong shadow for glass/panels */
  --radius-xl:22px; --radius-lg:16px; --radius-md:12px;

  /* Fancy gradients for hero, pills, cards, and borders */
  --g-hero:linear-gradient(120deg,#7c3aed 0%,#ff3d6e 45%,#ff8a00 100%);
  --g-pill:linear-gradient(90deg,#ff8a00,#ff3d6e);
  --g-card:
    radial-gradient(1200px 600px at 10% 10%,rgba(124,58,237,.15),transparent 40%),
    radial-gradient(1200px 600px at 90% 90%,rgba(0,209,255,.12),transparent 40%),
    #101626;
  --g-border:linear-gradient(90deg,rgba(255,138,0,.9),rgba(255,61,110,.9));
}

/* --------- BASE STYLES --------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Poppins','Nunito',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 700px at 20% -10%,rgba(124,58,237,.22),transparent 40%),
    radial-gradient(1200px 700px at 120% 120%,rgba(0,209,255,.2),transparent 40%),
    var(--bg-0);
  color:var(--text-0);
  line-height:1.6;
  overflow-x:hidden;
}
/* Headings and links */
h1,h2,h3,h4,h5,h6{font-weight:800;color:var(--text-0);letter-spacing:.2px}
p{color:var(--text-1)}
.text-muted{color:var(--text-1)!important}
a{color:var(--accent-4);text-decoration:none}
a:hover{color:var(--accent-2);text-decoration:underline}

/* --------- SELECTION COLOR --------- */
/* Custom selection color matches neon cyan accents. */
::selection { background: var(--accent-4); color: #0b0f1a; }
::-moz-selection { background: var(--accent-4); color: #0b0f1a; }

/* --------- NAVBAR --------- */
.navbar{
  background:linear-gradient(180deg,rgba(16,22,38,.95),rgba(16,22,38,.78));
  backdrop-filter:blur(8px); box-shadow:0 10px 24px rgba(0,0,0,.35)
}
.navbar-brand{
  font-weight:800;font-size:1.65rem;letter-spacing:.5px;
  background:linear-gradient(90deg,var(--accent-4),var(--accent-1));
  -webkit-background-clip:text;background-clip:text;color:transparent !important
}
.navbar-dark .navbar-toggler{border-color:rgba(255,255,255,.25)}
.navbar-dark .navbar-toggler-icon{filter:invert(1) grayscale(1) brightness(2)}
.navbar-nav .nav-link{
  color:var(--text-1) !important; margin-right:14px; border-radius:999px;
  padding:.45rem .8rem !important; transition:transform .2s,color .2s,background .2s
}
.navbar-nav .nav-link:hover{
  color:#fff !important;
  background:rgba(124,58,237,.18);
  transform:translateY(-1px)
}
/* Hide theme switch buttons (if not enabled) */
.theme-buttons{display:none}

/* --------- HERO SECTION --------- */
.hero{
  background:var(--g-hero); color:#fff; border-radius:28px; padding:4.5rem 2rem; box-shadow:var(--shadow);
}
.hero h1{font-size:clamp(2rem,3.6vw,3.2rem)}
.hero p{opacity:.98;font-size:1.06rem}

/* --------- PANELS / GLASS CARDS --------- */
/* Glassy translucent effect panels for modern look */
.panel,.glass{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow)
}

/* --------- BUTTONS --------- */
.btn,.btn-dark,.btn-outline-dark,.btn-primary{
  font-weight:700;border-radius:999px !important;padding:.75rem 1.3rem;
  transition:transform .25s,box-shadow .25s,filter .25s,background .25s,color .25s
}
.btn-primary,.btn-dark{
  background:var(--g-pill);border:0;color:#fff;box-shadow:0 14px 26px rgba(255,138,0,.32)
}
.btn-primary:hover,.btn-dark:hover{transform:translateY(-2px) scale(1.02);filter:brightness(1.05)}
.btn-outline-dark{
  border:2px solid transparent;color:var(--text-0);
  background:linear-gradient(var(--bg-1),var(--bg-1)) padding-box,var(--g-border) border-box
}
.btn-outline-dark:hover{
  color:#fff;background:
    linear-gradient(180deg,rgba(124,58,237,.15),rgba(0,209,255,.15)) padding-box,
    var(--g-border) border-box
}

/* --------- MAIN SECTION SPACING --------- */
section,main{background:transparent;padding-block:2.2rem}

/* --------- PRODUCT CARDS --------- */
.card{
  border:0; border-radius:var(--radius-xl); background:var(--g-card); color:var(--text-0);
  overflow:hidden; transition:transform .35s,box-shadow .35s; position:relative; isolation:isolate
}
.card:hover{transform:translateY(-8px) scale(1.015);box-shadow:0 28px 50px rgba(124,58,237,.25)}
.card::before{
  content:""; position:absolute; inset:0 auto auto 0; width:140px; height:140px;
  border-left:140px solid var(--accent-3); border-bottom:140px solid transparent; opacity:.16
}
.card-img-top{
  border-radius:var(--radius-xl) var(--radius-xl) 0 0;
  background:radial-gradient(800px 300px at 80% -10%,rgba(255,61,110,.25),transparent 40%),#0e1424;
  padding:14px
}
.card-title{
  font-weight:800;margin-bottom:.35rem;
  background:linear-gradient(90deg,#fff,var(--accent-5));
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.price{font-weight:800;font-size:1.1rem;color:var(--accent-1)}
.text-decoration-line-through{color:var(--muted)}
.badge{border-radius:999px;font-weight:800;letter-spacing:.4px;padding:.45rem .7rem}
.badge.bg-danger{
  background:linear-gradient(120deg,var(--accent-2),#ff7291) !important;
  box-shadow:0 10px 22px rgba(255,61,110,.35)
}

/* --------- FILTER / SEARCH BAR --------- */
.filter-section{
  display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-bottom:1.4rem;
  background:linear-gradient(180deg,rgba(124,58,237,.15),rgba(0,209,255,.08));
  border:1px solid rgba(255,255,255,.08); padding:.8rem 1rem; border-radius:var(--radius-lg)
}
.filter-section label{color:var(--accent-5);font-weight:700;margin-right:.35rem}
.filter-section select,.filter-section input[type="text"]{
  appearance:none; padding:.55rem .7rem; border-radius:12px; border:1px solid rgba(255,255,255,.14);
  background:var(--bg-2); color:var(--text-0); transition:border-color .2s,box-shadow .2s
}
.filter-section select:focus,.filter-section input[type="text"]:focus{
  outline:none; border-color:var(--accent-4); box-shadow:0 0 0 4px rgba(0,209,255,.18)
}

/* --------- PRODUCT PAGE --------- */
.product-page{background:transparent;color:var(--text-0)}
.product-page h2{color:var(--accent-5);font-weight:800}
.product-page h4{color:var(--accent-2);font-weight:800}
.product-page .form-label{color:var(--accent-1);font-weight:700}
.product-page .form-select,.product-page .form-control{
  background:var(--bg-2);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:14px
}
.product-page .form-select:focus,.product-page .form-control:focus{
  border-color:var(--accent-3);box-shadow:0 0 0 4px rgba(124,58,237,.22)
}
.product-page img{
  border-radius:var(--radius-lg);border:2px solid rgba(255,255,255,.14);
  box-shadow:0 18px 40px rgba(0,0,0,.45),0 0 0 6px rgba(255,61,110,.12)
}

/* --------- ABOUT / HELP CARDS --------- */
.help-card{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);color:var(--text-0);border-radius:var(--radius-lg);
  transition:transform .25s,box-shadow .25s,background .25s
}
.help-card:hover{
  transform:translateY(-6px);box-shadow:0 18px 32px rgba(0,209,255,.25);
  background:linear-gradient(180deg,rgba(0,209,255,.08),rgba(124,58,237,.08))
}

/* --------- MEDIA (video/iframe containers) --------- */
.ratio video,.ratio iframe{
  border:2px solid rgba(255,255,255,.14);border-radius:16px;
  box-shadow:0 14px 28px rgba(124,58,237,.25)
}

/* --------- FOOTER --------- */
.footer{
  background:linear-gradient(180deg,var(--bg-1),#0a0f1d);
  color:var(--text-0);
  padding-top:3rem;
  border-top:1px solid rgba(255,255,255,.06)
}
.footer h5,.footer h6{
  background:linear-gradient(90deg,var(--accent-4),var(--accent-1));
  -webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800
}
.footer .footer-link{color:var(--footer-link);font-weight:700}
.footer .footer-link:hover{color:#fff;text-shadow:0 0 12px rgba(0,209,255,.55)}
.footer input[type="email"]{
  background:#0f172a;border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:14px
}
.footer input[type="email"]::placeholder{color:rgba(255,255,255,.92)}
.footer .btn-dark{background:var(--g-pill);border:0}
.footer .btn-dark:hover{transform:translateY(-2px)}
/* Ensure all footer copy is bright/visible */
.footer p,
.footer .text-muted,
.footer .text-muted { color: var(--text-0) !important; }
.footer .text-center { color:var(--text-0) !important; }
.footer .text-center{ margin-top:2.6rem }

/* --------- HELPERS --------- */
.shadow-sm{box-shadow:0 10px 24px rgba(0,0,0,.35) !important}
.product-img{height:300px;object-fit:contain;background:transparent !important}
.mw-1000{max-width:1000px}

/* --------- ACCESSIBILITY --------- */
:focus-visible{outline:3px dashed var(--accent-4);outline-offset:2px}

/* --------- RESPONSIVE TWEAKS --------- */
@media (max-width:991.98px){
  .navbar-nav .nav-link{margin-right:6px}
  .hero{padding:3rem 1.25rem}
}
@media (max-width:575.98px){
  .card::before{border-left-width:90px;border-bottom-width:90px}
  .navbar-brand{font-size:1.45rem}
}

/* --------- FILTER BAR FORM LAYOUT (for perfect alignment) --------- */
.filter-section form{
  display:grid;
  grid-template-columns: 120px minmax(200px, 320px) 1fr;
  gap:16px;
  align-items:center;
  grid-auto-rows: 48px;
}
.filter-section select,
.filter-section input[type="text"]{
  height:48px; padding:0 16px; margin:0; border-radius:16px;
  border:1px solid rgba(255,255,255,.18); background:#0f172a; color:#fff !important; box-shadow:none;
}
.filter-section select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:none !important; line-height:1.25;
}
.filter-section input[type="text"]::placeholder{ color:rgba(255,255,255,.75); }
.filter-section button{
  grid-column:1 / -1; height:56px; border-radius:28px;
}
@media (max-width: 768px){
  .filter-section form{ grid-template-columns: 110px 1fr; }
  .filter-section button{ grid-column:1 / -1; width:100%; }
}
@media (max-width: 480px){
  .filter-section form{ grid-template-columns: 1fr; }
}

/* --------- PRODUCT PAGE MEDIA/INFO LAYOUT --------- */
.product-page .media-box{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  padding: 16px;
  min-height: 360px;
  display: flex; align-items:center; justify-content:center;
}
.product-page .product-img{
  height:auto !important; max-height:520px; width:100%;
  object-fit:contain; background:transparent !important; display:block; margin:0 auto;
}
.product-desc{ color:var(--text-0); opacity:.96; line-height:1.7; font-size:1.02rem; }
.product-desc p{ margin-bottom:.75rem; }
@media (min-width: 992px){ .product-page .row.align-items-start { align-items:stretch !important; } }
@media (max-width: 768px){ .product-page .media-box{ min-height:260px; } }

.footer-tagline {
  color: var(--text-0) !important;
  font-size: 0.83rem;
  opacity: 1;
  letter-spacing: 0.02em;
  font-weight: 600;
}

/* --------- FAQ PAGE --------- */
.faq-main {
  background: var(--bg-0);
  color: var(--text-0);
}
.faq-question {
  color: var(--accent-1); /* Mango/orange */
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.32rem;
}
.faq-answer {
  color: var(--text-0);
  font-size: 1.01rem;
  font-weight: 500;
  opacity: 0.98;
  margin-bottom: 0.1rem;
}
.faq-item {
  background: linear-gradient(90deg, rgba(124,58,237,0.10) 0%, rgba(0,209,255,0.05) 100%);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 6px 28px rgba(0,209,255,0.09);
  border-left: 4px solid var(--accent-1);
  transition: box-shadow 0.2s, transform 0.2s;
}
.faq-item:hover {
  box-shadow: 0 14px 32px rgba(0,209,255,0.19);
  transform: translateY(-1px) scale(1.013);
}
/* Links in FAQ answers: cyan neon on hover */
.faq-answer a, .faq-answer a:visited {
  color: var(--footer-link);
  font-weight: 600;
  text-decoration: underline dotted;
  transition: color 0.18s;
}
.faq-answer a:hover {
  color: var(--accent-4);
  text-shadow: 0 0 10px rgba(0,209,255,.14);
}
@media (max-width: 600px) {
  .faq-item { padding: 0.85rem 0.4rem; }
}

/* --------- TERMS & CONDITIONS PAGE --------- */
/* Headings, body, note, and link styling for Terms, Privacy, Styleguide, Sizing, Order, Thankyou pages all follow a similar neon accent logic, with consistent spacing, highlight, and responsive styles. */

/* --------- THEME SWITCHER BUTTONS --------- */
.theme-buttons { gap: 0.25rem !important; }
.theme-btn {
  border: none; outline: none; background: var(--g-pill); border-radius: 50%;
  width: 36px; height: 36px; box-shadow: 0 2px 16px rgba(255,138,0,0.13), 0 2px 14px rgba(255,61,110,0.10);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.18s, filter 0.18s, background 0.18s; cursor: pointer; position: relative; margin: 0; padding: 0;
}
.theme-btn .theme-icon { font-size: 1.23em; line-height: 1; pointer-events: none; }
.theme-btn:hover, .theme-btn.active, .theme-btn:focus {
  background: var(--accent-4);
  box-shadow: 0 2px 20px rgba(0,209,255,0.13), 0 2px 14px rgba(0,209,255,0.10);
  outline: 2px solid var(--accent-4);
}
@media (max-width: 991.98px) { .theme-btn { width: 32px; height: 32px; } }

/* --------- CART BUTTON --------- */
.btn-outline-dark {
  font-weight: 700; border-radius: 999px !important; border-width: 2px; font-size: 1.06rem;
  padding: 0.4em 1.5em !important; display: flex; align-items: center; justify-content: center; box-shadow: none;
  transition: border-color .18s, color .18s, box-shadow .18s;
}
.btn-outline-dark:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: transparent;
}
