/* ============================================
   VELLUNE DESIGN LLC - Main Stylesheet
   Modern Athletic Footwear Brand
   ============================================ */

:root {
  --primary: #0f0f10;
  --secondary: #ef4444;
  --secondary-dark: #dc2626;
  --accent: #f5f5f4;
  --text-dark: #0f0f10;
  --text-muted: #71717a;
  --border: #e4e4e7;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --gold: #d4a017;
  --transition: all .25s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Manrope', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.02em; color: var(--text-dark); font-family: 'Manrope', sans-serif; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary);
  color: #e5e5e5;
  font-size: 13px;
  padding: 9px 0;
}
.top-bar a { color: #e5e5e5; }
.top-bar a:hover { color: var(--secondary); }

/* ===== Navbar ===== */
.navbar-brand-custom {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--primary) !important;
  text-transform: uppercase;
}
.navbar-brand-custom span {
  color: var(--secondary);
}
.navbar-custom {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 14px 0;
}
.navbar-custom .nav-link {
  font-weight: 700;
  color: var(--primary) !important;
  padding: 8px 18px !important;
  position: relative;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 1px;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--secondary) !important;
}
.navbar-custom .nav-link.active::after,
.navbar-custom .nav-link:hover::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--secondary);
}
.cart-icon {
  position: relative;
  font-size: 18px;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--secondary);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.2) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.hero p {
  font-size: 1.18rem;
  max-width: 580px;
  margin-bottom: 1.8rem;
  opacity: .92;
}
.hero .eyebrow {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 1.2px;
}
.btn-primary-custom {
  background: var(--secondary);
  color: #fff !important;
  border: 2px solid var(--secondary);
}
.btn-primary-custom:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-2px); }
.btn-dark-custom { background: var(--primary); color: #fff !important; border: 2px solid var(--primary); }
.btn-dark-custom:hover { background: #000; transform: translateY(-2px); }
.btn-outline-light-custom {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}
.btn-outline-light-custom:hover { background: #fff; color: var(--primary) !important; }
.btn-outline-dark-custom {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}
.btn-outline-dark-custom:hover { background: var(--primary); color: #fff !important; }

/* ===== Section Headings ===== */
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title .eyebrow {
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-title h2 { margin: 0; }
.section-title p {
  color: var(--text-muted);
  max-width: 660px;
  margin: 14px auto 0;
}

/* ===== Feature Boxes ===== */
.feature-box {
  text-align: center;
  padding: 32px 22px;
  border-radius: 12px;
  background: #fff;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  border-color: var(--border);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 26px;
}
.feature-box h5 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-box p { color: var(--text-muted); margin: 0; font-size: 14px; }

/* ===== Product Cards ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0,0,0,.1);
  border-color: transparent;
}
.product-thumb {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #fafafa;
  overflow: hidden;
}
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transition: var(--transition);
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 2px;
  letter-spacing: 1.2px;
  z-index: 2;
}
.product-info { padding: 20px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 6px; font-weight: 600; }
.product-name {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--primary);
  min-height: 42px;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--secondary); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-now { color: var(--secondary); font-weight: 800; font-size: 1.22rem; }
.price-old { color: var(--text-muted); text-decoration: line-through; font-size: .9rem; }
.product-actions { margin-top: auto; }
.btn-add-cart {
  width: 100%;
  padding: 11px 16px;
  font-size: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--secondary); }

/* ===== Product Detail ===== */
.pd-gallery .main-img-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pd-gallery .main-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 30px;
}
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 84px;
  height: 84px;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fafafa;
  position: relative;
  transition: var(--transition);
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
}
.pd-thumb:hover { border-color: var(--secondary); }
.pd-thumb.active { border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(239,68,68,.15); }

.pd-info .pd-cat {
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2.2px;
  margin-bottom: 10px;
  font-weight: 600;
}
.pd-info h1 { font-size: 2.1rem; margin-bottom: 14px; line-height: 1.15; }
.pd-rating { color: var(--warning); margin-bottom: 14px; font-size: 14px; }
.pd-rating span { color: var(--text-muted); margin-left: 6px; }
.pd-price { margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price .now { color: var(--secondary); font-weight: 800; font-size: 2.1rem; }
.pd-price .old { color: var(--text-muted); text-decoration: line-through; font-size: 1.18rem; }
.pd-price .save {
  background: #fee2e2;
  color: var(--secondary-dark);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pd-desc { color: var(--text-muted); margin-bottom: 24px; }

.variant-section { margin-bottom: 20px; }
.variant-label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; display: block; }
.variant-label span { color: var(--text-muted); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }

.color-list { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  background: #fafafa;
  transition: var(--transition);
  padding: 0;
}
.color-opt img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.color-opt:hover { border-color: var(--secondary); }
.color-opt.active { border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(239,68,68,.2); }

.size-list { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  min-width: 56px;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  font-size: 14px;
}
.size-opt:hover { border-color: var(--primary); }
.size-opt.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-box {
  display: inline-flex;
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty-box button {
  width: 42px;
  height: 46px;
  border: none;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.qty-box button:hover { background: var(--accent); }
.qty-box input {
  width: 56px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  outline: none;
}

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-actions .btn { flex: 1; min-width: 160px; padding: 15px 24px; font-size: 13px; }

.pd-meta {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.pd-meta div { margin-bottom: 6px; }
.pd-meta b { color: var(--text-dark); font-weight: 700; }

/* ===== Cart Page ===== */
.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr 140px 150px 130px 60px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-row.head {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.cart-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-prod-name { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cart-prod-name:hover { color: var(--secondary); }
.cart-prod-meta { font-size: 13px; color: var(--text-muted); }
.cart-remove { background: none; border: none; color: var(--danger); font-size: 18px; cursor: pointer; padding: 6px; }
.cart-remove:hover { color: var(--primary); }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.cart-empty i { font-size: 64px; color: #d4d4d8; margin-bottom: 20px; }
.cart-empty h3 { color: var(--primary); margin-bottom: 10px; }

.cart-summary {
  background: var(--accent);
  padding: 30px;
  border-radius: 12px;
  position: sticky;
  top: 100px;
}
.cart-summary h4 { margin-bottom: 18px; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1.2px; }
.cart-summary .row-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #d4d4d8;
}
.cart-summary .row-item:last-of-type { border-bottom: none; }
.cart-summary .total { font-weight: 800; font-size: 1.3rem; color: var(--secondary); }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(120deg, #0f0f10 0%, #27272a 100%);
  color: #fff;
  padding: 75px 0 55px;
  text-align: center;
  margin-bottom: 50px;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header .breadcrumb-nav {
  font-size: 14px;
  color: #d4d4d8;
}
.page-header .breadcrumb-nav a { color: var(--secondary); }
.page-header .breadcrumb-nav span { margin: 0 8px; }

/* ===== About ===== */
.about-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  object-position: center;
  padding: 30px;
}

/* ===== Contact ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.contact-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 22px;
}
.contact-card h5 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); margin: 0; font-size: 14px; }
.contact-card a { color: var(--text-muted); }
.contact-card a:hover { color: var(--secondary); }

.form-control-custom {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
  background: #fff;
}
.form-control-custom:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

/* ===== Footer ===== */
.footer {
  background: #0a0a0b;
  color: #a1a1aa;
  padding: 62px 0 0;
  margin-top: 80px;
}
.footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary);
}
.footer a { color: #a1a1aa; }
.footer a:hover { color: var(--secondary); }
.footer p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer .brand-name { font-size: 1.35rem; font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer .brand-name span { color: var(--secondary); }
.footer .contact-line { font-size: 14px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.footer .contact-line i { color: var(--secondary); margin-top: 4px; }
.footer .subscriber-form { display: flex; gap: 6px; margin-top: 8px; }
.footer .subscriber-form input {
  flex: 1;
  padding: 12px 14px;
  background: #1c1c20;
  border: 1px solid #2a2a30;
  color: #fff;
  font-size: 13px;
  border-radius: 999px 0 0 999px;
}
.footer .subscriber-form input:focus { outline: none; border-color: var(--secondary); }
.footer .subscriber-form button {
  background: var(--secondary);
  border: none;
  color: #fff;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.2px;
}
.footer .subscriber-form button:hover { background: var(--secondary-dark); }
.footer .social-icons { display: flex; gap: 10px; margin-top: 16px; }
.footer .social-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1c1c20;
  border-radius: 50%;
  font-size: 14px;
  color: #a1a1aa;
}
.footer .social-icons a:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid #1c1c20;
  margin-top: 40px;
  padding: 22px 0;
  font-size: 13px;
  color: #71717a;
  text-align: center;
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 15px 40px;
}
.legal-content h2 { margin: 34px 0 14px; font-size: 1.45rem; }
.legal-content h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.legal-content p { margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { margin-bottom: 14px; padding-left: 24px; }
.legal-content ul li { margin-bottom: 6px; }

/* ===== Toast notification ===== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  padding: 16px 22px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast-notification.success { background: var(--success); }
.toast-notification.error { background: var(--danger); }
.toast-notification i { font-size: 18px; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero { min-height: 480px; padding: 70px 0; }
  .cart-row {
    grid-template-columns: 90px 1fr 100px;
    row-gap: 8px;
  }
  .cart-row.head { display: none; }
}
@media (max-width: 575px) {
  .hero { min-height: 440px; }
  .product-name { min-height: auto; }
  .pd-actions .btn { width: 100%; }
  .cart-row { grid-template-columns: 80px 1fr; }
}
