/* Plugin: InstructorPro Suite | File Version: 2016v5 */
/* ==========================================================================
   EZ2D FE  Student Lesson Calendar CSS (FINAL CLEAN + CORRECT)
   ========================================================================== */

/* ===========================
   CALENDAR SHELL LAYOUT
   =========================== */
.ez2d-fe-calendar-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ===========================
   HEADER CARD
   =========================== */
.ez2d-fe-calendar-header {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.ez2d-fe-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ez2d-fe-user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.ez2d-fe-user-name {
  font-weight: 600;
}

.ez2d-fe-user-sub {
  font-size: 13px;
  color: #6b7280;
}

/* ===========================
   SUCCESS BANNER
   =========================== */
.ez2d-fe-banner {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.ez2d-fe-banner.success {
  background: #ecfdf3;
  color: #15803d;
}

.ez2d-fe-banner.error {
  background: #fef2f2;
  color: #b91c1c;
}

/* ===========================
   CALENDAR CARD WRAPPER
   =========================== */
.ez2d-fe-calendar-card {
  position: relative; /* IMPORTANT for drawer positioning */
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  width: 100%;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed {
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc .fc-toolbar {
  display: none;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc .fc-view-harness {
  height: auto !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc .fc-scroller {
  overflow: hidden !important;
  height: auto !important;
  max-height: none !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed #ez2d-fe-lesson-calendar {
  transform: none;
  transform-origin: top left;
  width: 100%;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-theme-standard td,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-theme-standard th {
  border: 0 !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-slot,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-divider,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis {
  border: 0 !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-col-header {
  display: none !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis-frame {
  padding: 0 !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis-frame-limited,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis-cushion,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid-sync-inner {
  padding: 0 !important;
  margin: 0 !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid-section,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid-section-header,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid-section-body {
  border: 0 !important;
  box-shadow: none !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid table,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid thead,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid tbody,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid tr,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid td,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scrollgrid th {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-body,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-slots,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-col,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-slot {
  border: 0 !important;
  box-shadow: none !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-slot-lane,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-axis {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scroller,
.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-body {
  overflow: hidden !important;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scroller::-webkit-scrollbar {
  display: none;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-scroller {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ez2d-fe-calendar-card.ez2d-fe-calendar-embed .fc-timegrid-slot {
  height: 16px !important;
}

/* ===========================
   SLOT CARDS
   =========================== */
.ez2d-slot-wrap {
  border-radius: 12px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ez2d-slot-wrap.mine { background: rgba(22, 163, 74, 0.16); }
.ez2d-slot-wrap.avail { background: rgba(37, 99, 235, 0.14); }
.ez2d-slot-wrap.other { background: rgba(148, 163, 184, 0.18); }

/* ===========================
   SLOT BUTTONS
   =========================== */
.ez2d-slot-btns {
  display: flex;
  gap: 4px;
  margin-top: 2px;
  pointer-events: auto;
}

.ez2d-slot-btn {
  flex: 1 1 0;
  border-radius: 999px;
  border: none;
  padding: 4px 6px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  pointer-events: auto;
}

.fc .ez2d-slot-wrap,
.fc .ez2d-slot-btn,
.fc .ez2d-slot-btns {
  pointer-events: auto;
}

.ez2d-slot-book   { background: var(--ez2d-primary, #2563eb); color: #fff; }
.ez2d-slot-change { background: #e5e7eb;  color: #374151; }
.ez2d-slot-cancel { background: #fee2e2;  color: #b91c1c; }

/* ===========================
   RESCHEDULE MODE HIGHLIGHT
   =========================== */
.ez2d-resched-mode .ez2d-slot-wrap.avail {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.75);
}

/* ===========================
   FOCUSED LESSON (PORTAL MANAGE)
   =========================== */
.ez2d-fe-focus-lesson {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.9), 0 0 20px rgba(245, 158, 11, 0.5);
  border-radius: 10px;
}

/* ==========================================================================
   FINAL, CLEAN, JS-CONTROLLED DRAWER SYSTEM
   ========================================================================== */

#ez2d-fe-lesson-drawer {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .20s ease-out, transform .20s ease-out;
  width: 520px;
  max-width: calc(100% - 36px);
  z-index: 999999;
  display: none; /* JS adds .open and display:block */
}

#ez2d-fe-lesson-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Drawer inner card */
.ez2d-fe-drawer-inner {
  background: #f5f6f9; /* light grey */
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
  padding: 16px 18px 14px;
  border-left: 4px solid var(--ez2d-primary, #2563eb);
  box-sizing: border-box;
}

/* ===========================
   DYNAMIC ARROW (Black, shadow)
   =========================== */
#ez2d-fe-lesson-drawer.open::after {
  content: "";
  position: absolute;
  top: -16px;

  /* Arrow is centered under drawer  drawer is positioned by JS */
  left: var(--ez2d-drawer-arrow-left, 50%);
  transform: translateX(-50%) scale(.92);
  animation: ez2d-arrow-pop .18s ease-out forwards;

  width: 0;
  height: 0;

  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 16px solid rgba(0,0,0,0.85); /* black */

  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.25));
}

#ez2d-fe-lesson-drawer.ez2d-drawer-above::after {
  top: auto;
  bottom: -16px;
  border-bottom: 0;
  border-top: 16px solid rgba(0,0,0,0.85);
}

@keyframes ez2d-arrow-pop {
  0% { transform: translateX(-50%) scale(.75); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* ===========================
   DRAWER BUTTONS
   =========================== */
.ez2d-fe-drawer-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.ez2d-fe-drawer-actions button {
  flex: 1;
}

/* ==========================================================================
   UNIFIED MODALS
   ========================================================================== */

.ez2d-fe-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.ez2d-fe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

.ez2d-fe-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: 92%;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: ez2d-modal-pop .15s ease-out;
  text-align: center;
}

@keyframes ez2d-modal-pop {
  0% { transform: translate(-50%, -50%) scale(.9); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Buttons inside modal */
.ez2d-btn-primary { background:#2563eb !important; color:#fff !important; padding:10px 22px; border-radius:8px; border:none; }
.ez2d-btn-danger { background:#d32f2f !important; color:#fff !important; padding:10px 22px; border-radius:8px; border:none; }
.ez2d-btn-secondary { background:#ddd !important; color:#333 !important; padding:10px 22px; border-radius:8px; border:none; }
#ez2d-fe-pickup option {
  padding: 6px 4px;
  border-bottom: 1px solid #e5e7eb;
}
#ez2d-fe-pickup option:last-child {
  border-bottom: none;
}
<label class="ez2d-label">
    <span>Pickup Location</span>

    <!-- Custom dropdown root -->
    <div id="ez2d-pickup-dd" class="ez2d-dd">
        <div class="ez2d-dd-selected">Loading</div>
        <div class="ez2d-dd-list"></div>
    </div>
</label>

<!-- Hidden input (so booking/reschedule still works) -->
<input type="hidden" id="ez2d-fe-pickup">
.ez2d-dd-selected {
    background: #e0ebff;       /* light blue highlight */
    border: 1px solid #2563eb; /* primary border */
    border-radius: 8px;
    padding: 6px 10px;
}

.ez2d-dd-item-active {
    background: #eef3ff;
    border-left: 3px solid #2563eb;
}
.ez2d-dd {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
}

.ez2d-dd-selected {
    font-weight: 600;
    margin-bottom: 6px;
}

.ez2d-dd-list {
    border-top: 1px solid #eee;
    margin-top: 6px;
    padding-top: 6px;
}

.ez2d-dd-item {
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background 0.2s;
}

.ez2d-dd-item:hover {
    background: #f0f4ff;
}

.ez2d-dd-item.active {
    background: #dbeafe;
    border-left: 4px solid #2563eb;
    padding-left: 6px;
}
.ez2d-fe-drawer-header

// Store the event ID for reschedule
rescheduleMode   = true;
rescheduleFromId = currentEvent.id;

// Add red highlight to the OLD lesson
$(".fc-event").removeClass("ez2d-resched-from"); // clean first
const evEl = calendar.getEventById(currentEvent.id);
if (evEl) {
    const dom = evEl.el;
    if (dom) $(dom).addClass("ez2d-resched-from");
}

// Close drawer
$drawer.removeClass("open").attr("aria-hidden", "true");

// Open modal
$("#ez2d-fe-resched-modal").fadeIn(120);

/* Fix slot button sizing for "Edit / Cancel" */
.ez2d-slot-btn {
    padding: 4px 6px;
    font-size: 11px;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
}
/* Apple pill look for slot background */
.ez2d-slot-wrap {
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.18);
}
/* REMOVE the selected-address header */
#ez2d-pickup-dd .ez2d-dd-selected {
    display: none !important;
}
/* ============================================================
   RESTORE APPLE-STYLE CALENDAR VISUALS
   (Only appearance  no structural changes)
   ============================================================ */

/* --------------------------
   Light-pink TODAY column
   -------------------------- */
.fc-daygrid-day.fc-day-today,
.fc-timegrid-col.fc-day-today {
    background: #ffe7ec !important; /* light soft pink */
}

.fc-daygrid-day.fc-day-today .fc-daygrid-day-frame,
.fc-timegrid-col.fc-day-today .fc-timegrid-col-frame {
    background: transparent !important;
}

/* --------------------------
   Calendar Card Look
   -------------------------- */
.ez2d-fe-calendar-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 20px 48px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(0,0,0,0.05);
}

/* --------------------------
   FullCalendar header
   -------------------------- */
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 20px;
}

.fc .fc-toolbar-title {
    font-size: 20px;
    font-weight: 600;
}

/* Navigation buttons */
.fc .fc-button-group .fc-button {
    background: #eef2ff;
    color: #374151;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: #e0e7ff !important;
}

/* --------------------------
   Day headers
   -------------------------- */
.fc-col-header-cell {
    background: #f8fafc;
    padding: 10px 0 !important;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* --------------------------
   Timegrid slots
   -------------------------- */
.fc-timegrid-slot {
    height: 50px !important;
    border-color: #e2e8f0 !important;
}

.fc-timegrid-axis {
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
}

/* --------------------------
   General event shell
   -------------------------- */
.fc-event {
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    overflow: hidden;
}

/* Restore the Apple-style 3D shadow on events */
.ez2d-slot-wrap {
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6),
                0 6px 14px rgba(0,0,0,0.07);
}

/* --------------------------
   Guest notice bar
   -------------------------- */
.ez2d-fe-guest-banner {
    background: #1e3a8a;
    color: #fff;
    padding: 14px 22px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Sign in link in guest bar */
.ez2d-fe-guest-banner a {
    color: #e0e7ff;
    text-decoration: underline;
}

/* Rounding container */
.ez2d-fe-calendar-shell {
    padding: 12px;
}
/* ============================================================
   CONTENT WIDTH CALENDAR (match home page width)
   ============================================================ */

.ez2d-fe-calendar-shell {
    max-width: 1200px !important;
    width: 100% !important;
    padding: 0 20px;
    margin: 0 auto;
}

.ez2d-fe-calendar-card {
    max-width: 1200px !important;
    width: 100% !important;
    padding: 18px 22px;
    border-radius: 24px;
    overflow: visible !important;
    margin: 0 auto;
}

#ez2d-fe-lesson-calendar {
    max-width: 1200px !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .ez2d-fe-calendar-shell,
    .ez2d-fe-calendar-card,
    #ez2d-fe-lesson-calendar {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .ez2d-fe-calendar-shell {
        padding: 0 12px;
    }
}

/* Final override: keep calendar aligned to home content width */
body .ez2d-fe-calendar-shell,
body .ez2d-fe-calendar-card,
body #ez2d-fe-lesson-calendar {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 1200px) {
    body .ez2d-fe-calendar-shell,
    body .ez2d-fe-calendar-card,
    body #ez2d-fe-lesson-calendar {
        max-width: 100% !important;
    }
}

/* ---------------------------------------------
   Mobile responsiveness
   --------------------------------------------- */
@media(max-width: 768px) {

    /* Use WEEK view comfortably */
    .fc {
        font-size: 13px !important;
    }

    /* Make days narrower and allow horizontal scroll */
    .fc-timegrid-slot,
    .fc-timegrid-col,
    .fc-daygrid-day {
        min-width: 110px !important;
    }

    .fc-timegrid-slots {
        white-space: nowrap !important;
    }

    .fc-timegrid-body {
        display: block !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    /* Header adjusts */
    .fc-toolbar-title {
        font-size: 16px !important;
    }

    .fc-button {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

    /* Slot cards adapt */
    .ez2d-slot-wrap {
        padding: 4px 6px;
        border-radius: 10px;
    }

    /* Drawer stays centered & full width */
    #ez2d-fe-lesson-drawer {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 95% !important;
        max-width: 380px !important;
    }
}

/* ---------------------------------------------
   Ultra-small mobile phones
   --------------------------------------------- */
@media(max-width: 480px) {
    .fc {
        font-size: 12px !important;
    }

    .fc-daygrid-day,
    .fc-timegrid-col {
        min-width: 95px !important;
    }

    #ez2d-fe-lesson-drawer {
        max-width: 92% !important;
    }
}
/* FORCE FE CALENDAR OUT OF ITS FIXED WRAPPER */
.ez2d-fe-calendar-shell,
.ez2d-fe-calendar-card,
#ez2d-fe-lesson-calendar {
    width: 100% !important;
    max-width: 100% !important;
}

/* REMOVE THE WHITE BOX LIMITATION */
.ez2d-fe-calendar-shell {
    padding: 0 !important;
    margin: 0 !important;
}

.ez2d-fe-calendar-card {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
@media (max-width: 768px) {
    .fc-timegrid-body {
        overflow-x: auto !important;
        overflow-y: visible !important;
        display: block !important;
        white-space: nowrap;
    }
    .fc-timegrid-col {
        min-width: 160px !important;
        display: inline-block !important;
    }
}
/* AUTO SLOT HEIGHT  FULL DAY FIT WITHOUT SCROLL */
.fc-timegrid-slot {
    height: auto !important;
    min-height: 45px !important;
    padding: 2px 4px !important;
}

.fc-timegrid-slots table {
    height: auto !important;
}

.fc-scroller {
    overflow: visible !important;
    max-height: none !important;
}
/* FULL PAGE CALENDAR  BREAK OUT OF ANY WRAPPER */
body.page-template .ez2d-fe-calendar-shell,
body.page-template .ez2d-fe-calendar-card,
#ez2d-fe-lesson-calendar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any centered parent container */
body.page-template .entry-content > *,
body.page-template .container > *,
body.page-template main > * {
    max-width: 100% !important;
    width: 100% !important;
}
/* MOBILE  FULL WIDTH AND READABLE */
@media (max-width: 768px) {

    /* Day view default */
    #ez2d-fe-lesson-calendar {
        width: 100% !important;
    }

    .fc-timegrid-col {
        min-width: 100% !important;
    }

    .fc-timegrid-body {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
    }

    .fc-scroller {
        overflow: visible !important;
        height: auto !important;
    }

    /* Shrink slot padding for small screens */
    .fc-timegrid-slot {
        min-height: 32px !important;
        padding: 1px 2px !important;
    }

    /* Ensure event tiles visible */
    .fc-event {
        font-size: 12px !important;
        padding: 2px !important;
    }
}

/* ==========================================================================
   Public Products  1200px Layout
   ========================================================================== */

.fe-products-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 0 100px;
    background: var(--ez2d-bg);
    margin-top: 60px;
}

.fe-products-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.fe-product-card {
    position: relative;               /* for ribbon */
    overflow: visible;
    background: var(--ez2d-bg-elevated);
    border-radius: 20px;
    padding: 30px 22px;
    text-align: center;
    border: 1px solid var(--ez2d-border-subtle);
    box-shadow: 0 5px 20px var(--ez2d-primary-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}

.fe-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--ez2d-primary-soft);
}

/* Icon */

.fe-product-icon {
    font-size: 38px;
    text-align: center;
    margin-bottom: 10px;
}

/* Diagonal Ribbon */

.fe-ribbon {
    position: absolute;
    top: 12px;
    left: -40px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    padding: 6px 60px;
    font-size: 13px;
    font-weight: 700;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
    text-align: center;
}

/* Title */

.fe-product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ez2d-text);
    margin-bottom: 20px;
}

/* Price */

.fe-product-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--ez2d-primary-strong);
    margin-bottom: 22px;
}

/* Bullets */

.fe-product-bullets {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    text-align: left;
    color: var(--ez2d-text-soft);
}

.fe-product-bullets li {
    margin-bottom: 8px;
    font-size: 16px;
    padding-left: 20px;
    position: relative;
}

.fe-product-bullets li:before {
    content: "";
    color: var(--ez2d-primary);
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}

/* Sub bullets (description) */

.fe-product-sub-bullets {
    list-style: circle;
    margin: 4px 0 12px 28px;
    padding: 0;
    color: var(--ez2d-text-soft);
}

.fe-product-sub-bullets li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* Button */

.fe-btn-add {
    width: 100%;
    padding: 14px 0;
    background: var(--ez2d-primary);
    color: #fff;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: .2s ease;
    text-align: center;
    white-space: nowrap;
    display: block;
}

.fe-btn-add:hover {
    background: var(--ez2d-primary-strong);
}

/* Mobile */

@media (max-width: 480px) {
    .fe-product-price {
        font-size: 32px;
    }
}

/* Short lesson visibility */
.fc-timegrid-slot {
    min-height: 70px !important;
}

.fc-timegrid-event {
    min-height: 44px !important;
}

.fc-timegrid-event .fc-event-main {
    padding: 4px !important;
}

.ez2d-slot-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
}


/* Short lesson visibility strong */
.fc-timegrid-slot {
    height: 90px !important;
    min-height: 90px !important;
}

.fc-timegrid-event {
    min-height: 60px !important;
}

.ez2d-slot-wrap {
    padding: 10px 12px !important;
    gap: 8px !important;
}

.ez2d-slot-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

/* Align FE time-grid behavior with admin calendar:
   keep native FullCalendar vertical scroll and avoid clipping late slots. */
#ez2d-fe-lesson-calendar .fc .fc-scroller,
#ez2d-fe-lesson-calendar .fc .fc-scroller-liquid-absolute {
    overflow: auto !important;
    max-height: none !important;
    height: auto !important;
}

#ez2d-fe-lesson-calendar .fc .fc-timegrid-body {
    overflow-x: auto !important;
    overflow-y: auto !important;
    height: auto !important;
}

#ez2d-fe-lesson-calendar .fc .fc-timegrid-slot {
    height: 44px !important;
    min-height: 44px !important;
}

/* Compact FE calendar: show more of the day without vertical scrolling */
#ez2d-fe-lesson-calendar .fc .fc-timegrid-slot {
    height: 22px !important;
    min-height: 22px !important;
}

#ez2d-fe-lesson-calendar .fc .fc-timegrid-event {
    min-height: 18px !important;
}

#ez2d-fe-lesson-calendar .fc .fc-timegrid-axis-cushion,
#ez2d-fe-lesson-calendar .fc .fc-timegrid-slot-label-cushion {
    font-size: 11px !important;
    line-height: 1.05 !important;
}

#ez2d-fe-lesson-calendar .ez2d-slot-wrap {
    padding: 3px 5px !important;
    gap: 3px !important;
}

#ez2d-fe-lesson-calendar .ez2d-slot-label {
    font-size: 11px !important;
    line-height: 1.1 !important;
}

#ez2d-fe-lesson-calendar .ez2d-slot-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
}

