.dfl-trust-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 8px;
    box-sizing: border-box;
}

/* DFL Trust Benefit Cards */
.dfl-trust-card {
    width: 100%;
    height: 70px;
    min-height: 70px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.dfl-trust-card .info-box-icon {
    flex: 0 0 auto;
}

.dfl-trust-card .info-box-content {
    flex: 1;
    min-width: 0;
}

.dfl-trust-card .info-box-title {
    font-size: 14px !important;
    line-height: 18px !important;
    margin-bottom: 0 !important;
}

/* Equal height fix for Customer Support card */
.dfl-support-card {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.dfl-support-card .info-box-title {
    white-space: normal !important;
    margin: 0 !important;
    line-height: 18px !important;
}


/* DFL Shop by Category – Premium Cards */
.dfl-category-grid .category-grid-item .wrapp-category {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e6ec !important;
    border-radius: 12px !important;
    min-height: 175px;
    padding: 15px 8px 10px !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* Circular blue image area */
.dfl-category-grid .category-image-wrapp {
    width: 88px !important;
    height: 88px !important;
    min-height: 88px;
    margin: 0 auto 10px !important;
    padding: 6px !important;
    border: 2px solid #3F63A8 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-sizing: border-box;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Category image */
.dfl-category-grid .category-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    transform: none !important;
}

/* Title area */
.dfl-category-grid .hover-mask {
    width: 100%;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Category name */
.dfl-category-grid .wd-entities-title {
    margin: 0 !important;
    min-height: 36px;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    color: #111827 !important;
    text-align: center !important;
    text-transform: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Small blue line under category name */
.dfl-category-grid .hover-mask::after {
    content: "";
    display: block;
    width: 20px;
    height: 3px;
    margin-top: 6px;
    background: #3F63A8;
    border-radius: 10px;
}

/* Remove image zoom on hover */
.dfl-category-grid .category-grid-item:hover .category-image {
    transform: none !important;
}


/* =========================================
   DFL Express - Homepage Round Brand Logos
   ========================================= */

/* Perfect round brand container */
.page-id-53 .brands-widget .wd-brand-item {
    width: 105px !important;
    height: 105px !important;
    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    background: #ffffff !important;
    border: 2px solid #3F63A8 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Keep the whole circle clickable */
.page-id-53 .brands-widget .wd-brand-item > a.wd-fill {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;

    z-index: 2 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
}

/* Brand logo inside circle */
.page-id-53 .brands-widget .wd-brand-item > img {
    display: block !important;

    width: auto !important;
    height: auto !important;
    max-width: 78px !important;
    max-height: 45px !important;

    object-fit: contain !important;
    margin: 0 auto !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* Subtle premium hover */
.page-id-53 .brands-widget .wd-brand-item {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.page-id-53 .brands-widget .wd-brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #2F55A4 !important;
}