
    /* Reset & Base - Odoo friendly, no external conflicts */
    .o_modern_icon_boxes {
      font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      width: 100%;
      margin: 0;
      padding: 0;
    }

    /* row layout: flex, responsive, clean for Odoo editor */
    .icon-boxes-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
      gap: 2rem;
      max-width: 1300px;
      width: 100%;
      margin: 0 auto;
      padding: 0.5rem 0;
    }

    /* modern fancy card - optimized for Odoo HTML editor (no weird overrides) */
    .fancy-card {
      flex: 1 1 280px;
      min-width: 260px;
      background: rgba(255, 255, 245, 0.96);
      backdrop-filter: blur(0px);
      border-radius: 2rem;
      padding: 2rem 1.8rem 2.2rem 1.8rem;
      transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      text-align: center;
      box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0,0,0,0.02);
      border: 1px solid rgba(255, 245, 235, 0.7);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    /* decorative gradient overlay (fancy touch) */
    .fancy-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 30%, rgba(255,245,225,0.5) 0%, rgba(255,255,245,0) 70%);
      pointer-events: none;
      z-index: 0;
    }

    /* individual accent border top using the 3 specified colors: #603813, #85452F, #BD612C */
    .fancy-card:nth-child(1) {
      border-top: 5px solid #603813;
      box-shadow: 0 20px 35px -12px rgba(96, 56, 19, 0.2);
    }
    .fancy-card:nth-child(2) {
      border-top: 5px solid #85452F;
      box-shadow: 0 20px 35px -12px rgba(133, 69, 47, 0.2);
    }
    .fancy-card:nth-child(3) {
      border-top: 5px solid #BD612C;
      box-shadow: 0 20px 35px -12px rgba(189, 97, 44, 0.2);
    }

    /* hover effect: lift + soft glow */
    .fancy-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 32px 48px -18px rgba(0, 0, 0, 0.25);
      border-bottom-right-radius: 2rem;
      border-bottom-left-radius: 2rem;
    }

    /* icon container: modern glassmorphic circle */
    .icon-wrapper {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 85px;
      height: 85px;
      background: rgba(255, 248, 240, 0.9);
      border-radius: 30px;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 12px 18px -8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,240,0.8);
      backdrop-filter: blur(2px);
    }

    .fancy-card:hover .icon-wrapper {
      transform: scale(1.02) rotate(2deg);
      background: white;
      box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
    }

    /* fontawesome icons sizing and dynamic colors (matching each card's main color) */
    .fancy-card i {
      font-size: 3rem;
      transition: transform 0.2s ease, color 0.2s;
    }

    /* per-card icon color using the provided colors */
    .fancy-card:nth-child(1) i {
      color: #603813;
    }
    .fancy-card:nth-child(2) i {
      color: #85452F;
    }
    .fancy-card:nth-child(3) i {
      color: #BD612C;
    }

    .fancy-card:hover i {
      transform: scale(1.05);
      filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    }

    /* title style */
    .card-title {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.35rem;
      background: linear-gradient(135deg, #000000 0%, #000000 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      transition: all 0.2s;
    }

    /* dynamic title color variant: subtle gradient using main color on hover */
    .fancy-card:nth-child(1):hover .card-title {
      background: linear-gradient(135deg, #603813, #8b5a3a);
      background-clip: text;
      -webkit-background-clip: text;
    }
    .fancy-card:nth-child(2):hover .card-title {
      background: linear-gradient(135deg, #85452F, #b6684a);
      background-clip: text;
      -webkit-background-clip: text;
    }
    .fancy-card:nth-child(3):hover .card-title {
      background: linear-gradient(135deg, #BD612C, #e6894b);
      background-clip: text;
      -webkit-background-clip: text;
    }

    /* subtitle style: modern & elegant */
    .card-subtitle {
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 1rem;
      display: inline-block;
      padding: 0.2rem 0.8rem;
      border-radius: 40px;
      background: rgba(0,0,0,0.02);
      backdrop-filter: blur(2px);
    }

    /* dynamic subtitle background + color based on each card's main theme */
    .fancy-card:nth-child(1) .card-subtitle {
      color: #603813;
      background: rgba(96, 56, 19, 0.08);
    }
    .fancy-card:nth-child(2) .card-subtitle {
      color: #85452F;
      background: rgba(133, 69, 47, 0.08);
    }
    .fancy-card:nth-child(3) .card-subtitle {
      color: #BD612C;
      background: rgba(189, 97, 44, 0.08);
    }

    /* description paragraph */
    .card-description {
      font-size: 0.95rem;
      line-height: 1.55;
      color: #000000;
      font-weight: 400;
      margin-top: 1rem;
      opacity: 0.8;
      transition: opacity 0.2s;
      padding: 0 0.2rem;
    }

    .fancy-card:hover .card-description {
      opacity: 1;
      color: #000000;
    }

    /* subtle decorative plus icon (fancy detail) */
    .fancy-card::after {
      content: "✦";
      font-size: 0.8rem;
      position: absolute;
      bottom: 1rem;
      right: 1.3rem;
      opacity: 0.2;
      transition: all 0.2s;
      color: #2c2c28;
      pointer-events: none;
    }

    .fancy-card:hover::after {
      opacity: 0.5;
      transform: rotate(15deg) scale(1.1);
    }

    /* responsive for smaller screens and Odoo backend / frontend consistent */
    @media (max-width: 850px) {
      .icon-boxes-row {
        gap: 1.5rem;
      }
      .fancy-card {
        padding: 1.8rem 1.2rem 1.8rem 1.2rem;
      }
      .card-title {
        font-size: 15px;
      }
      .icon-wrapper {
        width: 72px;
        height: 72px;
      }
      .fancy-card i {
        font-size: 2.5rem;
      }
    }

    @media (max-width: 650px) {
      .icon-boxes-row {
        flex-direction: column;
        align-items: center;
      }
      .fancy-card {
        width: 100%;
        max-width: 380px;
      }
    }

    /* Odoo specific: ensure no unwanted inherited background, clear spacing */
    .o_modern_icon_boxes * {
      box-sizing: border-box;
    }

    /* optional small fix for inline editor (preserve readability) */
    .fancy-card {
      cursor: default;
    }