:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e8e8e8;
  --grey-500: #7a7a7a;
  --grey-800: #1c1c1c;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; }
a { color: inherit; text-decoration: none; }

/* Top bar */
.topbar { background: var(--black); color: var(--white); font-size: .8rem; letter-spacing: .3px; }

/* Navbar */
.main-nav { background: var(--white); border-bottom: 1px solid var(--grey-200); padding: .8rem 0; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; letter-spacing: 2px; color: var(--black); }
.brand span { font-weight: 400; border-left: 2px solid currentColor; margin-left: 8px; padding-left: 8px; }
.main-nav .nav-link { color: var(--black); font-weight: 500; font-size: .85rem; letter-spacing: 1px; padding: .5rem 1.1rem; position: relative; }
.main-nav .nav-link::after { content: ''; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 2px; height: 2px; background: var(--black); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav .nav-link:hover::after { transform: scaleX(1); }
.icon-btn { background: none; border: 0; font-size: 1.3rem; color: var(--black); padding: 0; line-height: 1; }
.icon-btn:hover { opacity: .6; }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--black); color: var(--white); font-size: .65rem; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }

/* Hero */
.hero-slide { min-height: 78vh; display: flex !important; align-items: center; color: var(--white); background-size: cover; background-position: center; position: relative; }
.carousel-item.hero-slide:not(.active) { display: none !important; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.2) 100%); }
.hero-1 { background-image: linear-gradient(135deg, #111 0%, #3a3a3a 100%); }
.hero-2 { background-image: linear-gradient(135deg, #1a1a1a 0%, #555 100%); }
.hero-3 { background-image: linear-gradient(135deg, #0d0d0d 0%, #444 100%); }
/* To use real photos replace with: background-image: url('images/hero1.jpg'); */
.hero-content { position: relative; z-index: 2; padding: 4rem 0; }
.hero-content h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 1rem; }
.hero-content .lead { max-width: 480px; opacity: .85; margin-bottom: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; font-weight: 600; opacity: .8; margin-bottom: .6rem; }
.eyebrow.dark { color: var(--grey-500); opacity: 1; }
.carousel-indicators [data-bs-target] { width: 28px; height: 3px; border: 0; }

/* Feature strip */
.feature-strip { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.feature-strip i { font-size: 1.8rem; }
.feature-strip small { color: var(--grey-500); }

/* Sections */
.section { padding: 5rem 0; }
.bg-soft { background: var(--grey-100); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; }

/* Category cards */
.cat-card { display: block; border: 1px solid var(--grey-200); padding: 2.5rem 1rem; text-align: center; transition: all .3s; background: var(--white); height: 100%; }
.cat-card i { font-size: 2.6rem; display: block; margin-bottom: 1rem; }
.cat-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.cat-card span { font-size: .8rem; color: var(--grey-500); }
.cat-card:hover { background: var(--black); color: var(--white); transform: translateY(-6px); }
.cat-card:hover span { color: #bbb; }

/* Filters */
.filter-btn { background: var(--white); border: 1px solid var(--black); padding: .45rem 1.3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--black); color: var(--white); }

/* Product card */
.product-card { background: var(--white); border: 1px solid var(--grey-200); height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.12); transform: translateY(-4px); }
.product-img { position: relative; aspect-ratio: 4/5; background: linear-gradient(145deg, #efefef, #d9d9d9); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img i { font-size: 4.5rem; color: #9a9a9a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.badge-tag { position: absolute; top: 10px; left: 10px; background: var(--black); color: var(--white); font-size: .68rem; padding: 3px 10px; letter-spacing: 1px; text-transform: uppercase; }
.wish-btn { position: absolute; top: 8px; right: 8px; background: var(--white); border: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.wish-btn.active i { color: #000; }
.product-body { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey-500); }
.product-title { font-family: var(--font-body); text-transform: none; font-size: .98rem; font-weight: 600; margin: .25rem 0 .5rem; letter-spacing: 0; }
.price { font-weight: 700; }
.price del { color: var(--grey-500); font-weight: 400; font-size: .85rem; margin-left: 6px; }
.add-btn { margin-top: auto; background: var(--black); color: var(--white); border: 1px solid var(--black); width: 100%; padding: .55rem; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; transition: all .2s; }
.add-btn:hover { background: var(--white); color: var(--black); }

/* Bulk */
.bulk-banner { background: var(--black); color: var(--white); padding: 5rem 0; }
.bulk-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.bulk-list li { padding: .3rem 0; }
.bulk-list i { margin-right: 8px; }
.quote-form { background: var(--white); color: var(--black); padding: 2rem; }
.quote-form .form-control, .quote-form .form-select { border-color: #cfcfcf; }
.quote-form .form-control:focus, .quote-form .form-select:focus { border-color: var(--black); box-shadow: none; }

/* Why */
.why-card { padding: 2rem 1rem; border: 1px solid var(--grey-200); height: 100%; transition: all .3s; }
.why-card i { font-size: 2.2rem; }
.why-card h5 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.why-card p { color: var(--grey-500); font-size: .88rem; margin: 0; }
.why-card:hover { background: var(--black); color: var(--white); }
.why-card:hover p { color: #bbb; }

/* Testimonials */
.bg-dark-section { background: var(--grey-800); }
.review { max-width: 700px; padding: 0 1rem; }
.review .stars { font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 1rem; }
.review p { font-size: 1.15rem; font-style: italic; }

/* Footer */
.footer { background: var(--black); color: #c9c9c9; }
.footer h6 { color: var(--white); text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-head); margin-bottom: 1rem; }
.footer li { margin-bottom: .5rem; }
.footer a:hover { color: var(--white); }
.footer .brand span { border-color: var(--white); }
.social a { width: 38px; height: 38px; border: 1px solid #444; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social a:hover { background: var(--white); color: var(--black); }

/* Cart */
.cart-item { display: flex; gap: 12px; padding: .8rem 0; border-bottom: 1px solid var(--grey-200); }
.cart-thumb { width: 64px; height: 76px; background: #e3e3e3; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #999; flex-shrink: 0; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--black); background: var(--white); line-height: 1; }
.qty-btn:hover { background: var(--black); color: var(--white); }

/* Search */
#searchResults .list-group-item { cursor: pointer; border-radius: 0; }
#searchResults .list-group-item:hover { background: var(--grey-100); }

/* To top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 999; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: #333; color: var(--white); }

/* Responsive */
@media (max-width: 991.98px) {
  .main-nav .navbar-nav { padding: 1rem 0; border-top: 1px solid var(--grey-200); margin-top: .8rem; }
  .main-nav .nav-link::after { display: none; }
}
@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }
  .hero-slide { min-height: 70vh; }
  .brand { font-size: 1.35rem; }
  .product-body { padding: .75rem; }
  .product-title { font-size: .88rem; }
  .quote-form { padding: 1.4rem; }
}
