.alibebeevents-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 15px 64px;
  color: #2f2f2f;
}

.alibebeevents-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 38px 34px;
  border: 1px solid #f0e0d6;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 18%, rgba(220, 185, 164, .28) 0, rgba(220, 185, 164, 0) 32%),
    linear-gradient(135deg, #fff8f4 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(40, 32, 28, .06);
}

.alibebeevents-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #9a6a4f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(40, 32, 28, .06);
}

.alibebeevents-heading {
  margin: 0 0 10px;
  color: #262626;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  font-weight: 900;
}

.alibebeevents-intro {
  max-width: 760px;
  margin: 0;
  color: #5f5f5f;
  font-size: 17px;
  line-height: 1.7;
}

.alibebeevents-alert {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
}

.alibebeevents-alert ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

.alibebeevents-alert-success {
  background: #eef8f0;
  border: 1px solid #cfead5;
  color: #24633a;
}

.alibebeevents-alert-error {
  background: #fff2f0;
  border: 1px solid #f2cbc5;
  color: #7d2c22;
}

.alibebeevents-alert-cta {
  justify-self: flex-start;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #2b2b2b;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.alibebeevents-alert-cta:hover,
.alibebeevents-alert-cta:focus {
  color: #ffffff;
  text-decoration: none;
}

.alibebeevents-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.alibebeevents-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid #ebddd4;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(40, 32, 28, .10);
}

.alibebeevents-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #d5a98d 0%, #f1d5c3 42%, #d7e7ef 100%);
}

.alibebeevents-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 30px 0;
}

.alibebeevents-datebox {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 13px 14px;
  border: 1px solid #ecd8cb;
  border-radius: 20px;
  background: #fff5ee;
  text-align: center;
  box-shadow: 0 10px 24px rgba(115, 73, 47, .08);
}

.alibebeevents-day {
  display: block;
  color: #262626;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.alibebeevents-month {
  display: block;
  margin-top: 5px;
  color: #8a5c43;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.alibebeevents-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.alibebeevents-badge {
  align-self: flex-start;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.alibebeevents-badge-free {
  background: #eef8f0;
  color: #267743;
}

.alibebeevents-badge-capacity {
  background: #f4f0ff;
  color: #5e3ea1;
}

.alibebeevents-badge-full {
  background: #fff0ed;
  color: #a13d2f;
}

.alibebeevents-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 30px 30px;
}

.alibebeevents-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: 28px;
  align-items: start;
}

.alibebeevents-event-info {
  min-width: 0;
}

.alibebeevents-title {
  margin: 0 0 18px;
  color: #262626;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.16;
  font-weight: 900;
}

.alibebeevents-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.alibebeevents-meta-item {
  display: flex;
  gap: 11px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #f0e7e1;
  border-radius: 18px;
  background: #fffdfb;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.45;
}

.alibebeevents-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #faf1eb;
  color: #7f5138;
  font-size: 15px;
  font-weight: 900;
}

.alibebeevents-meta-label {
  display: block;
  margin-bottom: 2px;
  color: #777777;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.alibebeevents-meta-value {
  display: block;
  color: #2f2f2f;
  font-weight: 800;
}

.alibebeevents-price-inline {
  font-size: 17px;
  font-weight: 900;
}

.alibebeevents-capacity-panel {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #e6dff7;
  border-radius: 20px;
  background: linear-gradient(135deg, #fbf9ff 0%, #ffffff 100%);
}

.alibebeevents-capacity-low {
  border-color: #efcfaa;
  background: linear-gradient(135deg, #fff8ee 0%, #ffffff 100%);
}

.alibebeevents-capacity-full {
  border-color: #efc6bf;
  background: linear-gradient(135deg, #fff5f3 0%, #ffffff 100%);
}

.alibebeevents-capacity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: #3c3156;
  font-size: 15px;
  font-weight: 900;
}

.alibebeevents-capacity-head strong {
  color: #262626;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.alibebeevents-capacity-bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #eee9f7;
}

.alibebeevents-capacity-bar span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, #7e5ec4 0%, #c7b2f5 100%);
}

.alibebeevents-capacity-low .alibebeevents-capacity-bar {
  background: #f4e5cf;
}

.alibebeevents-capacity-low .alibebeevents-capacity-bar span {
  background: linear-gradient(90deg, #bd7d36 0%, #f0bc76 100%);
}

.alibebeevents-capacity-full .alibebeevents-capacity-bar span {
  min-width: 0;
}

.alibebeevents-capacity-copy {
  margin: 9px 0 0;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.5;
}

.alibebeevents-description {
  margin: 0 0 20px;
  color: #555555;
  font-size: 16px;
  line-height: 1.65;
}

.alibebeevents-description p:last-child {
  margin-bottom: 0;
}

.alibebeevents-payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 11px 16px;
  border-radius: 999px;
  background: #2b2b2b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.alibebeevents-payment-link:hover,
.alibebeevents-payment-link:focus {
  color: #ffffff;
  text-decoration: none;
}

.alibebeevents-registration {
  position: sticky;
  top: 16px;
  padding: 22px;
  border: 1px solid #eadbd2;
  border-radius: 24px;
  background: #fffaf6;
  box-shadow: 0 14px 36px rgba(40, 32, 28, .08);
}

.alibebeevents-registration-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.alibebeevents-registration-kicker {
  display: block;
  margin-bottom: 4px;
  color: #9a6a4f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.alibebeevents-registration-title {
  margin: 0;
  color: #262626;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.alibebeevents-registration-counter {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 9px 11px;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: inset 0 0 0 1px #f0e1d8;
}

.alibebeevents-registration-counter strong {
  display: block;
  color: #262626;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.alibebeevents-registration-counter span {
  display: block;
  margin-top: 3px;
  color: #7b5b49;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.alibebeevents-form-note {
  margin: 0 0 16px;
  color: #6c5b52;
  font-size: 14px;
  line-height: 1.55;
}

.alibebeevents-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.alibebeevents-field {
  display: grid;
  gap: 7px;
}

.alibebeevents-field-wide {
  grid-column: 1 / -1;
}

.alibebeevents-field label,
.alibebeevents-privacy {
  color: #3f3a36;
  font-size: 13px;
  font-weight: 900;
}

.alibebeevents-field input,
.alibebeevents-field textarea {
  width: 100%;
  border: 1px solid #e1d2c8;
  border-radius: 15px;
  background: #ffffff;
  color: #262626;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 7px 18px rgba(40, 32, 28, .045);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.alibebeevents-field input::placeholder,
.alibebeevents-field textarea::placeholder {
  color: #a7a09c;
}

.alibebeevents-field input {
  min-height: 48px;
  padding: 11px 13px;
}

.alibebeevents-field textarea {
  min-height: 92px;
  padding: 12px 13px;
  resize: vertical;
}

.alibebeevents-field input:focus,
.alibebeevents-field textarea:focus {
  outline: 0;
  border-color: #b78364;
  background: #fffdfb;
  box-shadow: 0 0 0 4px rgba(183, 131, 100, .18), 0 8px 20px rgba(40, 32, 28, .06);
}

.alibebeevents-field small {
  color: #7b5b49;
  font-size: 12px;
  font-weight: 800;
}

.alibebeevents-quantity-field input {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.alibebeevents-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0 0;
  padding: 12px 13px;
  border: 1px solid #efe1d8;
  border-radius: 16px;
  background: #ffffff;
  line-height: 1.42;
}

.alibebeevents-privacy input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #9a6a4f;
}

.alibebeevents-submit {
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: #2b2b2b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(43, 43, 43, .18);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.alibebeevents-submit:hover,
.alibebeevents-submit:focus {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(43, 43, 43, .22);
}

.alibebeevents-full-message {
  margin: 0;
  padding: 15px 16px;
  border-radius: 16px;
  background: #fff0ed;
  color: #7d2c22;
  font-size: 14px;
  line-height: 1.55;
}

.alibebeevents-empty {
  margin: 24px 0 0;
  padding: 24px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid #dcebf7;
  color: #31576f;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .alibebeevents-main-grid {
    grid-template-columns: 1fr;
  }

  .alibebeevents-registration {
    position: static;
  }

  .alibebeevents-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .alibebeevents-page {
    padding-top: 18px;
  }

  .alibebeevents-hero {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .alibebeevents-card {
    border-radius: 22px;
  }

  .alibebeevents-card-top,
  .alibebeevents-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .alibebeevents-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .alibebeevents-badges {
    justify-content: flex-start;
  }

  .alibebeevents-registration {
    padding: 18px;
    border-radius: 20px;
  }

  .alibebeevents-registration-head {
    align-items: stretch;
    flex-direction: column;
  }

  .alibebeevents-registration-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
  }

  .alibebeevents-registration-counter span {
    margin-top: 0;
  }

  .alibebeevents-form-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.6.0 hardening against theme overrides and cached layouts */
body .alibebeevents-page .alibebeevents-list {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  width: 100% !important;
}

body .alibebeevents-page .alibebeevents-card {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

body .alibebeevents-page .alibebeevents-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: 32px !important;
  align-items: start !important;
}

body .alibebeevents-page .alibebeevents-registration {
  box-sizing: border-box !important;
  padding: 24px !important;
  border: 1px solid #eadbd2 !important;
  border-radius: 24px !important;
  background: #fffaf6 !important;
  box-shadow: 0 14px 36px rgba(40, 32, 28, .08) !important;
}

body .alibebeevents-page .alibebeevents-form,
body .alibebeevents-page .alibebeevents-form-grid {
  width: 100% !important;
}

body .alibebeevents-page .alibebeevents-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body .alibebeevents-page .alibebeevents-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 0 !important;
}

body .alibebeevents-page .alibebeevents-field-wide {
  grid-column: 1 / -1 !important;
}

body .alibebeevents-page .alibebeevents-field label,
body .alibebeevents-page .alibebeevents-privacy {
  margin: 0 !important;
  color: #3f3a36 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body .alibebeevents-page .alibebeevents-field input[type="text"],
body .alibebeevents-page .alibebeevents-field input[type="email"],
body .alibebeevents-page .alibebeevents-field input[type="tel"],
body .alibebeevents-page .alibebeevents-field input[type="number"],
body .alibebeevents-page .alibebeevents-field textarea {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #d8c6ba !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #262626 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  box-shadow: 0 7px 18px rgba(40, 32, 28, .045) !important;
  appearance: auto !important;
}

body .alibebeevents-page .alibebeevents-field input[type="number"] {
  max-width: 120px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

body .alibebeevents-page .alibebeevents-field textarea {
  min-height: 96px !important;
  resize: vertical !important;
}

body .alibebeevents-page .alibebeevents-field input:focus,
body .alibebeevents-page .alibebeevents-field textarea:focus {
  outline: 0 !important;
  border-color: #b78364 !important;
  box-shadow: 0 0 0 4px rgba(183, 131, 100, .18), 0 8px 20px rgba(40, 32, 28, .06) !important;
}

body .alibebeevents-page .alibebeevents-field small {
  display: block !important;
  margin-top: 2px !important;
  color: #7b5b49 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body .alibebeevents-page .alibebeevents-privacy {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 16px 0 0 !important;
  padding: 13px 14px !important;
  border: 1px solid #efe1d8 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

body .alibebeevents-page .alibebeevents-privacy input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
}

body .alibebeevents-page .alibebeevents-submit {
  display: block !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #2b2b2b !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 26px rgba(43, 43, 43, .18) !important;
}

body .alibebeevents-page .alibebeevents-description {
  white-space: pre-line !important;
}

@media (max-width: 991px) {
  body .alibebeevents-page .alibebeevents-main-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 575px) {
  body .alibebeevents-page .alibebeevents-form-grid {
    grid-template-columns: 1fr !important;
  }
}
