.vw-eb-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.vw-eb-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.vw-eb-subtitle {
  color: #666;
  margin-bottom: 30px;
}

.vw-eb-step-box {
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 18px;
  margin-bottom: 20px;
}

.vw-eb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vw-eb-card {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 25px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.vw-eb-card:hover {
  border-color: #0057ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 87, 255, 0.12);
}

.vw-eb-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .vw-eb-wrapper {
    padding: 20px;
  }

  .vw-eb-grid {
    grid-template-columns: 1fr;
  }
}

/*Step 7 — Card Select Active Function Add করুন

এখন card click করলে selected/active হবে।

assets/event-builder.js file-এ এই code দিন:*/

.vw-eb-card.active {
  border-color: #0057ff;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  box-shadow: 0 12px 35px rgba(0, 87, 255, 0.18);
}

.vw-eb-card.active h4 {
  color: #0057ff;
}

.vw-eb-guest-card {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 25px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.vw-eb-guest-card:hover,
.vw-eb-guest-card.active {
  border-color: #0057ff;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  box-shadow: 0 12px 35px rgba(0, 87, 255, 0.18);
}

.vw-eb-guest-card.active h4 {
  color: #0057ff;
}

.vw-eb-service-card {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 25px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.vw-eb-service-card:hover,
.vw-eb-service-card.active {
  border-color: #0057ff;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  box-shadow: 0 12px 35px rgba(0, 87, 255, 0.18);
}

.vw-eb-service-card.active h4 {
  color: #0057ff;
}

.vw-eb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vw-eb-form-group {
  margin-bottom: 20px;
}

.vw-eb-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.vw-eb-form-group input,
.vw-eb-form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
}

.vw-eb-submit-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  background: #0057ff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .vw-eb-form-grid {
    grid-template-columns: 1fr;
  }
}

.vw-eb-success-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ecfff3;
  border: 1px solid #b8f2cb;
  color: #087a2f;
  font-weight: 700;
}

.vw-eb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.vw-eb-main {
  min-width: 0;
}

.vw-eb-sidebar {
  position: sticky;
  top: 100px;
}

.vw-eb-sidebar .vw-eb-step-box,
.vw-eb-summary-box {
  background: #ffffff;
  border: 1px solid #e9eef7;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.vw-eb-summary-box {
  margin-bottom: 25px;
}

.vw-eb-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f8;
}

.vw-eb-summary-item span {
  text-align: right;
  font-weight: 600;
}

.vw-eb-total-row {
  margin-top: 10px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border-bottom: none;
}

.vw-eb-total-row span {
  color: #0057ff;
  font-size: 22px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .vw-eb-layout {
    grid-template-columns: 1fr;
  }

  .vw-eb-sidebar {
    position: relative;
    top: auto;
  }
}

.vw-eb-selected-services-wrap {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #eef2f8;
}

.vw-eb-selected-service-item {
  display: grid;
  grid-template-columns: 1fr 90px 120px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #e9eef7;
  border-radius: 16px;
  background: #fbfdff;
}

.vw-eb-selected-service-item p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}

.vw-eb-service-qty {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .vw-eb-selected-service-item {
    grid-template-columns: 1fr;
  }
}

.vw-eb-service-card.recommended {
  position: relative;
  border-color: #ffb020;
}

.vw-eb-service-card.recommended::after {
  content: "Recommended";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffb020;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 30px;
}

.vw-eb-recommended-btn {
  margin-bottom: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  background: #ffb020;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

.vw-eb-progress-wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0 45px;
}

.vw-eb-progress-line {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e4ebf5;
  z-index: 1;
}

.vw-eb-progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vw-eb-progress-step span {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #dbe5f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: 0.3s;
}

.vw-eb-progress-step small {
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.vw-eb-progress-step.active span,
.vw-eb-progress-step.completed span {
  background: #0057ff;
  color: #fff;
}

.vw-eb-progress-step.active small,
.vw-eb-progress-step.completed small {
  color: #0057ff;
}

.vw-eb-progress-line {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e4ebf5;
  z-index: 1;
  overflow: hidden;
}

/* =========================================
   Rental Item Image
========================================= */

.vw-eb-service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 15px;
}

.vw-eb-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.vw-eb-service-card:hover .vw-eb-service-image img {
  transform: scale(1.08);
}

.vw-eb-service-price {
  margin-top: 10px;
  font-weight: 700;
  color: #0057ff;
}

/* =========================================
   Preview Button
========================================= */

.vw-eb-service-image {
  position: relative;
}

.vw-eb-preview-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vw-eb-service-card:hover .vw-eb-preview-btn {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Premium Popup
========================================= */

/* =========================================
   Premium Rental Item Popup
========================================= */

.vw-eb-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 15, 35, 0.78);
  backdrop-filter: blur(8px);
}

.vw-eb-popup-overlay.active {
  display: flex !important;
}

.vw-eb-popup {
  width: min(92vw, 620px);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  animation: vwEbPopup 0.3s ease;
}

@keyframes vwEbPopup {
  from {
    transform: translateY(18px) scale(0.96);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.vw-eb-popup-image {
  width: 100%;
  height: 320px;
  background: #f5f7fb;
  overflow: hidden;
  flex-shrink: 0;
}

.vw-eb-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.vw-eb-popup-title {
  padding: 18px 22px 4px;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.vw-eb-popup-price {
  padding: 0 22px 20px;
  margin: 0;
  color: #0057ff;
  font-size: 18px;
  font-weight: 800;
}

.vw-eb-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 30;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);
  color: #111827;

  font-size: 28px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.vw-eb-popup-close:hover {
  background: #0057ff;
  color: #ffffff;
  transform: rotate(90deg);
}

/* =========================================
   Mobile Popup
========================================= */

@media (max-width: 767px) {
  .vw-eb-popup-overlay {
    padding: 12px;
  }

  .vw-eb-popup {
    width: 94vw;
    max-height: 86vh;
    border-radius: 18px;
  }

  .vw-eb-popup-image {
    height: 220px;
  }

  .vw-eb-popup-title {
    padding: 14px 16px 3px;
    font-size: 18px;
  }

  .vw-eb-popup-price {
    padding: 0 16px 16px;
    font-size: 16px;
  }

  .vw-eb-popup-close {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
    font-size: 24px;
  }
}

/* =========================================
   Event Builder Main 2 Column Layout Fix
========================================= */

.vw-eb-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 30px !important;
  align-items: start !important;
}

.vw-eb-main {
  min-width: 0 !important;
}

.vw-eb-sidebar {
  position: sticky !important;
  top: 100px !important;
  align-self: start !important;
}

@media (max-width: 991px) {
  .vw-eb-layout {
    grid-template-columns: 1fr !important;
  }

  .vw-eb-sidebar {
    position: relative !important;
    top: auto !important;
  }
}

/* =========================================
   Category Accordion
========================================= */

.vw-eb-category-block {
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.vw-eb-category-toggle {
  width: 100%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.vw-eb-category-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #06cb20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.vw-eb-category-block.active .vw-eb-category-icon {
  transform: rotate(45deg);
}

.vw-eb-category-items {
  padding: 0 25px 25px;
}

/* =========================================
   Service Search
========================================= */

.vw-eb-service-search {
  margin: 20px 0 30px;
}

.vw-eb-service-search input {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 18px;
  background: #f5f7fb;
  padding: 0 24px;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
}

.vw-eb-service-search input:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.08);
}

/* =========================================
   Mobile Sticky Total Bar
========================================= */

.vw-eb-mobile-total-bar {
  display: none;
}

@media (max-width: 768px) {
  .vw-eb-mobile-total-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  }

  .vw-eb-mobile-total-bar span {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
  }

  .vw-eb-mobile-total-bar strong {
    font-size: 18px;
    color: #0057ff;
  }

  .vw-eb-mobile-summary-btn {
    border: none;
    border-radius: 50px;
    padding: 11px 16px;
    background: #0057ff;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }

  .vw-eb-wrapper {
    padding-bottom: 95px;
  }
}

.vw-eb-whatsapp-btn {
  display: block;
  margin-top: 14px;
  padding: 15px 22px;
  border-radius: 50px;
  background: #25d366;
  color: #fff !important;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.service-table th {
  background: #f3f6fb;
  text-align: left;
  padding: 14px;
  border: 1px solid #e8eef7;
}

.service-table td {
  padding: 14px;
  border: 1px solid #e8eef7;
}

/* =========================================
   Rental Sub Category
========================================= */

.vw-eb-subcategory-block {
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #e8eef7;
}

.vw-eb-subcategory-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 800;
  color: #111;
}

.vw-eb-subcategory-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 991px) {
  .vw-eb-subcategory-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .vw-eb-subcategory-items {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Service Category Better Layout
================================ */

.vw-eb-step-three .vw-eb-grid {
  display: block !important;
}

.vw-eb-category-block {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
}

.vw-eb-category-items {
  padding: 18px !important;
  background: #f8fbff;
  border: 1px solid #e8eef7;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.vw-eb-subcategory-block {
  width: 100%;
  margin-bottom: 22px;
}

.vw-eb-subcategory-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.vw-eb-subcategory-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  width: 100%;
}

.vw-eb-service-card {
  width: 100% !important;
  min-height: 210px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.vw-eb-service-image {
  width: 100%;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f6fb;
  margin-bottom: 12px;
}

.vw-eb-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vw-eb-service-card h4 {
  font-size: 14px;
  line-height: 1.35;
  margin: 8px 0;
  min-height: 38px;
}

.vw-eb-service-price {
  font-size: 14px;
  font-weight: 800;
  color: #0057ff;
  margin: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .vw-eb-subcategory-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vw-eb-service-card {
    min-height: 190px;
    padding: 10px;
  }

  .vw-eb-service-image {
    height: 90px;
  }

  .vw-eb-service-card h4 {
    font-size: 13px;
  }
}
