/*
 * Custom styles for Hanwei Sports theme
 * Additional overrides and enhancements beyond style.css
 */

/* ============================================
   Shop by Injury/Condition Section
   ============================================ */
.hp-shop-category {
    padding: 80px 0;
    background: #fff;
}

.hp-shop-category__header {
    text-align: center;
    margin-bottom: 48px;
}

.hp-shop-category__header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.hp-shop-category__header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2a7de1;
}

.hp-shop-category__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.hp-shop-category__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 24px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    transition: all 200ms ease;
}

.hp-shop-category__item:hover {
    border-color: #2a7de1;
    box-shadow: 0 4px 16px rgba(42, 125, 225, 0.12);
    transform: translateY(-3px);
}

.hp-shop-category__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f5f7fa;
}

.hp-shop-category__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.hp-shop-category__label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.4;
}

.hp-shop-category__item:hover .hp-shop-category__label {
    color: #2a7de1;
}

/* Responsive: 5 columns -> 3 -> 2 */
@media (max-width: 1024px) {
    .hp-shop-category__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .hp-shop-category__header h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .hp-shop-category__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hp-shop-category {
        padding: 48px 0;
    }
    .hp-shop-category__header h2 {
        font-size: 22px;
    }
    .hp-shop-category__item {
        padding: 16px 10px;
    }
    .hp-shop-category__icon {
        width: 56px;
        height: 56px;
    }
    .hp-shop-category__icon img {
        width: 44px;
        height: 44px;
    }
    .hp-shop-category__label {
        font-size: 12px;
    }
}

/* ============================================
   Mega Menu responsive
   ============================================ */
@media (max-width: 1200px) {
    .mega-menu { min-width: 680px; }
    .mega-menu__image { width: 180px; min-width: 180px; }
    .mega-menu__column { min-width: 120px; }
}
@media (max-width: 992px) {
    .mega-menu { display: none !important; }
}

/* ============================================
   Archive filter enhancements
   ============================================ */
.sub-category-filter { margin-top: 16px; display: none; }
.sub-category-filter.active { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-category-filter a { padding: 6px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 13px; color: var(--color-text-dark); transition: all 200ms; }
.sub-category-filter a:hover, .sub-category-filter a.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ============================================
   Service archive grouped display
   ============================================ */
.service-group { margin-bottom: 40px; }
.service-group__header { margin-bottom: 24px; }
.service-group__header h3 { font-size: 24px; color: var(--color-primary); margin-bottom: 8px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: all 200ms; padding: 24px; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: transparent; }
.service-card__icon { margin-bottom: 16px; color: var(--color-accent); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card h3 a { color: var(--color-primary); text-decoration: none; }
.service-card h3 a:hover { color: var(--color-accent); }
.service-card p { font-size: 14px; color: var(--color-text-light); margin-bottom: 12px; }
.service-card__features { list-style: none; padding: 0; }
.service-card__features li { font-size: 13px; color: var(--color-text-light); padding: 4px 0; padding-left: 16px; position: relative; }
.service-card__features li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent); font-size: 11px; }

/* ============================================
   Product specs table
   ============================================ */
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table th, .specs-table td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 14px; }
.specs-table th { font-weight: 600; color: var(--color-text-dark); width: 140px; background: var(--color-bg-light); }
.specs-table td { color: var(--color-text-light); }

/* ============================================
   Trade Show / Exhibition Section
   ============================================ */
.hp-exhibition {
    padding: 80px 0;
    background: var(--color-bg-light, #f5f7fa);
}
.hp-exhibition__desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--color-text-light, #64748b);
    font-size: 16px;
    line-height: 1.7;
}
.hp-exhibition__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
.hp-exhibition__card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #0d2b4e;
}
.hp-exhibition__card--large {
    grid-row: 1 / 3;
}
.hp-exhibition__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hp-exhibition__card:hover img {
    transform: scale(1.03);
}
.hp-exhibition__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(13,43,78,0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   Certifications Section
   ============================================ */
.hp-certificates {
    padding: 80px 0;
    background: #fff;
}
.hp-certificates__desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--color-text-light, #64748b);
    font-size: 16px;
    line-height: 1.7;
}
.hp-certificates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hp-certificates__card {
    background: var(--color-bg-light, #f5f7fa);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-certificates__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.hp-certificates__icon {
    margin-bottom: 16px;
}
.hp-certificates__card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin-bottom: 4px;
}
.hp-certificates__card p {
    font-size: 14px;
    color: var(--color-text-light, #64748b);
    margin-bottom: 8px;
}
.hp-certificates__auditor {
    display: inline-block;
    font-size: 12px;
    color: #2a7de1;
    background: rgba(42,125,225,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ============================================
   Sales Team Section
   ============================================ */
.hp-team {
    padding: 80px 0;
    background: var(--color-bg-light, #f5f7fa);
}
.hp-team__desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--color-text-light, #64748b);
    font-size: 16px;
    line-height: 1.7;
}
.hp-team__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.hp-team__card {
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 6px;
    padding: 32px 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-team__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.hp-team__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--color-border, #e2e8f0);
}
.hp-team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-team__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin-bottom: 4px;
}
.hp-team__role {
    display: block;
    font-size: 13px;
    color: var(--color-text-light, #64748b);
    margin-bottom: 16px;
}
.hp-team__contact {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #2a7de1;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #2a7de1;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}
.hp-team__contact:hover {
    background: #2a7de1;
    color: #fff;
}

/* ============================================
   Payment Methods Section
   ============================================ */
.hp-payment {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid var(--color-border, #e2e8f0);
}
.hp-payment__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.hp-payment__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.hp-payment__secure {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg-light, #f5f7fa);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-payment__left h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin-bottom: 4px;
}
.hp-payment__left p {
    font-size: 14px;
    color: var(--color-text-light, #64748b);
}
.hp-payment__methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-payment__method {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
    background: var(--color-bg-light, #f5f7fa);
}

/* ============================================
   Responsive: New Sections
   ============================================ */
@media (max-width: 992px) {
    .hp-exhibition__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hp-exhibition__card--large {
        grid-row: auto;
    }
    .hp-certificates__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hp-payment__inner {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 640px) {
    .hp-certificates__grid {
        grid-template-columns: 1fr;
    }
    .hp-team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Print styles
   ============================================ */
@media print {
    .site-header, .site-footer, .cta-banner, .hero__scroll-arrow, .mobile-overlay, .mobile-drawer, .quote-modal { display: none; }
    .hero { min-height: auto; }
    body { font-size: 12pt; }
}

/* ============================================
   PRODUCT MODULE — Sports braces & supports
   ============================================ */

/* Shop by category: item count */
.hp-shop-category__count {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.hp-featured-products__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 8px;
    text-align: center;
}

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Product card */
.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(13,43,78,.12);
}
.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f7fa;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__model {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(13,43,78,.88);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: .3px;
}
.product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__category { margin-bottom: 6px; }
.product-card__category a {
    font-size: 12px;
    font-weight: 600;
    color: #2a7de1;
    text-transform: uppercase;
    letter-spacing: .4px;
    text-decoration: none;
}
.product-card__title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 8px;
}
.product-card__title a { color: #0d2b4e; text-decoration: none; }
.product-card__title a:hover { color: #2a7de1; }
.product-card__excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    gap: 10px;
}
.product-card__moq { font-size: 12px; color: #64748b; }
.product-card__link {
    font-size: 13px;
    font-weight: 600;
    color: #f5762a;
    text-decoration: none;
    white-space: nowrap;
}
.product-card__link:hover { color: #d9631d; }

/* Archive header */
.archive-header--products {
    background: #0d2b4e;
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
}
.archive-header--products h1 { color: #fff; font-size: 34px; margin: 0 0 10px; }
.archive-header--products p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 680px; margin: 0 auto; }
.archive-content { padding: 40px 0 64px; }

/* Category filter */
.prod-filter { margin-bottom: 36px; }
.prod-filter__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.prod-filter__chip {
    display: inline-block;
    padding: 9px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    background: #fff;
    transition: all .15s ease;
}
.prod-filter__chip:hover { border-color: #2a7de1; color: #2a7de1; }
.prod-filter__chip.is-active { background: #0d2b4e; border-color: #0d2b4e; color: #fff; }
.prod-filter__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #f5f7fa;
    border-left: 3px solid #2a7de1;
    border-radius: 0 4px 4px 0;
}
.prod-filter__sub-label {
    font-size: 13px;
    font-weight: 700;
    color: #0d2b4e;
    margin-right: 4px;
}
.prod-filter__sub-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    color: #1e293b;
    text-decoration: none;
    transition: all .15s ease;
}
.prod-filter__sub-chip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.prod-filter__sub-chip:hover { border-color: #2a7de1; color: #2a7de1; }
.prod-filter__sub-chip.is-active { background: #2a7de1; border-color: #2a7de1; color: #fff; }
.prod-filter__all-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}
.prod-filter__all-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s ease;
}
.prod-filter__all-item img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.prod-filter__all-item span { font-size: 13px; font-weight: 600; color: #1e293b; text-align: center; }
.prod-filter__all-item:hover {
    border-color: #2a7de1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42,125,225,.12);
}
.prod-category-desc {
    background: #f5f7fa;
    padding: 18px 24px;
    border-radius: 6px;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}
.products-empty {
    text-align: center;
    padding: 70px 20px;
    background: #f5f7fa;
    border-radius: 6px;
}
.products-empty h3 { font-size: 22px; color: #0d2b4e; margin-bottom: 10px; }
.products-empty p { color: #64748b; margin-bottom: 20px; }

/* Single product */
.product-single { padding: 36px 0 64px; }
.product-detail__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-detail__main-img {
    position: relative;
    background: #f5f7fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}
.product-detail__main-img img { width: 100%; height: auto; display: block; }
.product-detail__model-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #0d2b4e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
}
.product-detail__category { margin-bottom: 10px; }
.product-detail__category a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #2a7de1;
    text-decoration: none;
}
.product-detail__title {
    font-size: 30px;
    line-height: 1.25;
    color: #0d2b4e;
    margin: 0 0 14px;
}
.product-detail__excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}
.product-detail__quick-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.product-detail__quick-specs li {
    display: flex;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}
.qs-label {
    flex: 0 0 110px;
    color: #64748b;
    font-weight: 500;
}
.qs-value { color: #1e293b; font-weight: 600; }
.product-detail__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.p-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.p-badge--cert { background: #e8f1fc; color: #2a7de1; }
.p-badge--oem { background: #fff3e8; color: #f5762a; }
.p-badge--sample { background: #e8f8f0; color: #16a34a; }
.product-detail__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}
.btn--whatsapp:hover { background: #1eb858; border-color: #1eb858; color: #fff; }
/* Product detail CTA buttons: Chat / Email / WhatsApp / Skype */
.btn--cta,
.btn--chat {
    background: #f5762a;
    color: #fff;
    border-color: #f5762a;
}
.btn--cta:hover,
.btn--chat:hover { background: #e0651a; border-color: #e0651a; color: #fff; transform: scale(1.02); }
.btn--email {
    background: #0d2b4e;
    color: #fff;
    border-color: #0d2b4e;
}
.btn--email:hover { background: #15406e; border-color: #15406e; color: #fff; transform: scale(1.02); }
.btn--skype {
    background: #00aff0;
    color: #fff;
    border-color: #00aff0;
}
.btn--skype:hover { background: #0092cc; border-color: #0092cc; color: #fff; transform: scale(1.02); }
.product-detail__cta .btn { padding: 12px 20px; font-size: 14px; }
.product-detail__cta .btn svg { flex: 0 0 auto; }

.product-detail__lower {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}
.product-detail__description h2,
.product-detail__specs h2,
.product-detail__related h2 {
    font-size: 22px;
    color: #0d2b4e;
    margin: 0 0 18px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.spec-table th, .spec-table td {
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.spec-table th {
    width: 42%;
    background: #f5f7fa;
    color: #475569;
    font-weight: 600;
}
.spec-table td { color: #1e293b; }
.product-detail__related { margin-top: 56px; }

/* Responsive */
@media (max-width: 992px) {
    .products-grid,
    .products-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .prod-filter__all-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail__grid { grid-template-columns: 1fr; gap: 32px; }
    .product-detail__lower { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .products-grid,
    .products-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .prod-filter__all-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail__title { font-size: 23px; }
    .archive-header--products h1 { font-size: 26px; }
    .product-card__body { padding: 12px; }
    .product-card__excerpt { display: none; }
}

/* ===== Site Logo ===== */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img.custom-logo { height: 52px; width: auto; display: block; }

/* Footer logo */
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo__img { height: 56px; width: auto; display: block; }

@media (max-width: 640px) {
    .site-logo__img { height: 44px; }
    .custom-logo-link img.custom-logo { height: 44px; }
    .footer-logo__img { height: 48px; }
}

/* ===== Products Mega Menu: bold category links (no group headings) ===== */
.mega-menu--products .mega-menu__list li a { font-weight: 600; font-size: 14px; }

/* ===== Single-column mega menu ===== */
.mega-menu__columns--1 { min-width: 240px; }
.mega-menu--resources:has(.mega-menu__columns--1) { min-width: 260px; }

/* ===== Certificates Gallery ===== */
.hp-certificates__gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.hp-certificates__frame { background: #fff; border: 1px solid var(--color-border, #e2e8f0); border-radius: 6px; padding: 10px; box-shadow: 0 2px 8px rgba(13,43,78,0.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.hp-certificates__frame:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(13,43,78,0.12); }
.hp-certificates__frame img { width: 100%; height: auto; display: block; border-radius: 2px; }
@media (max-width: 1200px) { .hp-certificates__gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .hp-certificates__gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ===== Floating Quick Email Button ===== */
.floating-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floating-contact__quick {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 43, 78, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.floating-contact__quick:hover,
.floating-contact__quick:focus {
    color: #fff;
    transform: scale(1.1);
}
.floating-contact__quick--email { background: #2a7de1; }
.floating-contact__quick--email:hover { box-shadow: 0 6px 18px rgba(42, 125, 225, 0.55); }
@media (max-width: 768px) {
    .floating-contact__quick { width: 42px; height: 42px; }
}

/* Floating Quick WhatsApp Button - green background */
.floating-contact__quick--whatsapp { background: #25D366; }
.floating-contact__quick--whatsapp:hover { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55); }
