body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
}

.top-bar {
  background: #000;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 60px;
  border-bottom: 1px solid #eee;
}

.logo-area {
  text-align: center;
  width: 260px;
}

.logo-area img {
  max-width: 230px;
}

.search-area {
  display: flex;
  flex: 1;
  max-width: 760px;
  margin: 0 40px;
}

.search-area input {
  flex: 1;
  padding: 16px;
  font-size: 16px;
  border: 1px solid #aaa;
}

.search-area button {
  width: 70px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.order-box {
  width: 310px;
  font-size: 14px;
}

.nav {
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.nav a {
  display: inline-block;
  padding: 18px 35px;
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

.nav .active {
  border-bottom: 5px solid #f4c400;
}

.layout {
  display: flex;
  max-width: 1450px;
  margin: 30px auto;
  gap: 40px;
  padding: 0 25px;
}

.sidebar {
  width: 270px;
  border-right: 1px solid #ddd;
  padding-right: 25px;
}

.sidebar a {
  display: block;
  color: #004bb5;
  text-decoration: none;
  font-weight: bold;
  margin: 12px 0;
}

.products {
  flex: 1;
}

.products h1 {
  font-size: 32px;
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.product-card {
  position: relative;
  border: 1px solid #ddd;
  background: #fff;
  padding-bottom: 18px;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-card h3 {
  padding: 0 15px;
  font-size: 18px;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 10;
  border-radius: 3px;
}

.in-stock {
  background-color: #008060;
  color: #ffffff;
}

.top {
  background-color: #e5e5e5;
  color: #333;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 10px 0;
}

.price-row div {
  padding: 12px;
  font-weight: bold;
}

.price-row div:first-child {
  border-right: 1px solid #ddd;
}

.details-btn {
  display: block;
  margin: 15px;
  padding: 14px;
  background: #f4c400;
  color: #111;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.manual-order {
  margin: 30px 0;
  padding: 18px;
  border: 1px solid #f4c400;
  background: #fffdf2;
  font-size: 15px;
}

.manual-order a {
  color: #004bb5;
  font-weight: bold;
}

.breadcrumb {
  max-width: 1450px;
  margin: 25px auto;
  font-size: 14px;
  padding: 0 25px;
}

/* PRODUCT DETAIL PAGE */

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.product-page {
  width: 100%;
}

.product-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: start;
}

.product-images {
  width: 100%;
}

.main-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.thumbs img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.product-info h1 {
  font-size: 36px;
  margin-top: 0;
}

.sku {
  color: #666;
  margin-bottom: 20px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.price-card {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 15px;
}

.price {
  font-size: 26px;
  font-weight: bold;
}

.stock {
  color: green;
  font-weight: bold;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.contact-buttons a {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: bold;
}

.description {
  margin-top: 50px;
  line-height: 1.8;
}

.description h2 {
  border-bottom: 4px solid #f4c400;
  display: inline-block;
  padding-bottom: 8px;
}

.video-wrapper {
  margin-top: 20px;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .header,
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .order-box {
    width: 100%;
  }

  .page-wrapper {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
}


.product-page {
  padding: 45px 30px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 55px;
}

.product-card {
  position: relative;
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  background: #000;
  display: block;
}

.badge {
  position: absolute;
  top: 16px;
  left: -8px;
  background: #007a68;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 7px 14px;
  z-index: 2;
}

.product-title {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #3d5f75;
  text-decoration: underline;
}

.price {
  margin-top: 4px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .products {
    grid-template-columns: 1fr;
  }
}


/* ==========================
   BAJA HOBBY HEADER
========================== */

.bh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  background: #f5f5f5;
}

.bh-logo img {
  width: 260px;
  height: auto;
}

.bh-search {
  flex: 1;
  margin: 0 60px;
}

.bh-search form {
  display: flex;
}

.bh-search input {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  border: 1px solid #ccc;
  outline: none;
}

.bh-search button {
  width: 72px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.bh-contact {
  min-width: 320px;
  text-align: left;
  line-height: 1.8;
}

.bh-contact h3 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
}

.bh-contact p {
  margin: 0;
  font-size: 14px;
}

.header-divider {
  height: 1px;
  background: #ddd;
  margin-bottom: 40px;
}


/* ==========================
   PAGE HEADER
========================== */

.page-banner {
  background: #111;
  color: white;
  padding: 35px 50px;
  margin-bottom: 40px;
}

.page-banner-content {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-banner h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.page-banner p {
  margin-top: 10px;
  color: #ccc;
  font-size: 16px;
}

.home-btn {
  background: #d60000;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}

.home-btn:hover {
  background: #ff0000;
}