/* Instant Camera Hire — shared design, components and responsive behaviour.
   Page-specific grid positions are in layouts.css. */
@font-face {
  font-family: Poppins;
  src: url('/reference-assets/938f9ef72aee18d65058-latin.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/reference-assets/7d80a00f557b78c7fb68-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/reference-assets/a20532acb1ad48377034-latin.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Aktiv;
  src: url('/reference-assets/57a9714fdac09ac80c5e-l') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Aktiv;
  src: url('/reference-assets/a13d3f79736b9be84eb8-l') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Aktiv;
  src: url('/reference-assets/b0c4eb1f36726ddf51b9-l') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #f9ebcc;
  --ink: #231f1f;
  --rust: #b8693d;
  --sage: #a2b6a2;
  --forest: #313832;
  --gutter: 10vw;
  --content-max: 1400px;
  --heading-base: 17px;
  --grid-gap: 11px;
  --header-expanded: 150px;
  --header-collapsed: 112px;
  --header-progress: 0;
  --header-height: calc(var(--header-expanded) - (var(--header-expanded) - var(--header-collapsed)) * var(--header-progress));
  color: var(--forest);
  background: var(--cream);
  font:
    500 17px/1.2 Aktiv,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html { scroll-padding-top: calc(var(--header-collapsed) + 16px); }

body {
  margin: 0;
  /* Reserve the expanded header space so shrinking it never shifts the page. */
  padding-top: var(--header-expanded);
}

img {
  display: block;
  max-width: 100%;
}

figure,
blockquote {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

h1,
h2,
h3,
h4 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 0 0 2rem;
}

h1 {
  font-size: min(calc(7.2vw + var(--heading-base)), 117.8px);
  line-height: 0.912;
}

h2 {
  font-size: min(calc(5.4vw + var(--heading-base)), 92.6px);
  line-height: 0.984;
}

h3 {
  font-size: min(calc(2.4vw + var(--heading-base)), 50.6px);
  line-height: 1.104;
}

h4 {
  font-size: min(calc(1.2vw + var(--heading-base)), 33.8px);
  line-height: 1.152;
}

p {
  margin: 1rem 0;
}

.rich-text > :first-child {
  margin-top: 0;
}

.rich-text > :last-child {
  margin-bottom: 0;
}

.rich-text a {
  color: var(--rust);
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.5em;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-small {
  font-size: 0.9rem;
}

.text-large {
  font-size: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 100px;
  background: var(--sage);
  color: var(--ink);
  font:
    600 1rem/1.2 Poppins,
    sans-serif;
  text-decoration: none;
  padding: 1rem 1.3rem;
  transition: opacity 0.2s;
}

.button:hover {
  opacity: 0.8;
}

.action .button {
  width: 100%;
  min-height: 100%;
}

.action {
  align-items: stretch;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header and mobile navigation. One navigation tree serves both layouts. */
.site-header {
  height: var(--header-height);
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}

.site-logo img {
  height: calc(var(--header-height) - 24px);
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.4vw;
}

.site-nav a {
  text-decoration: none;
  font-size: 1rem;
}

.site-nav a[aria-current='page'] {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

/* Section grid: 8 columns on phones, 24 on desktop. Named items are positioned
   in layouts.css; these rows preserve the deliberately staggered photo layouts. */
.section {
  position: relative;
  background: var(--cream);
  isolation: isolate;
}

.theme-rust {
  background: var(--rust);
  color: var(--cream);
}

.theme-sage {
  background: var(--sage);
  color: var(--ink);
}

.theme-forest {
  background: var(--forest);
  color: var(--cream);
}

.spacing-small {
  padding-block: 3.3vmax;
  min-height: 33vh;
}

.spacing-medium {
  padding-block: 6.6vmax;
  min-height: 66vh;
}

.spacing-none {
  padding-block: 0;
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(calc(var(--gutter) - var(--grid-gap)), 1fr) repeat(
      24,
      minmax(0, calc((var(--content-max) - var(--grid-gap) * 23) / 24))
    )
    minmax(calc(var(--gutter) - var(--grid-gap)), 1fr);
  grid-template-rows: repeat(
    var(--rows),
    minmax(calc(min(var(--content-max), 100vw - var(--gutter) * 2) * 0.0215), auto)
  );
  gap: var(--grid-gap);
}

.grid-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.photo img,
.photo a {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo {
  min-height: 0;
}

.section-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.decorative-panel {
  z-index: 0;
}

.grid-item iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

/* The open calendar must sit above neighbouring sections, including on phones. */
.section:has([data-calendar-open]),
.grid-item:has([data-calendar-open]) {
  z-index: 30;
}

.grid-item:has([data-ich-widget]) {
  align-self: start;
}

/* Accordions use native details: keyboard, focus and disclosure state need no library. */
.accordion details {
  border-bottom: 1px solid currentColor;
}

.accordion details:first-child {
  border-top: 1px solid currentColor;
}

.accordion summary {
  list-style: none;
  font:
    700 1.8rem/1.2 Poppins,
    sans-serif;
  padding: 15px 45px 15px 0;
  position: relative;
  font-size: min(calc(1.2vw + 17px), 33.8px);
  line-height: 1.5;
  padding-right: 33px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
}

.accordion details[open] summary:after {
  content: '−';
}

.accordion .answer {
  padding: 0 0 30px;
  max-width: 70%;
}

/* Reviews and decorative scrolling text. */
.testimonials {
  overflow: hidden;
  --review-width: clamp(280px, calc((min(1400px, 80vw) - 80px) / 3), 440px);
}

.testimonial-track {
  display: flex;
  gap: 40px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 var(--gutter);
}

.testimonial-track blockquote {
  flex: 0 0 var(--review-width);
  background: var(--sage);
  padding: calc(var(--review-width) * 0.1);
  border-radius: 0;
  scroll-snap-align: center;
}

.testimonial-track h2 {
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 95%;
}

.carousel-controls,
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-controls button,
.gallery-controls button {
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.marquee {
  overflow: hidden;
  justify-content: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
  font:
    700 5rem/1.1 Poppins,
    sans-serif;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.marquee-track span {
  padding-right: 0.4em;
}

@keyframes marquee {
  to {
    transform: translateX(-33.333%);
  }
}

/* Camera choices: repeated text follows a smooth wave across the full viewport. */
.wave-marquee {
  overflow: hidden;
  font:
    700 max(46.384px, calc(3.6vw + 17px)) / 1.4 Poppins,
    sans-serif;
  letter-spacing: -0.05em;
}

.wave-marquee svg {
  display: block;
  flex: none;
  width: 100%;
  height: calc(1.4em + 60px);
  overflow: visible;
  fill: currentColor;
}

/* Shop categories, cards and product details. */
.shop-section,
.product-section,
.article-index {
  padding-inline: var(--gutter);
}

.shop-categories {
  position: relative;
  top: -16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 20px;
}

.shop-categories > span {
  color: #d5ceb5;
  display: inline-block;
  margin-inline: 1.5rem;
}

.shop-categories a {
  text-decoration: none;
}

.shop-categories a[aria-current='page'] {
  text-decoration: underline;
}

.shop-categories,
.product-grid {
  max-width: var(--content-max);
  margin-inline: auto;
}

.product-grid,
.hire-product-grid {
  display: grid;
  /* Add a column only when each card has room for its purchase controls. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 298px), 1fr));
  gap: clamp(40px, 5vw, 80px);
}

.product-photo {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: visible;
}

.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  align-self: start;
}
.product-card h3 {
  font-size: clamp(15px, 1.05vw, 18px);
  color: #2f342f;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .product-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0;
}
.product-card .product-price {
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.2;
  margin-top: 0;
  color: #2f342f;
}
.product-card .product-purchase .button {
  width: auto;
  min-height: 40px;
  border: 1px solid #2f342f;
  background: #2f342f;
  color: #f4ebcb;
  padding: 0 18px;
  font:
    700 13px Poppins,
    sans-serif;
}
.product-card .product-purchase .button:disabled {
  opacity: 0.55;
}
.product-photo .product-stock {
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 13px;
  background: #2f8f45;
  color: white;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 6px 18px #2f342f29;
}
.product-photo .product-stock[data-status='unavailable'] {
  background: #b42318;
}

.product-card h3 a {
  text-decoration: none;
}

.product-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-price {
  font:
    700 clamp(1.6rem, 2.5vw, 2.8rem) / 1.1 Poppins,
    sans-serif;
  white-space: nowrap;
}

.product-purchase .button {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 1rem;
  padding: 1rem 1.2rem;
}

.product-card .product-status {
  color: var(--rust);
  margin: 0.5rem 0 0;
}

.product-status:empty {
  display: none;
}

.back-link {
  display: block;
  margin-bottom: 2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: start;
}

.product-info h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

.product-info .product-purchase .button {
  font-size: 1rem;
}

.product-gallery {
  position: sticky;
  top: 2rem;
}

.gallery-main {
  border: 0;
  padding: 0;
  background: none;
  width: 100%;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin-top: 15px;
}

.gallery-thumbnails button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  flex: 0 0 65px;
}

.gallery-thumbnails button[aria-pressed='true'] {
  border-color: var(--forest);
}

.gallery-thumbnails img {
  height: 65px;
  width: 65px;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Product purchase controls stay together; the quantity label sits above its field. */
.product-info .product-purchase {
  gap: 12px;
  margin-top: 2.5rem;
}
.product-info .product-price {
  margin-right: auto;
}
.quantity {
  position: relative;
  flex: 0 0 96px;
  margin: 0;
}
.quantity span {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  font-size: 13px;
}
.quantity input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 8px;
  background: transparent;
  border: 1px solid currentColor;
  font: inherit;
  text-align: center;
}
.quantity input:focus {
  outline: none;
  box-shadow: none;
}
@media (max-width: 767px) {
  .product-info .product-purchase {
    gap: 8px;
  }
  .product-info .product-price {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }
  .quantity {
    flex-basis: 46px;
  }
  .quantity input {
    height: 46px;
    padding: 4px;
  }
  .product-info .product-purchase .button {
    padding: 14px 10px;
    font-size: clamp(0.75rem, 3.4vw, 1rem);
  }
}

.product-addon {
  margin-top: 2rem;
  border: 1px solid currentColor;
  padding: 1rem;
}

.product-addon a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-addon img {
  width: 66px;
}

.image-dialog {
  border: 0;
  max-width: 95vw;
  max-height: 95vh;
  padding: 2rem;
  background: var(--cream);
}

.image-dialog::backdrop {
  background: #000b;
}

.image-dialog img {
  max-height: 75vh;
  max-width: 85vw;
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  right: 0.4rem;
  top: 0.4rem;
  border: 0;
  background: none;
  font-size: 26px;
}

/* Editorial pages. */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3vw;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.article-card h2 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 1rem 0;
}

.article-card a {
  text-decoration: none;
}

.article-category {
  font-size: 0.9rem;
}

.article-section {
  padding-inline: var(--gutter);
}

.article-section article {
  max-width: 1050px;
  margin: auto;
}

.article-meta {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
}

.article-meta div,
.article-meta span {
  display: contents;
}

.article-body {
  max-width: 800px;
  margin: 3rem auto;
}

.article-body h2 {
  font-size: 2.5rem;
  line-height: 1.15;
}

.article-body h3 {
  font-size: 1.75rem;
}

.article-body img {
  height: auto;
}

.article-pagination {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 5rem;
}

/* Forms: ordinary HTML controls, with a small submission/upload controller. */
.form-field {
  margin-bottom: 1.4rem;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 0.5rem;
}

.form-field input:not([type='radio'], [type='checkbox'], [type='file']),
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.7rem 0;
  border-radius: 0;
}

.form-field fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-field .choice {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.name-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.field-help {
  font-size: 0.85rem;
}

.form-status {
  color: var(--ink);
}

.form-status:empty {
  display: none;
}

.enquiry-form > .button {
  width: 100%;
}

.upload-list {
  padding: 0;
  list-style: none;
}

.upload-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.upload-list button {
  background: none;
  border: 0;
  text-decoration: underline;
}

/* Text blocks keep normal margin collapse; flex is reserved for controls. */
.grid-item.rich-text {
  display: block;
  align-content: start;
}

.testimonial-track blockquote > div {
  margin-top: 10px;
  max-width: 95%;
}

.testimonial-track blockquote p:first-child {
  margin-top: 0;
}

.testimonial-track blockquote p:last-child {
  margin-bottom: 0;
}

/* The original review rail leaves room for its circular navigation controls. */
.testimonials .carousel-controls {
  margin-top: 40px;
  margin-bottom: 40px;
}

.about-photo {
  padding: calc(3.3vmax + 10vw) 0;
  background: var(--cream);
}

.about-photo .section-photo {
  inset: 10vw;
  width: 80vw;
  height: calc(100% - 20vw);
}

.about-photo .section-grid {
  grid-template-rows: repeat(var(--rows), minmax(calc(min(1400px, 60vw) * 0.0215), auto));
}

/* Keep the purchase row inside narrower desktop cards. */

@media (max-width: 1100px) and (min-width: 768px) {
  .site-nav {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 6vw;
    font-size: 16px;
    --heading-base: 16px;
  }

  h1 {
    font-size: calc(min(100vh, 900px) * 0.072 + var(--heading-base));
  }

  h2 {
    font-size: calc(min(100vh, 900px) * 0.054 + var(--heading-base));
  }

  h3 {
    font-size: calc(min(100vh, 900px) * 0.024 + var(--heading-base));
  }

  h4 {
    font-size: calc(min(100vh, 900px) * 0.012 + var(--heading-base));
  }

  :root { --header-expanded: calc(150px + 2vw); }

  .site-header {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    left: var(--gutter);
    flex-direction: column;
    gap: 7px;
    background: none;
    border: 0;
    width: 38px;
    padding: 5px;
    z-index: 22;
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0;
    background: var(--sage);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }

  .site-nav a {
    font:
      700 2.5rem/1.2 Poppins,
      sans-serif;
    font-size: 2.5rem;
  }

  .menu-open .site-nav {
    display: flex;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .section-grid {
    grid-template-columns:
      minmax(calc(var(--gutter) - var(--grid-gap)), 1fr) repeat(
        8,
        minmax(0, calc((var(--content-max) - var(--grid-gap) * 7) / 8))
      )
      minmax(calc(var(--gutter) - var(--grid-gap)), 1fr);
    grid-template-rows: repeat(var(--rows), minmax(24px, auto));
  }

  .accordion summary {
    font-size: calc(min(100vh, 900px) * 0.012 + 16px);
  }

  .accordion .answer {
    max-width: 100%;
  }


  .marquee-track {
    font-size: 3rem;
  }

  .product-detail,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .product-grid, .hire-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .product-card:nth-child(n) {
    grid-column: auto;
  }

  .shop-categories > span {
    margin-inline: 1rem;
  }

  .product-gallery {
    position: static;
  }

  .product-info h1 {
    font-size: 2.5rem;
  }

  .product-price {
    font-size: 2rem;
  }

  .product-purchase .button {
    font-size: 1rem;
  }

  .article-meta {
    flex-wrap: wrap;
  }

  .article-body h2 {
    font-size: 2rem;
  }

  .article-section h1 {
    font-size: 3rem;
  }


  .about-photo {
    padding: 10vw;
    display: grid;
    align-content: center;
  }

  .about-photo .section-grid {
    grid-template-rows: 24px;
    padding-block: 3.3vmax;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Shop basket mirrors the hire basket and hands off to the shared CRM checkout. */
.shop-cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(47, 52, 47, 0.2);
  background: #fffdf5;
  color: var(--forest);
  box-shadow: 0 18px 44px rgba(47, 52, 47, 0.18);
  font-family: Poppins, sans-serif;
}
.shop-cart h2 {
  margin: 0 0 20px;
  padding-right: 30px;
  font-size: 26px;
  line-height: 1.02;
}
/* Minimise the basket while keeping its item count visible as you browse. */
.shop-cart-collapse,
.shop-cart-open {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.shop-cart-collapse {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 32px;
  height: 32px;
}
.shop-cart.is-collapsed {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  overflow: visible;
  background: var(--forest);
  color: var(--cream);
}
.shop-cart-open {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.shop-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--forest);
  border-radius: 12px;
  background: var(--cream);
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
}
.shop-cart-collapse:focus-visible,
.shop-cart-open:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}
.shop-cart-items {
  display: grid;
  gap: 16px;
}
.shop-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
}
.shop-cart-item strong {
  font-size: 13px;
}
.shop-cart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 11px;
}
.shop-cart-controls button {
  border: 0;
  background: transparent;
  padding: 2px;
  font: inherit;
  color: inherit;
}
.shop-cart-controls [data-cart-remove] {
  text-decoration: underline;
}
.shop-cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d8d6ce;
  margin-top: 20px;
  padding-top: 16px;
}
.shop-cart > p {
  font-size: 11px;
}
.shop-cart > .button {
  width: 100%;
  background: var(--forest);
  color: var(--cream);
  margin-top: 8px;
}
.product-add-error {
  color: var(--rust);
  font-size: 0.85rem;
}
@media (max-width: 767px) {
  .shop-cart {
    right: 16px;
    bottom: 16px;
    max-height: 48dvh;
  }
}

/* Shop browsing and full product information. */
.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 32px;
}
.product-breadcrumb [aria-current] {
  opacity: 0.7;
}
.gallery-stage {
  position: relative;
}
.gallery-stage .gallery-main {
  display: block;
}
.gallery-stage > .gallery-controls {
  position: absolute;
  inset: 50% 12px auto;
  transform: translateY(-50%);
  justify-content: space-between;
  margin: 0;
  pointer-events: none;
}
.gallery-stage .gallery-controls button {
  pointer-events: auto;
  background: #fffdf5;
  color: var(--forest);
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.product-support {
  margin-top: 72px;
}
.product-advice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding: 48px 0;
  border-top: 1px solid #31383240;
}
.product-support h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.15;
  margin: 0 0 24px;
}
.product-support p {
  line-height: 1.6;
}
.product-faq details {
  border-bottom: 1px solid #31383240;
  padding: 18px 0;
}
.product-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.product-faq summary::after {
  content: '+';
}
.product-faq details[open] summary::after {
  content: '−';
}
.related-products {
  border-top: 1px solid #31383240;
  padding-top: 48px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 24px;
}
.related-product {
  text-decoration: none;
}
.related-product img {
  height: auto;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.related-product h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 12px 0 0;
}
.quick-view-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.92);
  color: #2f342f;
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 6px 18px #2f342f24;
}
.quick-view-open {
  overflow: hidden;
}
/* Buy adapts the shared quick view to the full product gallery markup. */
.quick-view-panel { width: min(1180px, 100%); position: relative; }
.quick-view-body .product-gallery { top: 0; }
.quick-view-body .gallery-main { cursor: default; }
.quick-view-body .gallery-controls { inset-inline: 10px; }
.quick-view-body .product-purchase { margin-top: 20px; gap: 8px; }
.quick-view-body .product-purchase .button { min-height: 40px; padding: 0 18px; font-size: 16px; background: #2f342f; color: #f4ebcb; border: 1px solid #2f342f; }
.quick-view-body .quantity > span { display: none; }
.quick-view-meta { margin-top: 14px; }
.quick-view-message {
  background: var(--cream);
  padding: 36px;
}
@media (max-width: 767px) {
  .product-advice {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .product-support {
    margin-top: 48px;
  }
}
.image-dialog .gallery-controls {
  position: absolute;
  inset: 50% 2rem auto;
  transform: translateY(-50%);
  justify-content: space-between;
  margin: 0;
  pointer-events: none;
}
.image-dialog .gallery-controls button {
  pointer-events: auto;
  border: 0;
  background: #fffdf5;
  color: var(--forest);
}

/* Hire and sale detail pages share the same content hierarchy. */
.hire-product-contents h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 24px 0 12px;
}
.hire-product-contents ul {
  margin: 0 0 24px;
  padding-left: 22px;
  line-height: 1.6;
}

/* Keep control sizes stable; only button padding grows with the card width. */
.product-card .quantity { flex: 0 0 92px; margin-left: auto; }
.product-card .quantity > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-card .ich-qty { grid-template-columns: 28px 34px 28px; }
.product-card .product-purchase { gap: 5px; }
.product-card .product-purchase .button { font-size: 13px; padding-inline: clamp(7px, calc(25cqw - 68px), 18px); }

@media (max-width: 767px) {
  .quick-view-body .product-price { font-size: 24px; }
  .quick-view-body .product-purchase .button { font-size: 13px; padding-inline: 12px; }
}

.product-arrival-estimate {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

/* Full product pages share a gallery and a deliberate information rhythm. */
.product-detail > .product-info { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.product-detail > .product-info > h1,
.product-detail > .product-info > .rich-text,
.product-detail > .product-info > .hire-product-contents { margin: 0; }
.product-detail > .product-info > .rich-text { line-height: 1.6; }
.product-detail > .product-info .rich-text > :first-child { margin-top: 0; }
.product-detail > .product-info .rich-text > :last-child { margin-bottom: 0; }
.hire-product-contents { padding-top: 24px; border-top: 1px solid #31383240; }
.hire-product-contents h2 { margin: 0 0 16px; font-size: 24px; }
.hire-product-contents ul { margin: 0; padding-left: 22px; line-height: 1.8; }
.hire-product-detail #hire-product-purchase { padding-top: 24px; border-top: 1px solid #31383240; }
.product-detail .gallery-main img { display: block; height: auto; aspect-ratio: auto; }
.product-detail .product-gallery { top: calc(var(--header-height, 100px) + 24px); }
.related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px)); gap: 32px; }
@media (max-width: 767px) {
  .product-detail > .product-info { gap: 24px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
