/* custom.css (merged) */
/* Contains former css/menu.css + previous css/custom.css overrides. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

/* ===== Begin: former css/menu.css ===== */

/* Site-wide brand tokens */
:root {
  --pz-navy: #0f172a;
  --pz-navy-hover: #111f3a;
  --pz-navy-active: #0b1220;
  --pz-teal: #0f766e;
  --pz-teal-checkout: #1f8f86; /* primary */
  --pz-teal-hover: #167a72;
  --pz-teal-active: #0f665f;
}

/* Site-wide typography */
html,
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* PF editor UI (styled-components): override any embedded Fira Sans rules. */
.iMprPO,
.iMprPO * {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Cloud upload tiles: force DM Sans (some PF upload screens set their own font). */
.upload-content,
.upload-content * {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* PF headings sometimes end up ultra-light; normalize h3 to regular. */
h2,
.h2,
h3,
.h3 {
  font-weight: 400 !important;
}

/* Hide coupons section title (PF checkout). */
#promotions-coupons-title {
  display: none !important;
}

/* PF editor toolbar: hide stray decorative span element(s). */
button[data-test="ToolbarItem"] span.sc-cSHVUG.htdROV,
button[data-test="ToolbarItem"] span.htdROV {
  display: none !important;
}

/* Fallback: styled-components sometimes emits empty spans for decoration. */
ul[aria-label="Tool Navigation"] button[data-test="ToolbarItem"] span:empty {
  display: none !important;
}

/* If the toolbar still renders extra dot/underline elements, hide ALL direct span children
   inside toolbar buttons. This is scoped to the editor toolbar to avoid impacting PF checkout. */
ul[aria-label="Tool Navigation"] button[data-test="ToolbarItem"] > span {
  display: none !important;
}

/* The PF editor toolbar wraps each <li> in a <div>; flatten it so it can't render any
   decorative backgrounds/borders/pseudo-elements. */
ul[aria-label="Tool Navigation"] > div.sc-kZmsYB.celony {
  display: contents !important;
}

ul[aria-label="Tool Navigation"] > div.sc-kZmsYB.celony::before,
ul[aria-label="Tool Navigation"] > div.sc-kZmsYB.celony::after {
  content: none !important;
  display: none !important;
}

/* Hide the Transform tool entirely (stable selector via aria-label). */
ul[aria-label="Tool Navigation"] button[data-test="ToolbarItem"][aria-label="Transform"] {
  display: none !important;
}

/* Remove the slot too (works in modern browsers). */
ul[aria-label="Tool Navigation"] li[role="menuitem"]:has(> button[data-test="ToolbarItem"][aria-label="Transform"]) {
  display: none !important;
}

ul[aria-label="Tool Navigation"] div.sc-kZmsYB.celony:has(> li > button[data-test="ToolbarItem"][aria-label="Transform"]) {
  display: none !important;
}

/* Visually replace PF checkout option icon (cannot change <img src> via CSS). */
.caption > img[src*="ff865aa72b216c8952f0.png"] {
  display: none !important;
}

.caption > img[src*="ff865aa72b216c8952f0.png"] + span {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 250px;
  min-height: 212px;
}

.caption > img[src*="ff865aa72b216c8952f0.png"] + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 200px;
  height: 200px;
  /*
    Avoid pfcontent CDN rewrite (seen as https://cdn-media.pfcontent.net/...) returning a 404.
    Using the canonical origin ensures this background loads even when the page is served from
    a preview/CDN host.
  */
  background: url("https://photozone.photozone.co.uk/media/img/borders.jpg") center / cover no-repeat;
  border-radius: 6px;
}

/* Form controls: modernize Bootstrap 3 `.form-control` toward a Bootstrap 5 look. */
.form-control {
  display: block !important;
  width: 100% !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  height: auto !important;
  min-height: 40px !important;
}

.form-control:focus {
  color: #212529 !important;
  background-color: #fff !important;
  border-color: var(--pz-teal-checkout) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem rgba(31, 143, 134, 0.25) !important;
}

.form-control::placeholder {
  color: #6c757d !important;
  opacity: 1 !important;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef !important;
  opacity: 1 !important;
}

.form-group {
  margin-bottom: 25px;
}

/* Shipping method radios: add breathing room between options. */
.form-group .radio {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.form-group .radio label {
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Success alerts: match site typography weight. */
.alert-success {
  font-weight: 600;
}

/* Checkout: hide order summary total row. */
li.order-summary__total {
  display: none !important;
}

/* Store picker: hide decorative icons (Font Awesome / SVG / pseudo-element icons). */
store-section .store-section i,
store-section .store-section svg,
.store-section i,
.store-section svg,
.store-section .fa,
.store-section [class^="fa-"],
.store-section [class*=" fa-"] {
  display: none !important;
}

.store-section .store-marker {
  display: none !important;
}

.store-section .store-heading::before,
.store-section .store-heading::after,
.store-section .phone::before,
.store-section .phone::after,
.store-section a::before,
.store-section a::after {
  content: none !important;
  display: none !important;
}

/* Make labels feel less "Bootstrap 3". */
label,
.control-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111827 !important;
}

/* Tabs */
.nav-tabs > li > a {
  font-weight: 800 !important;
}

/* Links: replace Bootstrap blue with Photo Zone teal/navy. */
a {
  color: var(--pz-teal) !important;
  text-decoration-color: rgba(15, 118, 110, 0.55);
}

a:hover,
a:focus {
  color: var(--pz-teal-hover) !important;
  text-decoration: underline;
}

a:active {
  color: var(--pz-teal-active) !important;
}

#photozone-header {
  --pz-bg: #f1f1f3;
  --pz-bg-contrast: #e7e7ea;
  --pz-surface: #ffffff;
  --pz-dark: #111827;
  --pz-muted-dark: #4b5563;
  --pz-teal: #0f766e;
  --pz-teal-soft: #14b8a6;
  --pz-accent-soft: #e0f2f1;
  --pz-border: #e5e7eb;
  --pz-radius-lg: 1.25rem;
  --pz-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pz-dark);
  -webkit-font-smoothing: auto !important;
  text-rendering: auto !important;
}

#photozone-header,
#photozone-header *,
#photozone-header *::before,
#photozone-header *::after {
  box-sizing: border-box;
}

#photozone-header picture {
  display: block;
}

#photozone-header a {
  color: inherit;
  text-decoration: none;
}

/* Bootstrap 3 normalization inside the menu */
#photozone-header .navbar {
  margin: 0;
  border: 0;
  min-height: 0;
}

#photozone-header .top-info {
  background: #0f172a;
  color: #e5e7eb;
  font-size: 14.4px;
  font-weight: 600;
  height: auto;
  min-height: 0;
  padding: 0;
  position: static;
  overflow: visible;
}

/* When the top-info sits inside a nav, keep it scoped so it hides with the nav. */
#photozone-header #website-header .pz-nav .top-info,
#photozone-header #kiosk-header .pz-nav .top-info {
  position: static;
  overflow: visible;
}

#photozone-header .top-info .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
}


#photozone-header .top-info .info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.8rem;
  height: 100%;
}

#photozone-header .top-info .info-item span {
  line-height: 1.2;
}

#photozone-header .top-info .info-item:first-child {
  padding-left: 0;
}

#photozone-header .top-info .info-item:last-child {
  padding-right: 0;
}

#photozone-header .mobile-account-link {
  margin: 0;
}

#photozone-header .mobile-account-link .nav-link {
  display: block;
}

#photozone-header .top-info img,
#photozone-header .top-info svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

#photozone-header {
  margin-bottom: 0;
}

#photozone-header + * {
  margin-top: 0 !important;
}


:root {
  /* Used to offset PF "fullpage" layouts and fixed headers. */
  --pz-header-height: 80px;
  --top-info-height: 0px;
}

html.has-photozone-header.pz-header-fixed:not(.fullpage) body {
  padding-top: var(--pz-header-height) !important;
}

#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Only apply "fullpage" offsets when our header is actually mounted, otherwise
   we risk overriding unrelated Photo Finale pages. */
html.has-photozone-header.fullpage #content {
  top: 116px !important;
}

@media (max-width: 767.98px) {
  html.has-photozone-header.fullpage #content {
    top: 80px !important;
  }
}

html.has-photozone-header.fullpage.no-header-footer #content {
  top: 0 !important;
}

/* Site-wide primary button color */
.btn-primary,
.btn.btn-primary,
button.btn-primary,
a.btn-primary,
input.btn-primary {
  background-color: var(--pz-navy) !important;
  border-color: var(--pz-navy) !important;
  color: #fff !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.open .dropdown-toggle.btn-primary {
  background-color: var(--pz-navy-hover) !important;
  border-color: var(--pz-navy-hover) !important;
  color: #fff !important;
}

.btn-primary:active,
.btn-primary.active,
.btn.btn-primary:active,
.btn.btn-primary.active {
  background-color: var(--pz-navy-active) !important;
  border-color: var(--pz-navy-active) !important;
  color: #fff !important;
}

.btn-group .btn.btn-default.active,
.btn-group .btn-default.active {
  border-color: var(--pz-navy) !important;
}

/* PF sometimes paints active buttons orange; normalize to navy. */
.btn.active,
.btn:active {
  background-color: var(--pz-navy-active) !important;
  border-color: var(--pz-navy-active) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* Occasion selection: replace orange active indicator with navy. */
.occasions-container .occasion.active,
.style-occasions .occasion.active {
  border-left: 5px solid var(--pz-navy) !important;
  padding-left: 5px;
}

/* Checkout review: replace orange recommended label with navy. */
.checkout-review .page-container .options .crop-option .recommended {
  color: var(--pz-navy) !important;
  padding-bottom: 5px;
  text-align: center;
  text-transform: uppercase;
}

.checkout-review .page-container .options .crop-option i {
  color: var(--pz-navy) !important;
  font-size: 30px;
  margin-left: 20px;
  margin-top: 4px;
}

/* Site-wide "success" buttons (PF uses btn-success for Next/Continue) */
.btn.btn-success,
button.btn-success,
a.btn-success,
input.btn-success {
  background-color: var(--pz-teal-checkout) !important;
  border-color: var(--pz-teal-checkout) !important;
  color: #fff !important;
}

.btn.btn-success:hover,
.btn.btn-success:focus,
.open .dropdown-toggle.btn-success {
  background-color: var(--pz-teal-hover) !important;
  border-color: var(--pz-teal-hover) !important;
  color: #fff !important;
}

.btn.btn-success:active,
.btn.btn-success.active {
  background-color: var(--pz-teal-active) !important;
  border-color: var(--pz-teal-active) !important;
  color: #fff !important;
}

/* Quantity +/- buttons in products list */
.products-view .products-container div.products > ul li .buttons .quantity-buttons .btn {
  background: #f2f4f6 !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.products-view .products-container div.products > ul li .buttons .quantity-buttons .btn:hover,
.products-view .products-container div.products > ul li .buttons .quantity-buttons .btn:focus {
  background: var(--pz-teal-checkout) !important;
  border-color: var(--pz-teal-checkout) !important;
  color: #fff !important;
}

.products-view .products-container div.products > ul li .buttons .quantity-buttons .btn:active {
  background: var(--pz-teal-active) !important;
  border-color: var(--pz-teal-active) !important;
  color: #fff !important;
}

/* "Add print" button (plus icon) in product tiles */
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  border-radius: 0.5rem !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  border-radius: 0.5rem !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print:hover,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print:focus {
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--pz-teal-checkout) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print:hover,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print:focus {
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--pz-teal-checkout) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print:active {
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--pz-teal-active) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print:active {
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--pz-teal-active) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print i,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-add-print svg {
  color: currentColor !important;
  fill: currentColor !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print i,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-remove-print svg {
  color: currentColor !important;
  fill: currentColor !important;
}

/* Bulk update (ellipsis) button: remove PF background/border and use teal icon on hover/active */
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  border-radius: 0.5rem !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print:hover,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print:focus {
  background: none !important;
  background-color: transparent !important;
  color: var(--pz-teal-checkout) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print:active,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print.active {
  background: none !important;
  background-color: transparent !important;
  color: var(--pz-teal-active) !important;
}

.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print i,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain.btn-bulk-update-print svg {
  color: currentColor !important;
  fill: currentColor !important;
}

/* Any PF "orange" accents inside product action buttons: force to teal. */
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain i,
.products-view .products-container div.products > ul li .buttons button.btn.btn-plain svg {
  color: currentColor !important;
  fill: currentColor !important;
}

/* Category dropdown: allow wrapping and match PF typography. */
.products-view .products-container div.categories ul.nav li.dropdown .name {
  font-weight: 800 !important;
  white-space: normal !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

/* Keep category dropdown links neutral (not global teal link styling). */
.products-view .products-container div.categories ul.nav li.dropdown a,
.products-view .products-container div.categories ul.nav li.dropdown a:hover,
.products-view .products-container div.categories ul.nav li.dropdown a:focus,
.products-view .products-container div.categories ul.nav li.dropdown a:active {
  color: #333 !important;
}

/* Photo browser selected state (replace default orange highlight). */
.photos-view .photos-browser .photos-container .photo-container .inner.selected {
  border-color: var(--pz-navy) !important;
  background-color: rgba(15, 23, 42, 0.06) !important;
  box-shadow: none !important;
}

/* Collection browser: remove PF orange accents from the tile content. */
.photos-view .content,
.photos-view .content .type,
.photos-view .content .type i,
.photos-view .content .name,
.photos-view .content .info {
  color: var(--pz-navy) !important;
}

/* Collections view: override active tile orange to navy. */
.collections-view .collections-container .collections > ul .collection.active,
.collections-view .collections-container .collections > ul .collection.active .content .info .count.badge {
  color: var(--pz-navy) !important;
}

/* Font Awesome stacked icons: replace orange circle background with navy by default. */
.fa-stack .fa-circle.fa-stack-2x {
  color: var(--pz-navy) !important;
}

.fa-stack .fa-stack-1x {
  color: #fff !important;
}

/* Corner check badge: replace orange accents with navy + white check. */
corner-check .corner-check,
.corner-check {
  position: relative;
}

corner-check .corner-check .corner,
.corner-check .corner {
  --pz-corner-size: 40px;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: 0 !important;
  /* Draw the diagonal corner triangle (top-right). */
  border-top: var(--pz-corner-size) solid var(--pz-navy) !important;
  border-left: var(--pz-corner-size) solid transparent !important;
  pointer-events: none;
}

corner-check .corner-check .corner::before,
corner-check .corner-check .corner::after,
.corner-check .corner::before,
.corner-check .corner::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
}

corner-check .corner-check .check,
.corner-check .check {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  position: absolute !important;
  top: 1px !important;
  right: 1px !important;
  z-index: 1;
}

corner-check .corner-check .check i.fa,
.corner-check .check i.fa {
  color: #fff !important;
}

#photozone-header .navbar-default {
  background: #ffffff;
  border: 0;
}

#photozone-header #website-header .navbar-default .navbar-nav > li > a {
  color: var(--pz-dark) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
}

#photozone-header .navbar-brand {
  padding: 0;
  height: auto;
}

#photozone-header .brand-logo {
  height: 52px;
  width: auto;
}

#photozone-header .hide-on-kiosk {
  display: block;
}

#photozone-header .show-on-kiosk-block {
  display: none;
}

#kiosk-header .brand-logo {
  width: auto;
  height: 52px;
  filter: brightness(0) invert(1);
}

#kiosk-header .navbar {
  background: #0f172a;
  border: 0;
  border-radius: 0 !important;
}

#kiosk-header .pz-nav {
  background: #0f172a;
  border-bottom: 0;
  border-radius: 0 !important;
}


#kiosk-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px !important;
}

#kiosk-header .navbar-header {
  display: flex;
  align-items: center;
  float: none !important;
  margin-left: 25px;
}

#kiosk-header .navbar-brand {
  height: 80px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-left: 0 !important;
}

#kiosk-header #kioskNav {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100% !important;
}

#kiosk-header #kioskNav > .navbar-nav {
  margin: 0 !important;
}

#kiosk-header #kioskNav > .nav.navbar-nav:not(.icon_menu) {
  display: flex;
  align-items: center;
  gap: 50px;
  flex: 1 1 auto;
  justify-content: center;
  margin-left: 25px !important;
}

#kiosk-header .nav.navbar-nav > li > a {
  color: #ffffff !important;
  border-radius: 10px;
  padding: 12px 16px !important;
  line-height: 1;
  font-weight: 400 !important;
  font-size: 18px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

#kiosk-header .nav.navbar-nav > li > a:hover,
#kiosk-header .nav.navbar-nav > li > a:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none;
}

#kiosk-header .nav.navbar-nav > li > a span {
  display: block;
  font-weight: 500;
  font-size: 16px;
}

#kiosk-header .nav.navbar-nav > li > a strong {
  display: block;
  font-weight: 800 !important;
  font-size: 21px;
}

#kiosk-header .icon_menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  gap: 2px;
  width: auto !important;
  margin-left: 20px !important;
  margin-right: 0 !important;
  float: none !important;
}

#kiosk-header .icon_menu.navbar-right {
  float: none !important;
}

#kiosk-header #kioskNav > .icon_menu,
#kiosk-header #kioskNav > .icon_menu.navbar-nav {
  justify-content: flex-end !important;
  margin-left: auto !important;
}

#kiosk-header .icon_menu > li > a {
  color: #ffffff !important;
  padding: 10px !important;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#kiosk-header .icon_menu > li > a:hover,
#kiosk-header .icon_menu > li > a:focus {
  background: rgba(255, 255, 255, 0.15) !important;
}

#kiosk-header .icon_menu i {
  font-size: 18px;
}

#kiosk-header .icon_menu .nav-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

#photozone-header .navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#photozone-header .navbar-nav > li {
  float: none;
}

#photozone-header .navbar-nav > li > a {
  display: block;
  text-transform: none !important;
  letter-spacing: normal !important;
}

#photozone-header #website-header .pz-nav #navMain > .navbar-nav > li {
  float: none !important;
}

#photozone-header .navbar-collapse {
  border-top: 0;
}

#photozone-header .navbar-collapse.collapse {
  display: none;
}

#photozone-header .navbar-collapse.collapse.in {
  display: block;
  height: auto;
}

#photozone-header .navbar-collapse.collapsing {
  position: relative;
  height: auto;
  overflow: hidden;
}

#photozone-header #website-header .pz-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  font-weight: 600;
  top: 0;
}

#photozone-header #website-header .navbar-toggle.navbar-toggler {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#photozone-header #website-header .navbar-toggle.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(15, 118, 110, 0.2);
}

#photozone-header #website-header .navbar-toggler-icon {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--pz-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
  display: block;
}

#photozone-header #website-header .navbar-toggler-icon::before,
#photozone-header #website-header .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--pz-dark);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

#photozone-header #website-header .navbar-toggler-icon::before {
  top: -6px;
}

#photozone-header #website-header .navbar-toggler-icon::after {
  top: 6px;
}

#photozone-header #website-header .navbar-toggle[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

#photozone-header #website-header .navbar-toggle[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(6px) rotate(45deg);
}

#photozone-header #website-header .navbar-toggle[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

#photozone-header #website-header .nav-icon-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pz-dark);
  background: #ffffff;
  text-decoration: none;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 40px;
}

#photozone-header #website-header .nav-icon-link:hover {
  color: var(--pz-teal);
  background: rgba(15, 23, 42, 0.04);
}

#photozone-header #website-header .nav-icon-link i {
  font-size: 16px;
}

#photozone-header #website-header .nav-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

#photozone-header #website-header .pz-nav .navbar-nav .nav-link,
#photozone-header #website-header .navbar-default .navbar-nav > li > a {
  padding: 9.6px 18.4px !important;
  color: var(--pz-dark) !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-transform: none !important;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#photozone-header #website-header .pz-nav .navbar-nav .nav-link:hover,
#photozone-header #website-header .pz-nav .navbar-nav .nav-link:focus,
#photozone-header #website-header .navbar-default .navbar-nav > li > a:hover,
#photozone-header #website-header .navbar-default .navbar-nav > li > a:focus {
  color: var(--pz-teal) !important;
  background: var(--pz-accent-soft) !important;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.18);
  text-decoration: none !important;
}

#photozone-header #website-header .pz-nav .navbar-nav .nav-link:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.5);
  outline-offset: 2px;
}

#photozone-header #website-header .mega-dropdown .dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.25rem;
  border-top: 0.35rem solid currentColor;
  border-right: 0.35rem solid transparent;
  border-left: 0.35rem solid transparent;
  vertical-align: middle;
}

#photozone-header #website-header .mega-menu {
  width: min(1100px, calc(100vw - 2rem));
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
  transform-origin: top center;
  background: #ffffff;
}

#photozone-header #website-header .mega-menu h6 {
  font-size: 15.2px;
  font-weight: 600;
  color: var(--pz-dark);
}

#photozone-header #website-header .mega-menu a:not(.btn) {
  color: var(--pz-muted-dark);
  text-decoration: none;
  display: block;
  padding: 8px 9.6px;
  font-size: 14.72px;
  font-weight: 500;
  text-transform: none;
  border-radius: 9.6px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#photozone-header #website-header .mega-menu a:not(.btn):hover,
#photozone-header #website-header .mega-menu a:not(.btn):focus {
  color: var(--pz-teal);
  background: var(--pz-accent-soft);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.18);
}

#photozone-header #website-header .mega-menu a:not(.btn):focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.5);
  outline-offset: 2px;
}

#photozone-header #website-header .mega-menu .col-md-3 + .col-md-3,
#photozone-header #website-header .mega-menu .col-md-4 + .col-md-4 {
  border-left: 1px solid rgba(229, 231, 235, 0.8);
}

#photozone-header #website-header .mega-menu .col-md-3,
#photozone-header #website-header .mega-menu .col-md-4 {
  padding-left: 16px;
}

#photozone-header #website-header .mega-menu .text-center {
  text-align: left;
}

#photozone-header #website-header .mega-dropdown {
  position: static;
}

#photozone-header #website-header .mega-dropdown .dropdown-menu {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  display: block;
  pointer-events: none;
}

#photozone-header #website-header .mega-dropdown:hover .dropdown-menu,
#photozone-header #website-header .mega-dropdown:focus-within .dropdown-menu,
#photozone-header #website-header .mega-dropdown.open .dropdown-menu,
#photozone-header #website-header .mega-dropdown .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#photozone-header #website-header .mega-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

#photozone-header #website-header .mega-menu.show {
  animation: pzMegaMenuFade 0.18s ease forwards;
}

@keyframes pzMegaMenuFade {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Menu-specific utility classes */
#photozone-header .d-flex {
  display: flex;
}

#photozone-header .d-none {
  display: none;
}

#photozone-header .d-lg-flex {
  display: none;
}

#photozone-header .d-lg-inline-flex {
  display: none;
}

#photozone-header .d-lg-block {
  display: none;
}

#photozone-header .d-lg-none {
  display: none;
}

#photozone-header .align-items-center {
  align-items: center;
}

#photozone-header .align-items-lg-center {
  align-items: center;
}

#photozone-header .flex-wrap {
  flex-wrap: wrap;
}

#photozone-header .justify-content-between {
  justify-content: space-between;
}

#photozone-header .gap-2 {
  gap: 8px;
}

#photozone-header .gap-lg-3 {
  gap: 16px;
}

#photozone-header .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

#photozone-header .ms-auto {
  margin-left: auto;
}

#photozone-header .ms-lg-auto {
  margin-left: auto;
}

#photozone-header .py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

#photozone-header .w-100 {
  width: 100%;
}

#photozone-header .btn {
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

#photozone-header .btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

#photozone-header .btn-pz-ghost {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--pz-dark);
}

#photozone-header .btn-pz-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--pz-teal);
}

@media (min-width: 768px) {
  :root {
    --top-info-height: 39px;
    --pz-header-height: 119px;
  }

  #photozone-header {
    padding-top: 0;
  }

  #photozone-header .top-info {
    height: var(--top-info-height);
    min-height: var(--top-info-height);
  }

  /* Nudge the top-bar text up slightly on the website header. */
  #photozone-header #website-header .top-info .info-item {
    transform: translateY(1px);
  }

  #photozone-header #kiosk-header .top-info .info-item {
    transform: translateY(0);
  }

  #photozone-header .navbar {
    min-height: 80px;
    height: 80px;
  }

  #photozone-header .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-top: 0;
  }

  #photozone-header #website-header .top-info .container {
    padding-left: 0;
    padding-right: 0;
  }

  #photozone-header #kiosk-header .top-info .container {
    padding-left: 0;
    padding-right: 0;
  }

  #photozone-header .navbar-header {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    float: none !important;
    min-height: 80px;
  }

  #photozone-header #website-header .pz-nav {
    min-height: 116px;
  }

  #photozone-header #kiosk-header .pz-nav {
    min-height: 116px;
  }

  #photozone-header .navbar-brand {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0;
  }

  #photozone-header .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
  }

  #photozone-header .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex: 1 1 auto;
  }

  #photozone-header #website-header .pz-nav #navMain > .navbar-nav {
    flex-wrap: nowrap;
    justify-content: center;
  }

  #photozone-header #website-header .pz-nav #navMain > .navbar-nav > li {
    flex: 0 0 auto;
  }

#photozone-header .d-none {
  display: none !important;
}

#photozone-header .d-lg-flex,
#photozone-header .d-lg-inline-flex,
#photozone-header .d-lg-block {
  display: none !important;
}

@media (min-width: 992px) {
  #photozone-header .d-lg-flex {
    display: flex !important;
  }

  #photozone-header .d-lg-inline-flex {
    display: inline-flex !important;
  }

  #photozone-header .d-lg-block {
    display: block !important;
  }
}

  #photozone-header .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 992px) {
  :root {
    --pz-header-height: 116px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --pz-header-height: 151px;
  }

  #photozone-header .navbar {
    min-height: 96px;
    height: auto;
  }

  #photozone-header .navbar .container {
    align-items: flex-start;
    gap: 8px;
  }

  #photozone-header .navbar-collapse {
    flex-wrap: wrap;
  }

  #photozone-header .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 8px;
    column-gap: 12px;
    padding-top: 6px;
    padding-bottom: 8px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --pz-header-height: 80px;
  }
}

@media (max-width: 767.98px) {
  #photozone-header .navbar-collapse {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    will-change: max-height, opacity;
  }

  #photozone-header .navbar-collapse.collapse.in {
    max-height: calc(100vh - 80px);
    opacity: 1;
  }

  #photozone-header #website-header .pz-nav .navbar-nav .nav-link,
  #photozone-header #website-header .navbar-default .navbar-nav > li > a {
    margin-top: 6px;
    margin-left: 5px;
    margin-right: 5px;
  }

  #photozone-header .navbar .container {
    padding-left: 0 !important;
    padding-right: 5px !important;
  }

  #photozone-header .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 80px;
    position: relative;
  }

  #photozone-header .btn {
    margin-left: 10px !important;
    margin-right: 20px !important;
    margin-top: 10px !important;
  }

  #photozone-header .navbar-nav > li:last-child {
    margin-bottom: 16px;
  }

  #photozone-header #website-header .pz-nav {
    min-height: 80px;
  }

  #photozone-header .navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
    height: 80px;
    margin-left: 25px;
  }

  #photozone-header .brand-logo {
    height: auto !important;
    width: 208px !important;
    max-width: none;
    object-fit: contain;
    display: block;
  }

  #photozone-header .d-lg-none {
    display: flex;
    gap: 12px;
    margin-left: auto;
    margin-right: -8px;
    align-items: center;
  }

  #photozone-header #website-header .nav-icon-link,
  #photozone-header #website-header .navbar-toggle.navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0;
    box-sizing: border-box;
  }

  #photozone-header #website-header .navbar-toggle.navbar-toggler {
    margin: 0;
    align-self: center;
  }

  #photozone-header #website-header .mega-menu .col-md-3 + .col-md-3,
  #photozone-header #website-header .mega-menu .col-md-4 + .col-md-4 {
    border-left: 0;
  }

  #photozone-header #website-header .mega-dropdown .dropdown-menu {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    max-height: none;
    overflow: visible;
    left: 0 !important;
    right: 0 !important;
    transform: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
  }

  #photozone-header #website-header .mega-menu {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #photozone-header #website-header .mega-menu .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  #photozone-header #website-header .mega-menu .row {
    margin-left: 0;
    margin-right: 0;
  }

  #photozone-header #website-header .mega-menu .col-md-3,
  #photozone-header #website-header .mega-menu .col-md-4 {
    padding-left: 10px;
    padding-right: 0;
  }

  #photozone-header #website-header .mega-menu h6 {
    padding-left: 10px;
  }

  #photozone-header #website-header .mega-menu a:not(.btn) {
    padding-left: 10px;
  }

  #photozone-header #website-header .mega-dropdown.open .dropdown-menu {
    display: block;
  }

  #photozone-header .navbar-collapse {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 !important;
    margin: 0 !important;
  }

  #photozone-header .navbar-nav {
    margin: 0 !important;
    padding: 0 !important;
  }

  #photozone-header #website-header .pz-nav #navMain > .navbar-nav > li {
    width: 100%;
  }

  #kiosk-header .navbar .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

#kiosk-header .navbar .container {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* ===== Begin: previous css/custom.css overrides ===== */
/* Merged from: /custom.css and /css/custom.css */

/* ===== custom.css (root) ===== */
/* ===============================
   KIOSK PAGE (single-file)
   - 2x2 grid
   - square images (no stretch)
   - extra whitespace (24" 1080p)
   - isolates against Bootstrap/legacy CSS
   =============================== */

/* Put kiosk on its own "island" so global CSS is less likely to interfere */
#pf-page.pf-custom {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #f6f6f6;
  --menu-height: 90px;
  --kiosk-pad: clamp(18px, 3vw, 44px);
  /* If some global CSS sets font/line-height weirdly, this stabilizes it */
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
}

#pf-page.pf-custom,
#pf-page.pf-custom * {
  box-sizing: border-box;
}

/* If Bootstrap 3 is present, it often constrains widths via .container */
#pf-page.pf-custom .container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#pf-page.pf-custom .row {
  margin: 0 !important;
}

/* Outer padding (more whitespace) */
#pf-page.pf-custom .kiosk-wrap {
  height: 100%;
  padding: var(--kiosk-pad); /* tighter grid for menu space */
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
}

/*
  IMPORTANT BIT:
  We DO NOT let the grid stretch to full width.
  Instead we give it a max width so tiles don’t become huge rectangles.
  On 1080p screens, ~1450–1550px feels great.
*/
#pf-page.pf-custom .kiosk-grid {
  --row-gap: clamp(16px, 2.6vw, 40px);
  --col-gap: clamp(28px, 4vw, 64px);
  --title-block: clamp(44px, 4.5vh, 68px);
  --tile-size: min(
    calc((100vh - var(--menu-height) - (2 * var(--kiosk-pad)) - (2 * var(--title-block)) - var(--row-gap)) / 2),
    44vw
  );
  display: grid !important;
  grid-template-columns: repeat(2, var(--tile-size)) !important;
  grid-template-rows: repeat(2, auto) !important;
  gap: var(--row-gap) !important;
  column-gap: var(--col-gap) !important;

  width: calc((2 * var(--tile-size)) + var(--col-gap));
  max-width: 100%;
}


/* Each card: constrain overall size so it doesn't become a wide banner */
#pf-page.pf-custom .product-card {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);

  /* Helps keep proportions tidy even if something tries to stretch items */
  align-self: start;
}

/* Square media area - legacy-proof */
#pf-page.pf-custom .card-media {
  position: relative !important;
  width: 100% !important;
  background: #eee;
  flex: 0 0 auto !important;
}
#pf-page.pf-custom .card-media::before {
  content: "";
  display: block;
  padding-top: 100%;        /* forces a square */
}
#pf-page.pf-custom .card-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* crop, don’t stretch */
  display: block !important;
}

/* Title */
#pf-page.pf-custom .card-title {
  padding: clamp(10px, 1.2vw, 16px);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  background: #fff;
  height: var(--title-block);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
}

/* Tap feedback (kiosk) */
#pf-page.pf-custom .product-card:active {
  transform: scale(0.985);
}

/* Optional: remove focus outlines if kiosk has no keyboard (keep if you use accessibility) */
#pf-page.pf-custom .product-card:focus {
  outline: none;
}

/* ===== css/custom.css ===== */
/* Hide the default Photo Finale footer so only Photo Zone branding is shown. */
footer#footer {
  display: none !important;
}

/* PF "fullpage" layout: force header offset so content doesn't sit underneath.
   Do NOT apply when `.hide-header` is set (kiosk splash screens). */
html.fullpage:not(.hide-header) #content,
body.fullpage:not(.hide-header) #content {
  position: absolute;
  top: 116px !important;
  bottom: 0px;
  max-width: 100%;
}

/* Shared kiosk page mode and layout offset for custom pages */
.mode-kiosk .hide-on-kiosk,
.pf-kiosk .hide-on-kiosk {
  display: none !important;
}

.mode-kiosk .show-on-kiosk-block,
.pf-kiosk .show-on-kiosk-block {
  display: block !important;
}

.mode-kiosk #pf-page.pf-custom,
.pf-kiosk #pf-page.pf-custom {
  top: var(--header-height, 120px);
  height: calc(100vh - var(--header-height, 120px));
}

/* Kiosk splash screens can toggle `.hide-header`; remove the reserved header space. */
html.mode-kiosk.hide-header body,
html.mode-kiosk body.hide-header,
html.pf-kiosk.hide-header body,
html.pf-kiosk body.hide-header {
  padding-top: 0 !important;
}

html.mode-kiosk.hide-header #content,
html.mode-kiosk body.hide-header #content,
html.pf-kiosk.hide-header #content,
html.pf-kiosk body.hide-header #content {
  top: 0 !important;
}

/* If the page is `fullpage` as well, ensure the global fullpage offset cannot re-apply. */
html.mode-kiosk.hide-header.fullpage #content,
html.mode-kiosk body.hide-header.fullpage #content,
html.mode-kiosk.fullpage body.hide-header #content,
html.pf-kiosk.hide-header.fullpage #content,
html.pf-kiosk body.hide-header.fullpage #content,
html.pf-kiosk.fullpage body.hide-header #content {
  top: 0 !important;
  bottom: auto !important;
}

html.mode-kiosk.hide-header #pf-page.pf-custom,
html.mode-kiosk body.hide-header #pf-page.pf-custom,
html.pf-kiosk.hide-header #pf-page.pf-custom,
html.pf-kiosk body.hide-header #pf-page.pf-custom {
  top: 0 !important;
  height: 100vh !important;
}

/* Collages page layout */
#pf-page.pf-custom .kiosk-grid.collage-grid {
  --collage-tile: clamp(190px, 16vw, 295px);
  width: min(100%, calc((3 * var(--collage-tile)) + 96px)) !important;
  max-width: calc((3 * var(--collage-tile)) + 96px) !important;
  grid-template-columns: repeat(3, var(--collage-tile)) !important;
  grid-template-rows: auto auto !important;
  column-gap: 48px !important;
  row-gap: 100px !important;
  justify-content: center !important;
}

#pf-page.pf-custom .kiosk-grid.collage-grid .product-card:nth-child(4) {
  grid-column: 1;
  transform: translateX(calc((var(--collage-tile) + 48px) / 2));
}

#pf-page.pf-custom .kiosk-grid.collage-grid .product-card:nth-child(5) {
  grid-column: 2;
  transform: translateX(calc((var(--collage-tile) + 48px) / 2));
}

/* Wall art page layout */
#pf-page.pf-custom .kiosk-grid.wall-grid {
  --wall-tile: clamp(220px, 20vw, 340px);
  width: min(100%, calc((2 * var(--wall-tile)) + 80px)) !important;
  max-width: calc((2 * var(--wall-tile)) + 80px) !important;
  grid-template-columns: repeat(2, var(--wall-tile)) !important;
  grid-template-rows: auto !important;
  column-gap: 80px !important;
  row-gap: 100px !important;
  justify-content: center !important;
}
