/* Divinity Crystals · scoped icon sizing safeguard · staging only.
   Fixes massive black "+" in Pyrite product accordion and unbounded footer logos. */

body.single-product label[for^="info-"] {
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: min(100%, 820px);
    max-width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    margin: 8px 0 10px;
    border: 1px solid #dcd0b2;
    border-radius: 10px;
    background: #faf8f2;
    box-shadow: 0 2px 9px rgba(10,31,58,.045);
    color: #0b1f3a;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    overflow: hidden;
}
body.single-product label[for^="info-"] > br {
    display: none !important;
}
body.single-product label[for^="info-"] svg,
body.single-product label[for^="info-"] > svg {
    box-sizing: content-box !important;
    display: inline-block !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    vertical-align: middle !important;
    aspect-ratio: 1 / 1;
    fill: currentColor;
    transform: none !important;
    overflow: visible !important;
}
body.single-product label[for^="info-"] svg path {
    fill: currentColor;
}

/* Cross-page social icon controls. The existing footer plugin emits SVGs
   without intrinsic dimensions, so keep their boxes independently bounded. */
body .dc-social-footer-v1 .dc-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 14px;
    row-gap: 8px;
    max-width: 100%;
}
body .dc-social-footer-v1 .dc-social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
}
body .dc-social-footer-v1 .dc-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;
    overflow: hidden !important;
    line-height: 1 !important;
}
body .dc-social-footer-v1 .dc-social-icon svg {
    box-sizing: border-box !important;
    display: block !important;
    position: static !important;
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    min-height: 19px !important;
    max-width: 19px !important;
    max-height: 19px !important;
    flex: 0 0 19px !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    transform: none !important;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    overflow: visible !important;
}
body .dc-social-footer-v1 .dc-social-icon svg [fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}
body .dc-social-footer-v1 .dc-social-link[aria-label*="Facebook"] .dc-social-icon svg path {
    fill: currentColor;
    stroke: none;
}
@media (max-width: 600px) {
    body.single-product label[for^="info-"] {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }
    body .dc-social-footer-v1 .dc-social-links {
        gap: 8px 12px;
    }
}
