/* efp-products-mobile-recreated-v20260910a.css
 * Pixel-accurate Mobile Products Page (< 768px)
 * Strict isolation: only on /products and < 768px.
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

@media (max-width: 767px) {
  body.efp-products-mobile-active,
  body:has(.product-catalog-page) {
    background-color: #faf8f6 !important;
  }

  .product-catalog-page {
    background-color: #faf8f6 !important;
    padding-top: 76px !important;
  }

  .product-catalog-page > section {
    padding-top: 14px !important;
    padding-bottom: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 1. Breadcrumb */
  .product-catalog-page nav[aria-label="Breadcrumb"] {
    margin-bottom: 6px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.14em !important;
    color: #78716c !important;
  }
  .product-catalog-page nav[aria-label="Breadcrumb"] a {
    color: #78716c !important;
  }
  .product-catalog-page nav[aria-label="Breadcrumb"] span {
    color: #2b0718 !important;
  }

  /* 2. Page Title: PRODUCTS in Cormorant Garamond serif */
  .product-catalog-page h1 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    color: #2b0718 !important;
    text-align: center !important;
    letter-spacing: -0.01em !important;
    margin-top: 2px !important;
    margin-bottom: 14px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  /* 3. 2x2 Category Grid */
  .product-catalog-page .category-navigation {
    margin-bottom: 16px !important;
  }
  .product-catalog-page .category-navigation .no-scrollbar {
    overflow: visible !important;
  }
  .product-catalog-page .category-navigation .category-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: row !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 10px !important;
  }
  .product-catalog-page .category-navigation .category-list .category-item {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 10px !important;
    border: 1px solid #f0ece9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 128px !important;
    transition: transform 0.15s ease, border-color 0.15s ease !important;
  }
  .product-catalog-page .category-navigation .category-list .category-item:active {
    transform: scale(0.98) !important;
  }
  .product-catalog-page .category-navigation .category-list .category-item .image {
    height: 76px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 4px !important;
  }
  .product-catalog-page .category-navigation .category-list .category-item .image .category-tab-image {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  .product-catalog-page .category-navigation .category-list .category-item .category-tab-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #2b0718 !important;
    letter-spacing: -0.01em !important;
    margin-top: 4px !important;
    margin-bottom: 2px !important;
    text-transform: none !important;
    line-height: 1.2 !important;
  }

  /* 4. Filters & Product Count Row */
  .product-catalog-page .mb-5.flex.items-center.justify-between.lg\:hidden {
    margin-bottom: 14px !important;
  }
  .product-catalog-page .mb-5.flex.items-center.justify-between.lg\:hidden > button {
    height: 31px !important;
    padding: 0 14px !important;
    border-radius: 9999px !important;
    border: 1px solid #2b0718 !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    color: #2b0718 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  .product-catalog-page .mb-5.flex.items-center.justify-between.lg\:hidden > span {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: #44403c !important;
    text-transform: uppercase !important;
  }

  /* 5. Product List & Product Cards (Refined 3-Row Grid) */
  .product-catalog-page .product-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .product-catalog-page .product-list .product-card {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    grid-template-rows: 24px minmax(95px, auto) 32px !important;
    column-gap: 8px !important;
    row-gap: 4px !important;
    background-color: #ffffff !important;
    border-radius: 18px !important;
    padding: 14px 14px 14px 16px !important;
    border: 1px solid #f0ece9 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 180px !important;
  }

  .product-catalog-page .product-list .product-card .header {
    display: contents !important;
  }

  .product-catalog-page .product-list .product-card .header .info {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-right: 4px !important;
    z-index: 2 !important;
  }

  .product-catalog-page .product-list .product-card .header .info .product-card-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: #2b0718 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .product-catalog-page .product-list .product-card .header .info .sku {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #78716c !important;
    text-transform: uppercase !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
  }

  .product-catalog-page .product-list .product-card .header .info .dimensions {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: #57534e !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  .product-catalog-page .product-list .product-card .header .info .product-tag {
    display: inline-block !important;
    margin-top: 6px !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    background-color: #faeef0 !important;
    color: #701a35 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    align-self: flex-start !important;
  }

  .product-catalog-page .product-list .product-card .header .actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    z-index: 3 !important;
  }

  .product-catalog-page .product-list .product-card .header .actions .quick-quote-button {
    height: 23px !important;
    min-height: 23px !important;
    padding: 0 10px !important;
    border-radius: 9999px !important;
    border: 1px solid #d6d3d1 !important;
    background-color: #ffffff !important;
    color: #1c1917 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  .product-catalog-page .product-list .product-card .main-image {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    max-height: 98px !important;
    margin: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }

  .product-catalog-page .product-list .product-card .main-image .product-card-image {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    padding: 1px !important;
  }

  .product-catalog-page .product-list .product-card .footer {
    display: contents !important;
  }

  .product-catalog-page .product-list .product-card .footer .quote-button {
    grid-column: 1 !important;
    grid-row: 3 !important;
    height: 29px !important;
    padding: 0 12px !important;
    border-radius: 9999px !important;
    border: 1px solid #5c152b !important;
    background-color: transparent !important;
    color: #5c152b !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    align-self: center !important;
    width: fit-content !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants {
    grid-column: 2 !important;
    grid-row: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    max-width: 100% !important;
    align-self: center !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .thumbnail-list {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    overflow-x: auto !important;
    padding-bottom: 0 !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .thumbnail-list .thumbnail {
    width: 18px !important;
    height: 18px !important;
    padding: 1px !important;
    border-radius: 3px !important;
    border: 1px solid #e7e5e4 !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .thumbnail-list .thumbnail[aria-pressed="true"] {
    outline: 1.5px solid #701a35 !important;
    outline-offset: 1px !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .thumbnail-list .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .more {
    width: 14px !important;
    height: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a8a29e !important;
    padding: 0 !important;
  }

  .product-catalog-page .product-list .product-card .footer .variants .more svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* 6. Unified Modern Mobile Footer on /products */
  body.efp-products-mobile-active footer.bg-\[var\(--efp-deep-wine\)\],
  body:has(.product-catalog-page) footer.bg-\[var\(--efp-deep-wine\)\] {
    display: none !important;
  }

  .efp-products-mobile-footer {
    display: block !important;
    background-color: #f5f0ed !important;
    padding: 24px 20px 28px 20px !important;
    border-top: 1px solid #ebe4e0 !important;
  }

  .efp-products-mobile-footer .brand-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #e5ded8 !important;
  }

  .efp-products-mobile-footer .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .efp-products-mobile-footer .brand-logo .rn-circle {
    width: 28px !important;
    height: 28px !important;
    border-radius: 9999px !important;
    border: 1.5px solid #2b0718 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
    letter-spacing: -0.05em !important;
    color: #2b0718 !important;
  }

  .efp-products-mobile-footer .brand-logo .brand-text {
    font-weight: 900 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    color: #2b0718 !important;
    line-height: 1 !important;
  }

  .efp-products-mobile-footer .brand-logo .since-text {
    font-size: 7px !important;
    font-weight: 600 !important;
    color: #a8a29e !important;
    letter-spacing: 0.16em !important;
    margin-top: 2px !important;
  }

  .efp-products-mobile-footer .divider {
    height: 24px !important;
    width: 1px !important;
    background-color: #d6d3d1 !important;
  }

  .efp-products-mobile-footer .tagline {
    font-size: 7.5px !important;
    font-weight: 700 !important;
    color: #78716c !important;
    letter-spacing: 0.12em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
  }

  .efp-products-mobile-footer .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 0 !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #57534e !important;
  }

  .efp-products-mobile-footer .nav-links a {
    color: #57534e !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
  }

  .efp-products-mobile-footer .nav-links a:hover {
    color: #701a35 !important;
  }

  .efp-products-mobile-footer .copyright {
    font-size: 8px !important;
    color: #a8a29e !important;
    text-align: center !important;
    margin: 0 !important;
    padding-top: 4px !important;
  }
}

@media (min-width: 768px) {
  .efp-products-mobile-footer {
    display: none !important;
  }
}


@media (max-width: 767px) {
  body:not(.efp-products-mobile-active) .efp-products-mobile-footer {
    display: none !important;
  }
}
