.storefront-photo-gallery {
    margin-top:var(--web-grid-spacing,24px);
    color:var(--web-main-color,#17251c);
}
.storefront-photo-gallery[hidden],.storefront-photo-gallery [hidden] {display:none;}
.storefront-photo-heading,.storefront-photo-toolbar {
    display:flex;
    align-items:center;
    gap:12px;
}
.storefront-photo-heading {justify-content:space-between;margin-bottom:16px;}
.storefront-photo-heading .section-title {margin:0;padding:0;min-width:0;}
.storefront-google-attribution {display:inline-flex;flex:none;padding:10px 10px 5px;}
.storefront-google-attribution img {display:block;width:98px;height:18px;object-fit:contain;}
.storefront-google-attribution .google-attribution-dark {display:none;}
:root[data-storefront-color-mode="dark"] .storefront-google-attribution .google-attribution-light {display:none;}
:root[data-storefront-color-mode="dark"] .storefront-google-attribution .google-attribution-dark {display:block;}
.storefront-home-google {--storefront-gallery-gutter:var(--storefront-page-gutter,20px);}
:is(.storefront-photo-gallery,.storefront-review-gallery) .products.onerow {
    position:relative;
    padding:0;
    margin-inline:calc(-1 * var(--storefront-gallery-gutter,0px));
    width:calc(100% + 2 * var(--storefront-gallery-gutter,0px));
    background:transparent;
    color:inherit;
}
.storefront-photo-gallery .products.onerow > ul,
.storefront-review-track {
    box-sizing:border-box;
    width:100%;
    padding-inline:var(--storefront-gallery-gutter,0px);
    scroll-padding-inline:var(--storefront-gallery-gutter,0px);
}
.storefront-photo-gallery .products.onerow > ul {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 45px) / 4);
    gap:15px;
    min-width:0;
    padding-block:0;
    overflow:auto hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.storefront-photo-grid::-webkit-scrollbar {display:none;}
.storefront-photo-gallery .products.onerow > ul > li {
    position:relative;
    display:block;
    width:auto;
    min-width:0;
    max-width:none;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    box-shadow:none;
    scroll-snap-align:start;
}
:is(.storefront-photo-gallery,.storefront-review-gallery) .products.onerow .control {
    margin-inline:max(10px,var(--storefront-gallery-gutter,0px));
}
:is(.storefront-photo-carousel,.storefront-review-carousel) .control button {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    border-radius:inherit;
    background:transparent;
    color:inherit;
    font:inherit;
    cursor:pointer;
}
:is(.storefront-photo-carousel,.storefront-review-carousel) .control button:focus-visible {outline:2px solid currentColor;outline-offset:3px;}
.storefront-photo-tile {display:block;overflow:hidden;aspect-ratio:4/3;border-radius:var(--web-border-radius,12px);}
.storefront-photo-tile img {display:block;width:100%;height:100%;object-fit:cover;transition:transform 200ms ease;}
.storefront-photo-tile:hover img {transform:scale(1.04);}
.storefront-photo-tile:focus-visible {outline:2px solid var(--web-highlight-background,#386342);outline-offset:3px;}
.storefront-photo-change {display:none;}
.storefront-editing .storefront-photo-change {
    display:block;
    position:absolute;
    right:12px;
    bottom:12px;
    padding:9px 14px;
    border:1px solid var(--storefront-border,#d9dfdb);
    border-radius:8px;
    background:var(--storefront-surface,#fff);
    color:var(--web-main-color,#17251c);
    box-shadow:0 3px 12px #0003;
    font:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    opacity:0;
    transition:opacity 200ms ease;
}
.storefront-editing li:hover > .storefront-photo-change,
.storefront-editing li:focus-within > .storefront-photo-change {opacity:1;}
.storefront-photo-picker .storefront-photo-toolbar {justify-content:space-between;flex-wrap:nowrap;}
.storefront-photo-picker h3 {flex:1;min-width:0;width:auto;margin:0;font:inherit;font-weight:700;}
.storefront-photo-picker-note,.storefront-photo-picker-status {margin:16px 20px;font-size:14px;}
.storefront-photo-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0 20px;}
.storefront-photo-option {min-width:0;}
.storefront-photo-option-button {
    display:block;width:100%;padding:0;overflow:hidden;
    border:2px solid var(--storefront-border,#d9dfdb);border-radius:10px;
    background:var(--storefront-surface,#fff);color:inherit;font:inherit;cursor:pointer;
}
.storefront-photo-option-button img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;}
.storefront-photo-option-button span {display:block;padding:10px;font-size:14px;font-weight:700;}
.storefront-photo-option-button:is(:hover,[aria-pressed="true"]) {border-color:var(--web-highlight-background,#386342);}
.storefront-photo-option-button:disabled {opacity:.6;cursor:wait;}
.storefront-photo-option-credit {display:block;margin-top:6px;color:inherit;font-size:12px;overflow-wrap:anywhere;}
.storefront-photo-picker-attribution {margin:0 10px 10px;}
@media (hover:none) {.storefront-editing .storefront-photo-change {opacity:1;}}
.storefront-photo-status {position:relative;min-height:150px;display:flex;gap:16px;align-items:center;justify-content:center;}
.storefront-photo-viewer {
    width:min(1100px,calc(100vw - 32px));
    max-height:calc(100dvh - 32px);
    padding:0;
    border:1px solid var(--storefront-border,#d9dfdb);
    border-radius:16px;
    color:var(--web-main-color,#17251c);
    background:var(--storefront-surface,var(--web-main-background,#fff));
    box-shadow:0 20px 60px #0006;
}
.storefront-photo-viewer::backdrop {background:#0009;}
.storefront-photo-toolbar {padding:10px 14px;border-bottom:1px solid var(--storefront-border,#d9dfdb);}
.storefront-photo-toolbar > a {margin-left:auto;color:inherit;font-size:14px;}
.storefront-photo-controls {display:flex;flex:none;gap:6px;}
.storefront-photo-toolbar button,.storefront-photo-status button {
    border:1px solid var(--storefront-border,#d9dfdb);
    border-radius:8px;
    background:transparent;
    color:inherit;
    cursor:pointer;
}
.storefront-photo-toolbar button {width:40px;height:40px;flex:none;font-size:26px;line-height:1;}
.storefront-photo-toolbar button:hover,.storefront-photo-status button:hover {background:var(--storefront-accent-surface,#edf3ee);}
.storefront-photo-status button {padding:8px 12px;font:inherit;}
.storefront-photo-full {display:block;width:100%;height:auto;max-height:calc(100dvh - 185px);object-fit:contain;}
.storefront-photo-authors {display:flex;flex-wrap:wrap;gap:10px 20px;padding:14px;}
.storefront-photo-author {display:inline-flex;align-items:center;gap:8px;color:inherit;font-size:14px;}
.storefront-photo-author img {width:28px;height:28px;border-radius:50%;object-fit:cover;}
@media (max-width:767px) {
    .storefront-photo-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
    .storefront-photo-toolbar {gap:6px;flex-wrap:wrap;}
    .storefront-photo-controls {margin-left:auto;}
    .storefront-photo-toolbar > a {order:1;flex-basis:100%;text-align:right;}
    .storefront-photo-toolbar button {width:36px;height:36px;}
}
@media (max-width:1023px) {
    .storefront-photo-gallery .products.onerow > ul {grid-auto-columns:43%;gap:7px;}
}
@media (prefers-reduced-motion:reduce) {.storefront-photo-tile img {transition:none;}}
