/* Assignment42 presentation scope: development footer and bottle viewer only. */
html body #afri-home-footer{padding:32px clamp(18px,3vw,40px) 18px!important;margin-top:40px!important;font-size:14px;line-height:1.55;text-align:left}
html body #afri-home-footer,html body #afri-home-footer *{box-sizing:border-box}
html body #afri-home-footer>.wp-block-columns{display:grid!important;grid-template-columns:1.2fr .9fr 1.2fr 1.3fr!important;gap:32px!important;align-items:start!important;max-width:1200px;margin:0 auto 24px!important}
html body #afri-home-footer .wp-block-column{min-width:0;margin:0!important;padding:0!important}
html body #afri-home-footer h3{font-size:17px;line-height:1.3;margin:0 0 16px!important;font-weight:650}
html body #afri-home-footer h3:not(:first-child){margin-top:24px!important}
html body #afri-home-footer p{margin:0 0 12px!important;line-height:1.6}
html body #afri-home-footer .ab42-brand-logo{display:block;width:64px!important;height:64px!important;object-fit:contain;margin:0 0 16px!important}
html body #afri-home-footer .ab42-payment-artworks{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px!important}
html body #afri-home-footer .afri-payment-top{display:block!important;width:104px;max-width:100%;margin:0!important}
html body #afri-home-footer .afri-mpesa-art{display:block;width:104px!important;height:auto!important;max-width:100%;margin:0!important;object-fit:contain}
html body #afri-home-footer img[alt="Afri Beauty on Wheels delivery"]{display:block!important;width:104px!important;height:auto!important;max-width:100%;margin:0!important;object-fit:contain}
html body #afri-home-footer .afri-future-payment{display:flex;align-items:center;gap:10px;max-width:250px;font-size:12px;line-height:1.45;margin:0!important}
html body #afri-home-footer .afri-future-payment img{width:76px!important;height:auto!important;object-fit:contain;flex:none}
html body #afri-home-footer .afri-footer-links{display:grid;gap:8px;padding:0!important;margin:0!important;list-style:none}
html body #afri-home-footer .afri-footer-links li{padding:0!important;margin:0!important;line-height:1.55}
html body #afri-home-footer .afri-footer-links a{display:inline-block;text-underline-offset:3px}
html body #afri-home-footer .wp-block-social-links{display:flex;flex-wrap:wrap;gap:8px!important;padding:0!important;margin:0 0 20px!important}
html body #afri-home-footer .wp-block-social-links a{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px}
html body #afri-home-footer iframe{display:block;width:100%!important;height:230px!important;max-width:100%;border:0;border-radius:8px}
html body #afri-home-footer .ab42-directions{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;line-height:1.4;text-underline-offset:3px}
html body #afri-home-footer>.wp-block-separator{max-width:1200px;margin:0 auto 16px!important;opacity:.25}
html body #afri-home-footer>.has-text-align-center{max-width:1200px;margin:0 auto!important;text-align:center!important;font-size:12px!important}
html body #afri-home-footer a:focus-visible,.ab42-zoom-link:focus-visible,.ab42-selected-zoom:focus-visible{outline:3px solid #78512c;outline-offset:4px;border-radius:3px}
@media(max-width:1000px){html body #afri-home-footer>.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px!important}}
@media(max-width:560px){html body #afri-home-footer>.wp-block-columns{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}html body #afri-home-footer{padding:28px 20px 20px!important}html body #afri-home-footer iframe{height:220px!important}html body #afri-home-footer .afri-footer-links a{padding:3px 0}}
/* Links remain usable if the viewer cannot initialize. */
.ab42-viewer-ready #ab21-photo-links{display:none!important}
#ab-bottle-gallery .ab42-bottle-tile{position:relative;min-width:0;height:100%}
#ab-bottle-gallery .ab42-bottle-tile>.ab-bottle-card{width:100%;height:100%}
.ab42-zoom-link{position:absolute;right:7px;top:7px;z-index:2;display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border-radius:50%;background:#fff;color:#49351f!important;border:1px solid #d7c8b5;box-shadow:0 2px 6px #0001;text-decoration:none!important}
.ab42-zoom-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.ab-card-photo{position:relative}
.ab42-lens{position:absolute;display:none;pointer-events:none;width:82px;height:82px;border:2px solid #78512c;border-radius:50%;background-color:#fff;background-repeat:no-repeat;box-shadow:0 2px 10px #0003;z-index:1}
@media(hover:hover) and (pointer:fine){.ab42-lens.ab42-lens-visible{display:block}}
.ab-selected-bottle:not([hidden]){display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e0d4c4;border-radius:8px;margin:12px 0 18px;background:#fcf9f5}
.ab-selected-bottle[hidden]{display:none!important}
#ab-selected-bottle-image{display:block;max-width:72px;max-height:100px;object-fit:contain}
#ab-selected-bottle-image[hidden],#ab-image-pending[hidden]{display:none!important}
.ab42-selected-zoom{display:inline-flex;cursor:zoom-in;flex:none}
.ab42-viewer{padding:0;border:0;border-radius:14px;width:min(940px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);background:#fff;color:#29251f;box-shadow:0 20px 80px #0006}
.ab42-viewer::backdrop{background:rgba(20,15,11,.76)}
.ab42-viewer-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 28px)}
.ab42-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #e7e0d7}
.ab42-viewer-title{font-size:16px;font-weight:600;margin:0;overflow-wrap:anywhere}
.ab42-viewer-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 16px;border-bottom:1px solid #e7e0d7}
.ab42-viewer button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:8px 12px;font:inherit;line-height:1;border:1px solid #d5c8b7;border-radius:7px;background:#fff;color:#49351f;cursor:pointer}
.ab42-viewer button:focus-visible{outline:3px solid #78512c;outline-offset:2px}
.ab42-viewer button:disabled{opacity:.4;cursor:default}
.ab42-zoom-level{margin-left:auto;min-width:48px;text-align:right;font-size:13px}
.ab42-viewport{height:min(66vh,620px);min-height:220px;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative;background:#faf8f5;touch-action:none;cursor:grab;user-select:none}
.ab42-viewport:active{cursor:grabbing}
.ab42-viewer-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;pointer-events:none}
.ab42-viewer-help{font-size:12px;line-height:1.5;margin:0;padding:10px 16px;color:#645b50}
@media(max-width:560px){.ab42-viewer-header{padding:10px 12px}.ab42-viewer-tools{padding:8px 12px}.ab42-viewport{height:60vh}.ab42-viewer-title{font-size:14px}.ab42-zoom-link{min-width:40px;min-height:40px}}
@media(prefers-reduced-motion:reduce){.ab42-viewer-image{will-change:auto}}

.ab42-selected-zoom[hidden]{display:none!important}
/* Clear the earlier footer's absolute-map and stretched-column rules. */
html body #afri-home-footer>.wp-block-columns>.wp-block-column{display:block!important;min-height:0!important;position:static!important}
html body #afri-home-footer .afri-map-column>h3{display:block!important}
html body #afri-home-footer .afri-map-column iframe{position:static!important;inset:auto!important;height:230px!important;min-height:0!important}
html body #afri-home-footer>.wp-block-columns>.wp-block-column:nth-child(3)>h3:nth-of-type(2){margin-top:24px!important}
html body #afri-home-footer>.wp-block-columns>.wp-block-column:nth-child(3)>p:last-child{margin-top:0!important;margin-bottom:12px!important}
@media(max-width:1000px){#ab-bottle-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(190px,auto)}.ab42-zoom-link{min-width:44px;min-height:44px}}

html body #afri-home-footer .ab42-existing-logo{margin:0 0 16px!important}

/* Keep footer copyright above existing floating mobile controls. */
@media(max-width:560px){html body #afri-home-footer{padding-bottom:64px!important}}

@media(max-width:560px){html body #afri-home-footer>.has-text-align-center{padding-inline:44px!important}}
