/* =========================
   Base
========================= */
:root {
  --bg: #ffffff;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --border: #e5e5e5;
  --accent: #1f1f1f;
  --accent-hover: #000;
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--accent);
  font-weight: 500;
}

a {
  color: var(--accent);
  transition: color .2s ease;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* =========================
   Header / Top
========================= */
#top {
  background: #fff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

#top .btn-link,
#top-links a {
  color: var(--text-light);
}
#top-links a:hover {
  color: var(--accent);
}

/* =========================
   Menu
========================= */
#menu {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

#menu .nav > li > a {
  color: var(--accent);
  font-weight: 500;
  padding: 14px 18px;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background: none;
  color: var(--accent-hover);
}

#menu .dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

#menu .dropdown-inner a {
  font-size: 14px;
  color: var(--text);
}
#menu .dropdown-inner a:hover {
  background: #f7f7f7;
  color: var(--accent);
}

/* =========================
   Buttons
========================= */
.btn {
  border-radius: 6px;
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--accent);
  transition: all .2s ease;
  box-shadow: none;
}

.btn:hover {
  background: #f5f5f5;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

/* =========================
   Breadcrumb
========================= */
.breadcrumb {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 20px;
}
.breadcrumb > li {
  padding: 0 5px;
  color: var(--text-light);
}

/* =========================
   Product cards
========================= */
.product-thumb {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.product-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.product-thumb .image img {
  border-radius: 8px 8px 0 0;
}

.product-thumb h4 {
  font-size: 15px;
  font-weight: 500;
}

.product-thumb .price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.product-thumb .price-old {
  font-size: 13px;
  color: var(--text-light);
}

.product-thumb .button-group {
  background: #fff;
  border-top: 1px solid var(--border);
}

.product-thumb .button-group button {
  background: none;
  color: var(--text-light);
  font-weight: 500;
  border-right: 1px solid var(--border);
}

.product-thumb .button-group button:hover {
  color: var(--accent);
  background: #f7f7f7;
}

/* =========================
   Forms
========================= */
.form-control {
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: none;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: none;
}

/* =========================
   Footer
========================= */
footer {
  background: #f7f7f7;
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

footer a {
  color: var(--text);
}
footer a:hover {
  color: var(--accent-hover);
}

footer h5 {
  color: var(--accent);
  font-weight: 500;
}
/* =========================
   Cart icon
========================= */
.cart-toggle {
  background: none;
  border: none;
  padding: 0;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
}

.icon-cart {
  width: 24px;
  height: 40px;
  stroke: #1f1f1f;
}

.cart-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  min-width: 16px;
  height: 16px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.cart-dropdown {
  min-width: 320px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}

.cart-remove:hover {
  color: #000;
}

.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.cart-empty {
  padding: 20px;
  text-align: center;
  color: #777;
}