/* Extra gallery only on the standard package overview. */
#christmas-templates.kg-has-package-galleries{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#christmas-templates.kg-has-package-galleries .christmas-package{display:flex;flex-direction:column;min-width:0}
.kg-package-gallery{padding:12px;background:#f4ede2;min-width:0}
.kg-gallery-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kg-gallery-panel{margin:0;min-width:0;background:#faf7f0;border:1px solid #e3ddcf;border-radius:8px;overflow:hidden}
.kg-gallery-panel figcaption{font-size:11px;font-weight:600;text-align:center;padding:10px 4px;color:#334235;line-height:1.4}
.kg-gallery-panel .kg-gallery-contents{display:grid;grid-template-columns:repeat(var(--kg-cols),minmax(0,1fr));grid-template-rows:repeat(var(--kg-rows),minmax(0,1fr));gap:5px;padding:12px;aspect-ratio:4/5;min-height:0;background:#edf0e7;box-sizing:border-box}
.kg-gallery-contents img{display:block;width:100%;height:100%;min-height:0;max-width:100%;object-fit:contain;mix-blend-mode:multiply}
.kg-gallery-photo{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f4ede2}
.kg-gallery-options,.kg-gallery-help{display:none}
.kg-gallery-note{font-size:10px!important;line-height:1.5!important;margin:10px 2px 0;color:#5c6555}
.kg-gallery-panel.kg-unavailable{display:none}
.kg-package-gallery[data-photo-unavailable] .kg-gallery-panels{grid-template-columns:1fr}
.kg-package-gallery[data-photo-unavailable] .kg-gallery-options,.kg-package-gallery[data-photo-unavailable] .kg-gallery-help{display:none}
@media(max-width:850px){#christmas-templates.kg-has-package-galleries{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){
 .kg-package-gallery{padding:12px}
 .kg-gallery-panels{display:block}
 .kg-gallery-panel{display:none}
 .kg-gallery-panel.is-active{display:block}
 .kg-gallery-panel figcaption{font-size:12px}
 .kg-gallery-photo{max-height:360px}
 .kg-gallery-panel .kg-gallery-contents{max-height:360px}
 .kg-gallery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
 .kg-gallery-option{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:5px;border:2px solid #d8dbd0;border-radius:8px;background:#faf7f0;color:#334235;font:inherit;font-size:12px;line-height:1.4;cursor:pointer;min-width:0;min-height:44px}
 .kg-gallery-option[aria-pressed=true]{border-color:#6d805e;background:#eaf0e1}
 .kg-gallery-option:focus-visible{outline:3px solid #b08a3e;outline-offset:3px}
 .kg-gallery-thumb{display:block;height:76px;overflow:hidden;border-radius:4px;background:#edf0e7;pointer-events:none}
 .kg-gallery-thumb>img{display:block;width:100%;height:100%;object-fit:contain}
 .kg-gallery-thumb .kg-gallery-contents{display:grid;grid-template-columns:repeat(var(--kg-cols),minmax(0,1fr));grid-template-rows:repeat(var(--kg-rows),minmax(0,1fr));gap:3px;padding:5px;height:100%;box-sizing:border-box}
 .kg-gallery-help{display:block;margin:8px 0 0;text-align:center;font-size:10px!important;color:#5c6555}
 .kg-gallery-note{font-size:10px!important}
}
