/* =====================================================
   GLOBAL STYLES
===================================================== */
body {
  background-color: #0b0b0b;
  color: #fff;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* =====================================================
   HERO SECTION
===================================================== */
.cigar-hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#cigarList,
#cigarList li,
#offerList,
#offerList li {
    list-style: none;
    /* padding-left: 0; */
    margin-left: 0;
}

.cigar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.cigar-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: gold;
  margin-bottom: 0.5rem;
}

.cigar-hero p {
  font-size: 1.1rem;
  color: #ddd;
}

/* =====================================================
   SIDE-BY-SIDE MAIN LAYOUT
===================================================== */
.cigar-sections {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.cigar-offerings,
.cigar-list {
  flex: 1;
  min-width: 340px;
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 40px 20px;
}

/* =====================================================
   OUR OFFERINGS
===================================================== */
.offerings-container {
  max-width: 900px;
  margin: 0 auto;
}

.cigar-offerings h2 {
  color: gold;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.offer-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #1a1a1a;
  border-bottom: 2px solid gold;
  border-radius: 8px 8px 0 0;
  padding: 15px 20px;
  font-weight: 600;
  color: gold;
}

.offer-item {
  background: #1a1a1a;
  margin-bottom: 10px;
  border-left: 4px solid gold;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.offer-item:hover {
  background: #222;
  transform: translateX(4px);
}

.offer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 20px;
  align-items: center;
}

.offer-name {
  text-align: left;
  color: #f5f5f5;
}

.offer-old {
  text-align: center;
  text-decoration: line-through;
  color: #888;
}

.offer-new {
  text-align: right;
  color: gold;
  font-weight: 600;
}

/* =====================================================
   OUR COLLECTION
===================================================== */
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.collection-header h2 {
  color: gold;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.collection-header .search-container {
  flex: 1;
  max-width: 300px;
  min-width: 220px;
}

.collection-header .search-container input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #1a1a1a;
  color: #f5f5f5;
  outline: none;
  transition: all 0.3s ease;
}

.collection-header .search-container input:focus {
  border-color: gold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.list-header {
  display: flex;
  justify-content: space-between;
  background: #1a1a1a;
  border-bottom: 2px solid gold;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: gold;
  margin-bottom: 10px;
}

.cigar-item {
  background: #1a1a1a;
  margin-bottom: 10px;
  border-left: 4px solid gold;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cigar-item:hover {
  background: #222;
  transform: translateX(4px);
}

.cigar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.cigar-name {
  color: #f5f5f5;
  font-size: 1rem;
  flex: 1;
}

.cigar-price {
  color: gold;
  font-weight: 500;
  width: 100px;
  text-align: right;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .cigar-sections {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .cigar-sections {
    flex-direction: column;
    align-items: stretch;
  }

  .cigar-offerings,
  .cigar-list {
    width: 100%;
  }

  .offer-header,
  .offer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .collection-header {
    flex-direction: column;
    text-align: center;
  }

  .collection-header .search-container {
    width: 100%;
    max-width: 100%;
  }
}
