/* Shop components shared by modern and existing customer templates.
   Keep customer header, navigation, background and footer styles in the theme. */
:where(.etog-storefront) .event-access{max-width:460px;margin:40px auto 80px;text-align:left;color:var(--ink);padding:0 8px}
:where(.etog-storefront) .event-access-back,:where(.etog-storefront) .event-access-back:hover{display:inline-block;padding:0;background:transparent;color:var(--muted);font-size:13px;text-decoration:none;margin-bottom:40px}
:where(.etog-storefront) .event-access-back:hover{text-decoration:underline}
:where(.etog-storefront) .event-access-heading{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin-bottom:14px}
:where(.etog-storefront) .event-access-heading svg{width:22px;height:22px;flex:none}
:where(.etog-storefront) .event-access h1{font:600 30px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:-.5px;margin:0 0 14px;overflow-wrap:anywhere;color:var(--ink)}
:where(.etog-storefront) .event-access-intro{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 28px}
:where(.etog-storefront) .event-access-fields{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:24px}
:where(.etog-storefront) .event-access-fields label{font-size:13px;font-weight:600}
:where(.etog-storefront) #etog_photodisplay .event-access-fields input{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:3px;padding:10px 12px;background:#fff;color:var(--ink);font-size:16px;margin-bottom:12px}
:where(.etog-storefront) .event-access-fields button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:48px;margin-top:6px;padding:12px 16px;border:0;border-radius:3px;background:var(--green,#444);color:#fff;font-weight:600;cursor:pointer}
:where(.etog-storefront) .event-access-fields button:hover{filter:brightness(.9)}
:where(.etog-storefront) .event-access-error{padding:12px 14px;border-left:3px solid #9a342f;background:#fff1ef;color:#8b2925;font-size:14px;line-height:1.5;margin:0 0 24px}
@media(max-width:650px){:where(.etog-storefront) .event-access{margin:12px auto 36px;padding:0}:where(.etog-storefront) .event-access-back{margin-bottom:30px}:where(.etog-storefront) .event-access h1{font-size:26px}}
.etog-storefront,.etog-storefront *,.photo-lightbox,.photo-lightbox *{box-sizing:border-box}
:where(.etog-storefront) button,:where(.etog-storefront) input,:where(.etog-storefront) select,.photo-lightbox button{font:inherit;touch-action:manipulation}
:where(.etog-storefront) :focus-visible,.photo-lightbox :focus-visible{outline:2px solid var(--green,#444);outline-offset:3px}
.etog-storefront--embedded{--ink:#262626;--muted:#666;--line:#ddd;--bg:#fff;--green:#444;--sidebar:0px;width:100%;min-width:0;margin:auto;padding:24px 16px 110px;color:var(--ink);font:14px/1.5 "Segoe UI",Arial,sans-serif;text-align:left;-webkit-text-size-adjust:100%}
.etog-storefront--embedded .event-link,.etog-storefront--embedded .event-link:hover{color:var(--ink);text-decoration:none;padding:10px 4px}
.etog-storefront--embedded .event-link:hover,.etog-storefront--embedded .photo-card__image,.etog-storefront--embedded .basket-photo{background:#eee}
.etog-storefront--embedded .photo-page-count{background:#eee;color:#666}
.etog-storefront--embedded .basket-order-summary{top:24px}
.etog-storefront--embedded .etog_checkout:hover,.etog-storefront--embedded #confcheckout:hover{background:#222}
.photo-lightbox{font:14px/1.5 "Segoe UI",Arial,sans-serif}
:where(.etog-storefront) .theme-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:20px;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:12px;text-align:left}
:where(.etog-storefront) .theme-preview a{color:var(--green,#444);font-weight:600;white-space:nowrap}
:where(.etog-storefront) .collection-heading,:where(.etog-storefront) .gallery-intro{margin:0 0 24px}
:where(.etog-storefront) .gallery-eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
:where(.etog-storefront) .etog_title,:where(.etog-storefront) .collection-heading h1{font:600 26px/1.25 "Segoe UI",Arial,sans-serif;color:var(--ink);margin:0 0 8px;letter-spacing:-.4px;overflow-wrap:anywhere}
:where(.etog-storefront) .gallery-date{display:block;margin:0 0 6px;color:var(--muted);font-size:12px}
:where(.etog-storefront) .gallery-description,:where(.etog-storefront) .collection-heading p{color:var(--muted);margin:0;font-size:13px;max-width:650px}
:where(.etog-storefront) .gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0 18px}
:where(.etog-storefront) .gallery-toolbar h2{margin:0;font-weight:600;font-size:18px}
:where(.etog-storefront) .gallery-toolbar-heading{display:flex;align-items:center;gap:10px}
:where(.etog-storefront) .photo-page-count{font-size:11px;background:var(--surface-muted,#eee);color:var(--muted);padding:3px 7px;border-radius:10px}
:where(.etog-storefront) .page-control{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
:where(.etog-storefront) .page-control select{border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);min-height:36px;padding:4px 8px}
:where(.etog-storefront) .page-control button{width:36px;height:36px;background:#fff;border:1px solid var(--line);border-radius:4px;color:var(--ink);cursor:pointer}
:where(.etog-storefront) .page-control button:disabled{opacity:.4;cursor:default}
:where(.etog-storefront) .gallery-footer{display:flex;justify-content:center;margin-top:24px}
/* Add columns only when each photograph can stay comfortably large. */
:where(.etog-storefront) .photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,clamp(360px,25vw,480px)),1fr));gap:16px;align-items:start}
:where(.etog-storefront) .photo-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px}
:where(.etog-storefront) .photo-card:has(input:checked){border-color:var(--green,#444)}
:where(.etog-storefront) .photo-card__image{background:var(--surface-muted,#eee);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}
:where(.etog-storefront) .photo-preview{position:relative;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;display:grid;place-items:center}
:where(.etog-storefront) .photo-preview .photo-image{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
/* A grid item's intrinsic portrait height must not exceed the preview frame. */
:where(.etog-storefront) .photo-card__image .photo-preview{min-width:0;min-height:0;overflow:hidden}
:where(.etog-storefront) .photo-card__image .photo-preview .photo-image{position:absolute;inset:0;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
:where(.etog-storefront) .photo-watermark{position:absolute;inset:0;pointer-events:none}
:where(.etog-storefront) .photo-watermark img{width:100%;height:100%;object-fit:contain}
:where(.etog-storefront) .photo-zoom-hint{position:absolute;right:8px;bottom:8px;background:#fff;color:var(--ink);border-radius:3px;padding:4px 8px;font-size:11px;opacity:0}
:where(.etog-storefront) .photo-preview:hover .photo-zoom-hint,:where(.etog-storefront) .photo-preview:focus-visible .photo-zoom-hint{opacity:1}
:where(.etog-storefront) .photo-card__details{padding:9px 5px 4px}
:where(.etog-storefront) .photo-reference{display:block;color:var(--muted);font-size:10px;margin-bottom:6px;overflow-wrap:anywhere}
:where(.etog-storefront) .photo-select{display:flex;align-items:center;gap:8px;min-height:32px;font-size:12px;cursor:pointer}
:where(.etog-storefront) .photo-select input{width:18px;height:18px;accent-color:var(--green,#444);margin:0}
:where(.etog-storefront) .photo-select .etog_standard{font-size:12px}
:where(.etog-storefront) .photo-select:has(input:checked){color:var(--green,#444);font-weight:600}
:where(.etog-storefront) .checkout-bar--primary{position:fixed;bottom:0;left:var(--sidebar);right:0;z-index:40;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 32px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
:where(.etog-storefront) .checkout-bar--secondary{display:none}
:where(.etog-storefront) .checkout-summary{font-size:13px;color:var(--muted)}
:where(.etog-storefront) .checkout-summary strong{color:var(--ink)}
:where(.etog-storefront) .etog_checkout,:where(.etog-storefront) #confcheckout,:where(.etog-storefront) input[type=submit]{border:0;background:var(--green,#444);color:#fff;border-radius:4px;min-height:42px;padding:10px 22px;font-weight:600;cursor:pointer}
:where(.etog-storefront) .etog_checkout:disabled{opacity:.5;cursor:default}
:where(.etog-storefront) .etog_checkout:hover,:where(.etog-storefront) #confcheckout:hover{background:var(--accent-hover,#222)}
:where(.etog-storefront) .event-collection-heading{margin-bottom:16px}
:where(.etog-storefront) .event-search-panel{margin:16px 0}
:where(.etog-storefront) .event-search-panel label{display:block;font-weight:600;margin-bottom:8px}
:where(.etog-storefront) .event-search-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;max-width:960px}
:where(.etog-storefront) .event-search-group{flex:1;min-width:240px}
:where(.etog-storefront) .event-date-filters{display:flex;gap:12px}
:where(.etog-storefront) .event-date-filters>div{min-width:0}
:where(.etog-storefront) .event-date-filters select{width:100%;min-height:44px;min-width:130px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
:where(.etog-storefront) .event-search-clear{min-height:44px}
@media(max-width:650px){:where(.etog-storefront) .event-search-group{flex-basis:100%;min-width:0}:where(.etog-storefront) .event-date-filters{flex:1}:where(.etog-storefront) .event-date-filters>div{flex:1}:where(.etog-storefront) .event-date-filters select{min-width:0;font-size:16px}}
:where(.etog-storefront) .event-search-field{position:relative;flex:1;min-width:0}
:where(.etog-storefront) .event-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;pointer-events:none}
:where(.etog-storefront) .event-search{display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px 10px 40px;border:1px solid var(--line);border-radius:4px;background:#fff}
:where(.etog-storefront) .event-search-clear{padding:10px;border:0;background:transparent;color:var(--green,#444);font-weight:600;cursor:pointer}
:where(.etog-storefront) .event-search-clear[hidden],:where(.etog-storefront) .event-search-empty[hidden]{display:none}
:where(.etog-storefront) .event-search-status,:where(.etog-storefront) .event-search-empty{color:var(--muted);font-size:13px;margin:10px 0}
:where(.etog-storefront) .event-list{display:grid;gap:0;margin-top:12px;border-top:1px solid var(--line)}
:where(.etog-storefront) .event-link{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px;padding:10px 4px;border-bottom:1px solid var(--line)}
:where(.etog-storefront) .event-link:hover{background:var(--surface-muted,#eee)}
:where(.etog-storefront) .event-details{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:baseline;gap:16px;min-width:0}
:where(.etog-storefront) .event-link strong{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
:where(.etog-storefront) .event-lock{display:inline-block;width:15px;height:15px;margin-right:6px;vertical-align:-2px;color:var(--muted)}
:where(.etog-storefront) .event-link small{font-size:12px;color:var(--muted)}
:where(.etog-storefront) .event-link .event-action{color:var(--green,#444);font-size:12px;white-space:nowrap}
.photo-lightbox{width:min(1200px,96vw);max-width:none;max-height:94dvh;border:0;padding:0;background:var(--viewer-bg,#202020);color:#fff}
.photo-lightbox::backdrop{background:rgba(0,0,0,.9)}
.photo-lightbox__header,.photo-lightbox__footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;font-size:12px}
.photo-lightbox__frame{position:relative;display:flex;align-items:center;justify-content:center;height:68dvh}
.photo-lightbox__media{position:relative;max-width:100%;max-height:100%}
.photo-lightbox__media>img{display:block;max-width:100%;max-height:68dvh;object-fit:contain}
.photo-lightbox__watermark{position:absolute;inset:0}
.photo-lightbox__watermark img{width:100%;height:100%}
.photo-lightbox button{min-height:40px;border:1px solid #ffffff40;background:transparent;border-radius:4px;color:#fff;padding:6px 14px;cursor:pointer}
.photo-lightbox .photo-lightbox__select{background:var(--green,#444);border-color:var(--green,#444)}
.photo-lightbox__nav{position:absolute;top:45%;background:var(--viewer-bg,#202020)!important}
.photo-lightbox__prev{left:8px}
.photo-lightbox__next{right:8px}
.photo-lightbox[open]{display:flex;flex-direction:column;height:94dvh;overflow:hidden}
.photo-lightbox__header,.photo-lightbox__footer,.photo-lightbox__tools{flex:none}
.photo-lightbox__tools{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px 12px}
.photo-lightbox__zoom-level{min-width:42px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.photo-lightbox .photo-lightbox__frame{flex:1;min-height:0;height:auto;overflow:hidden;touch-action:none;cursor:zoom-in;user-select:none}
.photo-lightbox__frame.is-zoomed{cursor:grab}
.photo-lightbox__frame.is-zoomed:active{cursor:grabbing}
.photo-lightbox .photo-lightbox__media{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform-origin:center;pointer-events:none;will-change:transform}
.photo-lightbox .photo-lightbox__media>img{width:100%;height:100%;max-width:none;max-height:none}
.photo-lightbox__nav{z-index:1}
.photo-lightbox__footer small{display:block;font-size:11px;color:var(--viewer-muted,#ccc);margin-top:4px}
.photo-lightbox button:disabled{opacity:.4;cursor:default}
@media(max-width:650px){.photo-lightbox[open]{height:100dvh;max-height:100dvh}
.photo-lightbox__tools{gap:6px}
.photo-lightbox__tools button{padding:6px 10px}
.photo-lightbox__header,.photo-lightbox__footer{padding:12px}
.photo-lightbox__footer{gap:10px}
.photo-lightbox__footer small{max-width:180px}
.photo-lightbox__select{white-space:nowrap}}
:where(.etog-storefront) #etog_photodisplay table{max-width:100%;border-spacing:6px}
:where(.etog-storefront) #etog_photodisplay table img{max-width:100%;height:auto}
:where(.etog-storefront) #etog_photodisplay input[type=text],:where(.etog-storefront) #etog_photodisplay select{max-width:100%;border:1px solid var(--line);background:#fff;border-radius:4px;padding:8px;min-height:36px}
:where(.etog-storefront) .etog_error{color:#9a342f}
:where(.etog-storefront) .basket-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}
:where(.etog-storefront) .basket-items{display:grid;gap:16px}
:where(.etog-storefront) .basket-item{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:18px}
:where(.etog-storefront) .basket-photo{display:grid;place-items:center;background:var(--surface-muted,#eee);min-height:140px}
:where(.etog-storefront) .basket-photo img{width:100%;height:auto;max-width:100%}
:where(.etog-storefront) .basket-photo .photo-preview{height:auto}
:where(.etog-storefront) .basket-photo .photo-preview .photo-image{height:auto}
:where(.etog-storefront) .basket-photo .photo-watermark img{height:100%}
:where(.etog-storefront) .basket-options{min-width:0}
:where(.etog-storefront) .basket-options h2,:where(.etog-storefront) .basket-order-summary h2{font-weight:600;font-size:17px;margin:0 0 14px}
:where(.etog-storefront) .basket-options table{width:100%;margin:0!important;border:0!important}
:where(.etog-storefront) .basket-options select{width:100%}
:where(.etog-storefront) .basket-help{color:var(--muted);font-size:11px;margin:14px 0 0}
:where(.etog-storefront) .basket-order-summary{position:sticky;top:124px;border:1px solid var(--line);background:#fff;padding:22px;border-radius:5px}
:where(.etog-storefront) .basket-total{padding:14px 0;border-block:1px solid var(--line);font-size:14px;font-weight:600}
:where(.etog-storefront) .basket-delivery{margin:18px 0;color:var(--muted);font-size:12px}
:where(.etog-storefront) .basket-delivery select{width:100%;margin-top:8px}
:where(.etog-storefront) .basket-delivery table{width:100%;display:block}
:where(.etog-storefront) .basket-order-summary #confcheckout{width:100%}
:where(.etog-storefront) .basket-package{background:#fff;padding:18px;border:1px solid var(--line)}
:where(.etog-storefront) .continue-link{display:inline-block;color:var(--green,#444);font-weight:600;margin-top:16px}
:where(.etog-storefront) .basket-empty{padding:28px 0;border-top:1px solid var(--line)}
:where(.etog-storefront) .event-link[hidden]{display:none}
:where(.etog-storefront) .order-review{max-width:900px}
:where(.etog-storefront) .order-instructions{color:var(--muted);font-size:14px;line-height:1.7;max-width:650px;margin:0 0 24px}
:where(.etog-storefront) .order-instructions br+br{display:none}
:where(.etog-storefront) .order-invoice{background:#fff;border:1px solid var(--line);border-radius:5px;overflow:hidden;margin-bottom:24px}
:where(.etog-storefront) .order-invoice table{width:100%!important;table-layout:fixed;border-collapse:collapse;background:#fff}
:where(.etog-storefront) .order-invoice td{background:#fff!important;border:0;border-bottom:1px solid var(--line);padding:13px 10px;overflow-wrap:anywhere;font-size:13px}
:where(.etog-storefront) .order-invoice tr:first-child td,:where(.etog-storefront) .order-invoice tr:last-child td{background:var(--surface-muted,#eee)!important;font-weight:600}
:where(.etog-storefront) .order-review>table{width:100%;max-width:100%;margin:0}
:where(.etog-storefront) .order-review textarea,:where(.etog-storefront) .order-review td>div{max-width:100%;box-sizing:border-box}
@media(max-width:650px){:where(.etog-storefront) .order-invoice td{font-size:11px;padding:10px 5px}
:where(.etog-storefront) .order-invoice tr:first-child td{font-size:10px;padding-inline:3px;overflow-wrap:normal}
:where(.etog-storefront) .order-instructions{font-size:13px}
:where(.etog-storefront) .order-review>table td{padding:4px}}
@media(max-width:1100px){:where(.etog-storefront) .basket-layout{grid-template-columns:minmax(0,1fr)}
:where(.etog-storefront) .basket-order-summary{position:static}}
@media(max-width:650px){:where(.etog-storefront) .basket-item{grid-template-columns:100px minmax(0,1fr);gap:14px;padding:12px}
:where(.etog-storefront) .basket-options table{display:table}
:where(.etog-storefront) .basket-photo{min-height:100px}
:where(.etog-storefront) .basket-options h2{font-size:15px}
:where(.etog-storefront) .basket-order-summary{padding:18px}
:where(.etog-storefront) .basket-photo img{width:100%}
:where(.etog-storefront) .basket-delivery table td{display:block;width:100%}}
@media(max-width:900px){:where(.etog-storefront) .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){:where(.etog-storefront) .etog_title,:where(.etog-storefront) .collection-heading h1{font-size:23px}
:where(.etog-storefront) .photo-grid{grid-template-columns:minmax(0,1fr);gap:18px}
:where(.etog-storefront) .gallery-toolbar{padding:4px 0 16px}
:where(.etog-storefront) .photo-card__details{padding:10px 7px 5px}
:where(.etog-storefront) .photo-reference{font-size:11px}
:where(.etog-storefront) .photo-select{min-height:36px}
:where(.etog-storefront) .photo-select .etog_standard{font-size:13px}
:where(.etog-storefront) .checkout-bar--primary{left:0;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));gap:12px}
:where(.etog-storefront) .etog_checkout{padding:10px 18px}
:where(.etog-storefront) .event-link{padding:10px 0;gap:12px;min-height:60px}
:where(.etog-storefront) .event-details{display:block}
:where(.etog-storefront) .event-link small{display:block}
:where(.etog-storefront) .event-link small:empty{display:none}
:where(.etog-storefront) .event-link strong{font-size:15px;margin-top:2px}
:where(.etog-storefront) .event-search{font-size:16px}
:where(.etog-storefront) .event-action{font-size:11px!important}
.photo-lightbox{width:100vw;height:100dvh;max-height:100dvh;margin:0}
.photo-lightbox__frame{height:72dvh}
.photo-lightbox__media>img{max-height:72dvh}
:where(.etog-storefront) #etog_photodisplay>table{width:100%;display:block;overflow:auto}}

@media(max-width:650px){.etog-storefront--embedded .event-link,.etog-storefront--embedded .event-link:hover{padding:10px 0}.etog-storefront--embedded{padding-inline:16px}}
:where(.etog-storefront) .order-confirmation{max-width:760px;margin:12px auto 32px;text-align:left}
:where(.etog-storefront) .order-confirmation-card{background:#fff;border:1px solid var(--line);border-radius:5px;padding:32px}
:where(.etog-storefront) .order-confirmation-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:24px;border:1px solid var(--line);border-radius:50%;background:var(--surface-muted,#eee);color:var(--green,#444)}
:where(.etog-storefront) .order-confirmation-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:where(.etog-storefront) .order-confirmation .collection-heading{margin:0 0 16px;padding:0}
:where(.etog-storefront) .order-confirmation-message{font-size:14px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
:where(.etog-storefront) .order-confirmation-message p{margin:0 0 12px}
:where(.etog-storefront) .order-confirmation-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
:where(.etog-storefront) .order-confirmation-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding:10px 18px;border:1px solid var(--green,#444);border-radius:4px;background:var(--green,#444);color:#fff;text-decoration:none;font-weight:600}
:where(.etog-storefront) .order-confirmation-action:hover{background:var(--accent-hover,#222)}
@media(max-width:650px){:where(.etog-storefront) .order-confirmation{margin-top:0}
:where(.etog-storefront) .order-confirmation-card{padding:22px 18px}
:where(.etog-storefront) .order-confirmation-action{width:100%}}
