/* efp-projects-mobile-recreated-v20260911e.css
 * Precision B2B Mobile Projects for Event Furniture Pro
 * Strict isolation: < 768px on /projects only.
 * Full Backend Data Hydration & Functional Navigation.
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.efp-proj-mobile-root {
  display: none;
}

@media (max-width: 767px) {
  html {
    scroll-behavior: smooth !important;
  }

  body.efp-projects-mobile-active {
    overflow-x: hidden !important;
    background-color: #f7f5f4 !important;
  }

  /* Header adjustments on mobile projects: 56px slim, clean white */
  body.efp-projects-mobile-active header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 100 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0eded !important;
    transform: none !important;
  }
  body.efp-projects-mobile-active header .h-\[72px\],
  body.efp-projects-mobile-active header .lg\:h-\[90px\] {
    height: 56px !important;
  }
  body.efp-projects-mobile-active .efp-header-logo-image {
    height: 26px !important;
    width: auto !important;
  }

  /* Header Cart Badge (gold circle "2") */
  .efp-header-cart-badge {
    position: absolute !important;
    top: 2px !important;
    right: 0px !important;
    background-color: #cda158 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  /* Completely hide desktop projects sections, empty .projects-page, and desktop footer */
  body.efp-projects-mobile-active .projects-page,
  body.efp-projects-mobile-active .page-home-aligned-hero,
  body.efp-projects-mobile-active #project-archive,
  body.efp-projects-mobile-active section[aria-labelledby="featured-work"],
  body.efp-projects-mobile-active footer,
  body.efp-projects-mobile-active #root > footer {
    display: none !important;
  }

  /* Show mobile root strictly when active */
  body.efp-projects-mobile-active .efp-proj-mobile-root {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #f7f5f4 !important;
    color: #1a1a1a !important;
    overflow-x: hidden !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.45 !important;
    padding-top: 0 !important;
  }

  /* Universal font resets inside mobile root */
  #root .efp-proj-mobile-root,
  #root .efp-proj-mobile-root * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box !important;
  }

  /* Cormorant Garamond Serif Headings */
  #root .efp-proj-mobile-root h1,
  #root .efp-proj-mobile-root h2,
  #root .efp-proj-mobile-root h3,
  #root .efp-proj-mobile-root .font-serif,
  #root .efp-proj-mobile-root .efp-proj-hero-title,
  #root .efp-proj-mobile-root .efp-feat-title,
  #root .efp-proj-mobile-root .efp-card-title,
  #root .efp-proj-mobile-root .efp-cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
  }

  /* Specificity overrides against global .efp-type-scale */
  body.efp-projects-mobile-active .efp-feat-title,
  .efp-type-scale body.efp-projects-mobile-active .efp-feat-title,
  #root .efp-proj-mobile-root .efp-feat-title {
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
  }
  body.efp-projects-mobile-active .efp-card-title,
  .efp-type-scale body.efp-projects-mobile-active .efp-card-title,
  #root .efp-proj-mobile-root .efp-card-title {
    font-size: 14px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
  }
  body.efp-projects-mobile-active .efp-cta-title,
  .efp-type-scale body.efp-projects-mobile-active .efp-cta-title,
  #root .efp-proj-mobile-root .efp-cta-title {
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  /* ================= SECTION 1: HERO & FEATURED CARD ================= */
  .efp-proj-hero-sec {
    position: relative !important;
    padding: 22px 16px 14px 16px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
  }
  .efp-proj-hero-top {
    position: relative !important;
    min-height: 155px !important;
  }
  .efp-proj-hero-text {
    position: relative !important;
    z-index: 2 !important;
    max-width: 225px !important;
  }
  .efp-proj-hero-eyebrow {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    color: #80183b !important;
    text-transform: uppercase !important;
    margin: 0 0 6px 0 !important;
    white-space: nowrap !important;
  }
  .efp-proj-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #220512 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 8px 0 !important;
  }
  .efp-proj-hero-copy {
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: #44403c !important;
    margin: 0 !important;
  }
  .efp-proj-hero-couple {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 310px !important;
    max-width: 80% !important;
    height: 180px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }
  .efp-proj-hero-couple img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right top !important;
  }

  /* Featured Project Card inside Hero */
  .efp-feat-card-wrap {
    position: relative !important;
    z-index: 5 !important;
    margin-top: 14px !important;
  }
  .efp-feat-card {
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
    min-height: 195px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 15px 16px 13px 16px !important;
    background-color: #1a040d !important;
  }
  .efp-feat-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
  }
  .efp-feat-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(20,4,10,0.45) 0%, rgba(20,4,10,0.2) 30%, rgba(15,3,8,0.88) 100%) !important;
    z-index: 1 !important;
  }
  .efp-feat-content {
    position: relative !important;
    z-index: 2 !important;
  }
  .efp-feat-tag {
    color: #d8b48d !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }
  .efp-feat-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.01em !important;
  }
  .efp-feat-type {
    color: rgba(255,255,255,0.92) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    margin: 0 0 2px 0 !important;
  }
  .efp-feat-sub {
    color: rgba(255,255,255,0.7) !important;
    font-size: 10px !important;
    margin: 0 0 12px 0 !important;
  }
  .efp-feat-actions {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .efp-feat-btn {
    background-color: #80183b !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(128,24,59,0.3) !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
  }
  .efp-feat-btn:active {
    transform: scale(0.96) !important;
  }
  .efp-feat-dots {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
  }
  .efp-feat-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .efp-feat-dot.active {
    width: 7px !important;
    height: 7px !important;
    background: #ffffff !important;
  }

  /* ================= SECTION 2: FILTER BAR & COUNTER ================= */
  .efp-proj-filter-sec {
    background-color: #1c040d !important;
    padding: 16px 16px 14px 16px !important;
  }
  .efp-filter-pills-row {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .efp-filter-pill {
    flex: 1 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 42px !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
  }
  .efp-filter-pill:active {
    background: rgba(255,255,255,0.12) !important;
  }
  .efp-pill-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .efp-pill-label {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: rgba(255,255,255,0.6) !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
  }
  .efp-pill-value {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.1 !important;
  }
  .efp-pill-chevron {
    color: rgba(255,255,255,0.6) !important;
    margin-left: 6px !important;
    flex-shrink: 0 !important;
  }
  .efp-filter-counter {
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    margin: 14px 0 2px 2px !important;
    letter-spacing: -0.01em !important;
  }

  /* ================= SECTION 3: PROJECT CARDS LIST & PAGINATION ================= */
  .efp-proj-cards-sec {
    background-color: #f7f5f4 !important;
    padding: 16px 16px 24px 16px !important;
  }
  .efp-proj-cards-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .efp-proj-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
    text-decoration: none !important;
    color: inherit !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }
  .efp-proj-card:active {
    transform: scale(0.985) !important;
  }
  .efp-card-thumb-wrap {
    width: 118px !important;
    height: 136px !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #f0f0f0 !important;
  }
  .efp-card-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .efp-card-body {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .efp-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    margin: 0 0 4px 0 !important;
    display: block !important;
    letter-spacing: -0.01em !important;
  }
  .efp-card-tags {
    color: #80183b !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
  .efp-card-loc {
    font-size: 9.5px !important;
    color: #666666 !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .efp-card-loc svg {
    color: #80183b !important;
    flex-shrink: 0 !important;
  }
  .efp-card-desc {
    font-size: 9px !important;
    line-height: 1.35 !important;
    color: #666666 !important;
    margin-bottom: 5px !important;
    display: block !important;
  }
  .efp-card-btn {
    color: #80183b !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
  }

  /* ================= SECTION 4: PAGINATION ================= */
  .efp-proj-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
  }
  .efp-page-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid #d4cdcf !important;
    background: #ffffff !important;
    color: #444444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
  }
  .efp-page-btn:active {
    transform: scale(0.92) !important;
  }
  .efp-page-btn.num-btn {
    border-color: #e0d8db !important;
    color: #80183b !important;
  }
  .efp-page-btn.num-btn.active {
    background-color: #80183b !important;
    border-color: #80183b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  .efp-page-btn.next-btn {
    border-color: #4a3e42 !important;
    color: #111111 !important;
  }
  .efp-page-btn.disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
  }

  /* ================= SECTION 5: BOTTOM CTA BANNER ================= */
  .efp-proj-cta-sec {
    background-color: #1a030d !important;
    padding: 28px 16px 36px 16px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 200' preserveAspectRatio='none'%3E%3Cpath d='M-50,150 C100,50 250,220 550,80' fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-opacity='0.08'/%3E%3Cpath d='M-50,80 C150,200 350,30 550,150' fill='none' stroke='%23d4af37' stroke-width='1.2' stroke-opacity='0.12'/%3E%3Cpath d='M-20,20 C180,180 320,80 520,180' fill='none' stroke='%23ffffff' stroke-width='0.8' stroke-opacity='0.06'/%3E%3C/svg%3E") !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .efp-cta-eyebrow {
    color: #d4af37 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
  }
  .efp-cta-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
  }
  .efp-cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  .efp-cta-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: #80183b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: transform 0.15s ease !important;
  }
  .efp-cta-btn:active {
    transform: scale(0.92) !important;
  }

  /* ================= FILTER BOTTOM SHEET MODAL ================= */
  .efp-proj-modal-backdrop {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.65) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9999 !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }
  .efp-proj-modal-backdrop.active {
    display: block !important;
    opacity: 1 !important;
  }
  .efp-proj-modal-sheet {
    display: none !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-height: 75vh !important;
    background: #1c040d !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5) !important;
    z-index: 10000 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
  }
  .efp-proj-modal-sheet.active {
    display: flex !important;
    transform: translateY(0) !important;
  }
  .efp-sheet-handle {
    width: 36px !important;
    height: 4px !important;
    background: rgba(255,255,255,0.25) !important;
    border-radius: 2px !important;
    margin: 10px auto 4px auto !important;
  }
  .efp-sheet-header {
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .efp-sheet-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }
  .efp-sheet-close {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
  }
  .efp-sheet-options {
    padding: 12px 16px 30px 16px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .efp-sheet-opt {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
  }
  .efp-sheet-opt:active,
  .efp-sheet-opt.active {
    background: rgba(128,24,59,0.35) !important;
    border-color: #80183b !important;
  }
  .efp-sheet-opt.active span:last-child {
    color: #ffffff !important;
    font-weight: 700 !important;
  }
}


@media (max-width: 767px) {
  body:not(.efp-projects-mobile-active) .efp-proj-mobile-root {
    display: none !important;
  }
}
