/* ---------------------------------------
   FONTS
   Microwave Gothic = Murecho (variable, one file for all weights),
   scaled to 92.1% so its letters match the size of the previous font.
   Microwave Pixel = DotGothic16 (Fontworks), for labels and prices.
   Microwave Serif = Instrument Serif, for the home page headlines.
   Latin-only files plus the → arrow; licences in fonts/OFL-*.txt.
   --------------------------------------- */

@font-face {
  font-family: "Microwave Serif";
  src: url("../fonts/instrument-serif-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Microwave Serif";
  src: url("../fonts/instrument-serif-400-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Microwave Gothic";
  src: url("../fonts/murecho-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 92.1%;
  /* Same line spacing as before (88/12/100, divided by 0.921) */
  ascent-override: 95.5%;
  descent-override: 13%;
  line-gap-override: 108.6%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Microwave Gothic";
  src: url("../fonts/murecho-arrows.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 92.1%;
  /* Same line spacing as before (88/12/100, divided by 0.921) */
  ascent-override: 95.5%;
  descent-override: 13%;
  line-gap-override: 108.6%;
  unicode-range: U+2192;
}

@font-face {
  font-family: "Microwave Pixel";
  src: url("../fonts/dotgothic16-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Same line spacing as Verdana, which it replaces for labels */
  ascent-override: 101%;
  descent-override: 21%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Microwave Pixel";
  src: url("../fonts/dotgothic16-400-arrows.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Same line spacing as Verdana, which it replaces for labels */
  ascent-override: 101%;
  descent-override: 21%;
  line-gap-override: 0%;
  unicode-range: U+2192;
}


/* ---------------------------------------
   MICROWAVE
   Copenhagen, Denmark
   --------------------------------------- */

html {
  background: #d8d8d8;
}

body {
  margin: 0;
  padding: 20px 0;

  background: #d8d8d8;
  color: #111;

  font-family: "Microwave Gothic", Arial, Helvetica, sans-serif;
  font-size: 13px;
}

/* LINKS — same blue as the active tab */

a,
a:visited {
  color: #1f5f99;
}

a:hover {
  color: #397fbd;
}


/* ---------------------------------------
   MAIN SITE
   --------------------------------------- */

#site {
  width: 800px;
  margin: 0 auto;

  background: #fff;
  border: 1px solid #777;
}


/* ---------------------------------------
   HEADER
   --------------------------------------- */

header {
  padding: 0;

  background: linear-gradient(
    to bottom,
    #f8f8f8 0%,
    #e9e9e9 50%,
    #c9c9c9 100%
  );

  border-bottom: 1px solid #777;
}


/* ---------------------------------------
   NAVIGATION
   Tabs on pinstripes with the logo mark as Home, and a row of
   category links below. The current tab uses the Aqua blue set here.
   --------------------------------------- */

:root {
  --tab-text: #fff;
  --tab-shadow: #315b83;
  --tab-border: #3f78ad;
  --tab-bg: linear-gradient(
    to bottom,
    #b9dcff 0%,
    #72afe9 45%,
    #397fbd 55%,
    #65a5dc 100%
  );
}

nav {
  display: block;
  margin: 0;
  padding: 0;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 12px 14px 0;

  background: repeating-linear-gradient(
    to bottom,
    #ffffff 0 2px,
    #ededed 2px 4px
  );
}

.nav-tabs a {
  display: flex;
  flex: 0 1 150px;
  align-items: center;
  justify-content: center;
  height: 30px;

  color: #222;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 0 1px #fff;

  border: 1px solid #9d9d9d;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f1f1f1 45%,
    #e2e2e2 55%,
    #d6d6d6 100%
  );
}

.nav-tabs a + a {
  margin-left: -1px;
}

.nav-tabs a:hover {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f7f7f7 45%,
    #ebebeb 55%,
    #e2e2e2 100%
  );
}

.nav-tabs a.active,
.nav-tabs a.active:hover {
  color: var(--tab-text);
  text-shadow: 0 1px var(--tab-shadow);
  border-color: var(--tab-border);
  background: var(--tab-bg);
}

.nav-home {
  flex-basis: 150px;
}

/* Home tab: the wave logo */
.nav-home .home-mark {
  display: block;
  width: 22px;
  height: 22px;
}


.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 26px;
  padding: 1px 14px 2px;
  line-height: 1.25;

  /* Glossy bar: light top half, slightly darker bottom half */
  border-top: 1px solid var(--tab-border);
  border-bottom: 1px solid #8f8f8f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f4f4f4 50%,
    #e4e4e4 51%,
    #efefef 100%
  );
}

.nav-links a,
.nav-links a:visited {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover {
  color: #111;
  text-decoration: underline;
}

.nav-links a.active {
  color: #111;
  font-weight: 700;
}

@media (max-width: 650px) {
  .nav-tabs {
    gap: 0;
    padding: 8px 6px 0;
  }

  .nav-tabs a {
    flex: 1 1 0;
    height: 28px;
    padding: 0 2px;
    font-size: 13px;
    border-radius: 5px 5px 0 0;
  }

  .nav-home {
    flex: 0 0 78px;
  }

  .nav-home .home-mark {
    width: 18px;
    height: 18px;
  }

  /* The category row scrolls sideways on phones */
  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    padding: 2px 10px 3px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
}


/* ---------------------------------------
   CONTENT
   --------------------------------------- */

main {
  padding: 24px 20px 30px 20px;
}


.intro {
  width: 520px;
  margin-bottom: 24px;

  color: #333;
  line-height: 1.5;
}


/* ---------------------------------------
   GENERIC PRODUCTS
   --------------------------------------- */

.products {
  display: flex;
  gap: 12px;
}

.product {
  flex: 1 1 0;
  min-width: 0;

  padding: 8px;

  border: 1px solid #aaa;
  background: #fafafa;
}

.product h2 {
  margin: 0 0 4px 0;

  font-size: 14px;
  font-weight: bold;
}

.product p {
  margin: 2px 0;
}

.status {
  margin-top: 8px !important;

  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: bold;
}

.product a {
  display: inline-block;

  margin-top: 8px;

  text-decoration: underline;
}


/* ---------------------------------------
   RENTAL REQUEST AREA
   --------------------------------------- */


.rental-note {
  margin: 14px 0 10px 0;

  color: #444;

  font-size: 12px;
  line-height: 1.5;
}


/* ---------------------------------------
   RENTAL FORM
   --------------------------------------- */

.rental-form {
  width: 520px;


}

.rental-form input,
.rental-form select,
.rental-form textarea {
  width: 100%;

  padding: 4px 5px;

  font-family: "Microwave Gothic", Arial, Helvetica, sans-serif;
  font-size: 12px;

  border: 1px solid #999;

  background: #fff;
}

.rental-form textarea {
  height: 70px;

}

.rental-form button {
  grid-column: 2;

  width: fit-content;

  margin-top: 4px;
  padding: 4px 10px;

  font-family: "Microwave Gothic", Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;

  border: 1px solid #777;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f7f7f7 20%,
    #d5d5d5 60%,
    #b8b8b8 100%
  );
}

.rental-form button:hover {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e8f3ff 20%,
    #a9cef3 55%,
    #6fa5da 100%
  );
}


/* ---------------------------------------
   FOOTER
   --------------------------------------- */

footer {
  padding: 8px 12px;

  color: #666;

  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;
  font-size: 11px;
  line-height: 1.5;

  border-top: 1px solid #aaa;

  background: #ededed;
}


/* ---------------------------------------
   FIRE GIF
   --------------------------------------- */

.fire-bottom {
  position: fixed;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 56px;

  background-image: url("../images/fuego.gif");
  background-repeat: repeat-x;
  background-position: bottom left;

  pointer-events: none;

  z-index: 9999;
}


/* ---------------------------------------
   BOX SIZING
   Cursors are the system's own: arrow, hand on links, text in fields
   --------------------------------------- */

* {
  box-sizing: border-box;
}

/* ---------------------------------------
   ABOUT TEXT (CONTACT PAGE)
   --------------------------------------- */


/* ---------------------------------------
   TABLET / SMALL SCREEN
   --------------------------------------- */

@media (max-width: 830px) {

  body {
    padding: 0;
  }

  #site {
    border-left: 0;
    border-right: 0;
  }

  .intro {
    width: auto;
  }

  

  

  

  

  .rental-form {
    width: 100%;
    grid-template-columns: 100px 1fr;
  }


}


/* ---------------------------------------
   MOBILE — 520px AND BELOW
   --------------------------------------- */

@media (max-width: 520px) {

  body {
    padding: 0 0 34px 0;
  }

  #site {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }


  /* MAIN CONTENT */


  .intro {
    width: auto;
    margin-bottom: 16px;
    line-height: 1.45;
  }


  /* FEATURED EQUIPMENT — 2 COLUMNS */

  .products {
    display: grid;
    gap: 8px;
  }

  .product {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 7px;
  }

  .product h2 {
    margin: 0 0 3px 0;
    font-size: 13px;
    line-height: 1.2;
  }

  .product p {
    margin: 0 0 5px 0;
    font-size: 11px;
    line-height: 1.3;
  }

  .product .status {
    font-size: 11px;
  }

  .product a {
    font-size: 11px;
  }


}

/* -------------------------
   RENTAL CART BUTTONS
------------------------- */


.add-rental-button {
  display: block;
  width: 100%;
  margin: 3px 0 8px 0;
  padding: 5px 6px;

  border: 1px solid #888;
  background: linear-gradient(#f4f4f4, #cfcfcf);

  color: #111;
  font-family: "Microwave Gothic", Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;

  cursor: pointer;
}

.add-rental-button:hover {
  background: linear-gradient(#e8eef5, #bcc9d8);
}

.add-rental-button.added {
  background: #ddd;
  color: #666;
}
/* -------------------------
   RENTAL CART PAGE
------------------------- */

#rental-cart-items {
  margin: 12px 0 18px 0;
  border-top: 1px solid #aaa;
}

.rental-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px;

  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;

  background: #eee;
}

.rental-cart-remove {
  padding: 3px 6px;

  border: 1px solid #888;
  background: linear-gradient(#f5f5f5, #ccc);

  font-family: "Microwave Gothic", Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;

  cursor: pointer;
}

.rental-cart-remove:hover {
  background: #bbb;
}

.empty-cart {
  padding: 10px;
  margin: 0;

  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;

  font-size: 11px;
  color: #666;
}


/* ---------------------------------
   STRONG SIDES / TRUMP RATINGS
--------------------------------- */


.synth-strength {
  display: grid;


  align-items: center;


}


.synth-strength:last-child {
  border-bottom: 0;
}


.synth-strength-name {
  font-family: "Microwave Gothic", Arial, sans-serif;
}


.synth-strength-meter {
  display: grid;

  grid-template-columns:
    repeat(10, 1fr);


}


.synth-strength-block {
  display: block;

  min-width: 0;


}


.synth-strength-score {
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;

  font-size: 11px;
  font-weight: bold;

  text-align: right;
}


/* ---------------------------------
   SOUND REFERENCE
--------------------------------- */

#synth-reference {
  color: #111;

  font-weight: bold;

}


.synth-reference-part {
  display: inline-block;


  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;

  font-weight: bold;

  line-height: 1;

  letter-spacing: 1px;

  text-transform: uppercase;


}


/* ---------------------------------
   SYNTH DETAIL — MOBILE
--------------------------------- */

@media (max-width: 520px) {

  


  


  


  


  


  


  


  .synth-strength {
    font-size: 11px;
  }


  #synth-reference {
    font-size: 12px;
  }


  


  

}
/* ---------------------------------
   RENTAL PRICES
--------------------------------- */

.rental-includes {
  margin: -2px 0 10px;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}


/* ---------------------------------
   RENTAL CART — TOTAL
--------------------------------- */

.rental-cart-total {
  padding:
    9px
    8px;

  text-align: right;

  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;

  font-size: 12px;
  font-weight: bold;

  border-left:
    1px solid #888;

  border-right:
    1px solid #888;

  border-bottom:
    1px solid #888;

  background:
    linear-gradient(
      to bottom,
      #f8f8f8,
      #d3d3d3
    );
}


/* ---------------------------------
   STRONG SIDES
--------------------------------- */

.synth-strength {
  grid-template-columns:
    68px
    1fr
    16px;

  gap: 7px;

  padding:
    4px
    0;

  border-bottom: 0;
}


.synth-strength-name {
  color: #444;

  font-size: 11px;
}


.synth-strength-meter {
  gap: 2px;

  height: 6px;
}


.synth-strength-block {
  border: 1px solid #ccc;

  background: #fff;
}


.synth-strength-block.filled {
  border-color: #1683b8;
  background: #1683b8;
}


/* ---------------------------------
   SOUND REFERENCE
--------------------------------- */

#synth-reference {
  font-size: 12px;
  line-height: 1.4;
}


.synth-reference-part {
  margin-top: 7px;

  padding: 0;

  color: #666;

  font-size: 11px;

  border: 0;

  background: transparent;

  text-shadow: none;
}


/* -----------------------------------------
   RETURN LINKS
----------------------------------------- */


/* FOOTER — DETAILS LEFT, LINKS RIGHT */

#site footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 20px;
}

#site footer .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

#site footer a {
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

#site footer a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  #site footer {
    flex-direction: column;
    align-items: flex-start;
  }

  #site footer .footer-links {
    text-align: left;
  }

  /* Bigger tap targets on phones */
  #site footer .footer-links li {
    padding: 3px 0;
  }
}

/* FOOTER / FLAMES — 20px SPACING */

body {
  padding-bottom: 76px;
}

#site {
  display: flex;
  flex-direction: column;
}

#site main {
  flex: 1;
}

@media (max-width: 830px) {
  body {
    padding-bottom: 76px;
  }
}


/* Desktop layout stays at 800px */
#site {
  width: min(800px, 100%);
}

/* Prevent images from overflowing */
img {
  max-width: 100%;
}

/* Keep content within the page */
main {
  min-width: 0;
}

.intro,
.rental-form {
  max-width: 100%;
}

/* TABLET */
@media (max-width: 830px) {

  #site {
    width: 100%;
  }

  

  

  

}

/* MOBILE */
@media (max-width: 520px) {

  body {
    overflow-x: hidden;
  }


  main {
    padding: 18px 12px 24px;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  

  

  

  

  

  

  .rental-form {
    grid-template-columns: 1fr;
  }

  .rental-form button {
    grid-column: 1;
  }

}

/* VERY SMALL PHONES */
@media (max-width: 360px) {

  

  .products {
    grid-template-columns: 1fr;
  }

}

/* =====================================
   RENTAL PRICE SLIDER
   ===================================== */


.rental-slider-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

#rental-slider-days {
  font-size: 12px;
  font-weight: bold;
}

#rental-slider-price {
  font-size: 22px;
  font-weight: bold;
  color: #111;
}

#rental-days-slider {
  display: block;
  width: 100%;
  margin: 0;
  accent-color: #1683b8;
  cursor: pointer;
}

.rental-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #666;
  font-size: 11px;
}


/* CLICK TO ENLARGE EQUIPMENT PHOTOS */

.zoomable-photo {
  cursor: zoom-in;
}

.zoomable-photo:focus-visible {
  outline: 2px solid #1683b8;
  outline-offset: 3px;
}

/* ITEM AND SALE PAGE STATUS GIF */

#item-status,
#sale-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

#item-status .rental-status-light,
#sale-status .rental-status-light {
  width: 12px;
  height: 12px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 1;
  filter: none;
}
/* REFUNDABLE DEPOSIT BOX */

.rental-deposit-box {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin: 14px 0;
  padding: 12px;

  background: #eeeeee;
  border: 1px solid #aaa;

  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  letter-spacing: 1px;
}


#synth-deposit-price,
#sale-price {
  font-size: 18px;
  font-weight: bold;
  color: #222;
}


/* GLOBAL IMAGE LIGHTBOX */

.global-lightbox-image {
  display: block;
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.global-lightbox-close {
  position: absolute;
  top: 12px;
  right: 22px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

/* 1990s STEPPED IMAGE ZOOM */

#global-image-lightbox {
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(0, 0, 0, 0);
  overflow: hidden;
}

#global-image-lightbox.open {
  display: block;
}

#global-image-lightbox .global-lightbox-image {
  position: fixed;
  display: block;
  margin: 0;
  padding: 0;
  border: 2px solid #999;
  box-sizing: border-box;
  object-fit: fill;
  box-shadow: 4px 4px 0 #000;
}

#global-image-lightbox .global-lightbox-close {
  position: fixed;
  top: 12px;
  right: 22px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 38px;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}
/* =========================================
   MICROWAVE — TYPOGRAPHY HIERARCHY V1
   ========================================= */

:root {
  --type-page: 20px;
  --type-section: 13px;
  --type-product: 13px;
  --type-body: 13px;
  --type-label: 12px;
  --type-small: 11px;
}


/* General content */
.intro {
  font-size: var(--type-body);
  line-height: 1.55;
}


/* Cart */
.rental-cart-name {
  font-weight: bold;
  font-size: var(--type-product);
}

.rental-cart-remove {
  font-size: var(--type-small);
}


/* Footer */
footer {
  font-size: var(--type-small);
}


/* =========================================
   STEP GUIDE (USED ON THE REPAIRS PAGE)
   ========================================= */


/* =========================================
   CONTACT PAGE (moved from contact.html)
   ========================================= */


/* About section — only affects this page */

.contact-about {
  margin-top: 30px;
  margin-bottom: 32px;
}


/* =========================================
   ITEM PAGE (moved from item.html)
   ========================================= */

/* Shared layout using the original MonoPoly styling */


.item-title {
  margin: 0 0 20px;
}

.item-photo {
  width: 100%;
  overflow: hidden;
}

.item-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #aaa;
}


/* =========================================
   RENT / BUY PAGE (moved from rent.html)
   ========================================= */


    

    

    

    

    

    

    

    


    

    

    /* Contact button on sale-item.html is a link, not a button */
    .sale-contact-button {
      display: block;
      box-sizing: border-box;
      text-align: center;
      text-decoration: none;
    }
    


/* =========================================
   RENTAL CART PAGE (moved from rental-cart.html)
   ========================================= */

    /* Preserve the existing Microwave rental form layout. */
    #rental-cart-items { margin-bottom: 18px; }
    .rental-form { display: grid; grid-template-columns: 105px minmax(0, 390px); gap: 9px 12px; align-items: center; max-width: 510px; margin-top: 18px; }
    .rental-form label {
  margin: 0;
  color: #222;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}
    .rental-form input, .rental-form textarea { box-sizing: border-box; width: 100%; margin: 0; padding: 7px 8px; border: 1px solid #aaa; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 12px; }
    .rental-form input { height: 32px; }
    .rental-form textarea { min-height: 80px; resize: vertical; }
    .rental-form button[type="submit"] { grid-column: 2; width: 100%; height: 34px; margin-top: 6px; border: 1px solid #333; border-radius: 0; background: linear-gradient(#444, #111); color: #fff; font-family: inherit; font-size: 11px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
    .rental-form button[type="submit"]:hover { background: #111; }
    .form-error { margin-top: 10px; color: #a00000; font-size: 11px; }
    @media (max-width: 650px) {
      .rental-form { grid-template-columns: 1fr; gap: 6px; max-width: none; }
      .rental-form label { margin-top: 7px; }
      .rental-form button[type="submit"] { grid-column: 1; margin-top: 10px; }
    }

    /* Equipment thumbnails in rental cart */
.rental-cart-item-with-image {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.rental-cart-thumbnail {
  display: block;
  width: 76px;
  height: 60px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid #aaa;
  background: #fff;
  cursor: zoom-in;
}

.rental-cart-item-details {
  flex: 1;
  min-width: 0;
}
.rental-cart-item-deposit { display: block; margin-top: 5px; font-size: 12px; color: #555; }


/* =========================================
   ACCENT, HOME BANNER, CARD PRICES, EMPTY CART
   Orange accent taken from the logo (#ed8334), used for
   graphic details only; text stays dark for contrast.
   ========================================= */

:root {
  --accent: #ed8334;
}


/* Empty cart */

.empty-cart {
  padding: 22px 16px;
  text-align: center;
}

.empty-cart p {
  margin: 0 0 12px;
  font-size: 13px;
}

.empty-cart-button,
.empty-cart-button:visited {
  display: inline-block;
  padding: 7px 16px;

  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;

  border: 1px solid #333;
  background: linear-gradient(#444, #111);
}

.empty-cart-button:hover {
  color: #fff;
  background: linear-gradient(#555, #222);
}


/* =========================================
   HOME PAGE
   Headline and category titles in Microwave Serif, set like
   Apple's 2001 home page; a glossy news bar; rounded boxes.
   ========================================= */

.home-hero {
  margin: 14px 0 0;
  text-align: center;
}

.home-hero h1,
.home-hero p {
  position: relative;
  z-index: 1;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.home-hero h1 {
  margin: 0;
  color: #111;
  font-size: 64px;
  line-height: 1.15;
  white-space: nowrap;
}

.home-hero p {
  margin: 2px 0 0;
  color: #8a8a8a;
  font-size: 19px;
  line-height: 1.2;
}

/* The photo's own white border is pulled up under the subline */
.home-hero img {
  display: block;
  width: 88%;
  margin: -22px auto 4px;
}

/* Rental News Headlines bar */

.home-news {
  display: flex;
  align-items: stretch;
  margin-bottom: 16px;
  overflow: hidden;

  font-size: 13px;
  line-height: 1.25;

  border: 1px solid #8f8f8f;
  border-radius: 6px;
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.15);
  background: linear-gradient(#ffffff 0%, #f3f3f3 50%, #e2e2e2 51%, #efefef 100%);
}

.home-news b {
  flex-shrink: 0;
  padding: 1px 18px 2px 40px;

  color: #1d2a3a;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px rgba(255, 255, 255, 0.7);

  border-right: 1px solid #8f8f8f;
  background: linear-gradient(#e9f1fa 0%, #cfdced 50%, #b3c7e0 51%, #cbd9eb 100%);
}

.home-news span {
  padding: 1px 16px 2px;
  font-weight: 700;
}

/* Category boxes */

.home-boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.home-box,
.home-box:visited {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;

  color: #111;
  text-decoration: none;

  border: 1px solid #bbb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.home-box:hover {
  color: #111;
  border-color: #888;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.home-box h2 {
  margin: 0 0 6px;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
}

.home-box img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: auto 0 6px;
}

.home-box span {
  color: #555;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* More links */

.home-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 20px;
  padding: 14px 0 4px;
  border-top: 1px solid #ccc;
}

.home-links a,
.home-links a:visited {
  color: #4a6f99;
  font-size: 13px;
  line-height: 1.9;
  text-decoration: none;
}

.home-links a::before {
  content: "▸ ";
  color: #555;
}

.home-links a:hover {
  color: #111;
}

@media (max-width: 650px) {
  .home-hero h1 {
    font-size: 46px;
  }

  .home-hero p {
    font-size: 15px;
  }

  .home-hero img {
    width: 100%;
    margin: -8px auto 4px;
  }

  .home-news {
    font-size: 11px;
  }

  .home-news b,
  .home-news span {
    padding: 2px 8px;
  }

  .home-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-box h2 {
    font-size: 21px;
  }

  .home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================
   READING TEXT
   Longer paragraphs (item About, rental policy, contact)
   one step larger than the rest of the interface.
   ========================================= */


/* =========================================
   RENT / BUY PAGE
   Laid out like Apple's 2001 online store: a product grid with
   thin dividers, serif names with an italic "from" price, and a
   rounded sidebar of stacked panels.
   ========================================= */

.store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: start;
  margin-top: 4px;
}

.store-name,
.store-price,
.store-side h3,
.store-side h4 {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Category grid */

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-cell,
.store-cell:visited {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px 14px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
}

.store-cell:nth-child(2n) {
  border-left: 1px solid #bbb;
}

.store-cell:hover,
.store-sec:hover {
  color: #111;
  background: #f6f9fc;
}

.store-cell img {
  display: block;
  width: 82%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 0 auto 6px;
}

.store-label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.store-name {
  font-size: 28px;
  line-height: 0.95;
  text-align: right;
}

.store-price {
  padding-left: 8px;
  border-left: 1px solid #999;
  color: #666;
  line-height: 1;
  font-style: italic;
}

.store-price i {
  display: block;
  font-size: 15px;
}

.store-price b {
  display: block;
  font-size: 28px;
  font-weight: 400;
  white-space: nowrap;
}

.store-note {
  display: block;
  margin-top: 3px;
  color: #888;
  font-size: 11px;
  text-align: center;
}

/* Category pages: title, three-column machine grid */

.store-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #bbb;
}

.store-head h1 {
  margin: 0;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.store-head em {
  display: block;
  margin-top: 4px;
  color: #777;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.store-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-grid-3 .store-cell:nth-child(n) {
  border-left: 0;
}

.store-grid-3 .store-cell:not(:nth-child(3n+1)) {
  border-left: 1px solid #bbb;
}

.store-grid-3 .store-cell {
  justify-content: flex-start;
  text-align: center;
}

.store-grid-3 .store-cell img {
  width: 90%;
}

.store-item-name {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.store-item-price {
  margin-top: 2px;
  color: #666;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.1;
}

.store-item-price small {
  font-size: 14px;
}

.store-grid-3 .store-note {
  margin-top: 5px;
  line-height: 1.35;
}

.store-note .rental-status-dot,
.store-legend .rental-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  vertical-align: 0;
  border-radius: 50%;
}

.rental-status-dot.available {
  background: #19a63a;
  border: 1px solid #08751f;
}

.rental-status-dot.coming-soon {
  background: #f2a516;
  border: 1px solid #b0700a;
}

.store-sold .rental-status-dot {
  filter: none;
}

/* Sidebar lists on category pages */

.store-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-links li {
  padding: 3px 0;
  font-size: 12px;
}

.store-links a.active {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.store-side .store-legend {
  font-weight: 400;
}

.store-side .store-legend + .store-legend {
  margin-top: 4px;
}

/* For Sale: continues the grid; the first cell introduces it */

.store-sale {
  scroll-margin-top: 12px;
}

.store-sale[hidden] {
  display: none;
}

.store-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid #bbb;
}

.store-intro h2 {
  margin: 0;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.store-intro em {
  display: block;
  margin: 6px 0 14px;
  color: #666;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.15;
}

.store-intro p {
  margin: 0 0 4px;
  color: #444;
  font-size: 12px;
}

.store-sold img {
  filter: grayscale(100%);
  opacity: 0.55;
}

/* Sidebar */

.store-side {
  overflow: hidden;
  border: 1px solid #aaa;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.store-side section,
.store-sec,
.store-sec:visited {
  display: block;
  padding: 10px 12px 12px;
  color: #111;
  text-decoration: none;
  border-top: 1px solid #ccc;
}

.store-side > :first-child {
  border-top: 0;
}

.store-side h3 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1;
}

.store-side h4 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1;
}

.store-side p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.store-side .store-cart {
  margin-top: 8px;
  font-weight: 400;
}

.store-side .store-cart a {
  text-decoration: underline;
}

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

.store-side .store-small {
  color: #444;
  font-size: 11px;
  font-weight: 400;
  text-align: center;
}

.store-pill,
.store-pill:visited {
  display: block;
  margin: 0 auto 4px;
  padding: 3px 10px;

  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px #315b83;

  border: 1px solid #2f6da3;
  border-radius: 12px;
  background: linear-gradient(#b9dcff 0%, #72afe9 45%, #397fbd 55%, #65a5dc 100%);
}

.store-pill:hover {
  color: #fff;
}

.store-side img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 4px 0;
}

@media (max-width: 650px) {
  .store {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-cell img {
    width: 100%;
  }

  .store-head h1 {
    font-size: 34px;
  }

  .store-head em {
    font-size: 15px;
  }

  .store-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-grid-3 .store-cell:not(:nth-child(3n+1)) {
    border-left: 0;
  }

  .store-grid-3 .store-cell:nth-child(2n) {
    border-left: 1px solid #bbb;
  }

  .store-item-name {
    font-size: 19px;
  }

  .store-name,
  .store-price b {
    font-size: 20px;
  }

  .store-side img {
    width: 60%;
    margin: 4px auto;
  }
}


/* =========================================
   ITEM PAGE
   One machine: serif header, large photo, details in two columns
   with thin dividers, and the rental panel in the rounded sidebar.
   ========================================= */

.item-back {
  margin: 0 0 10px;
  font-size: 12px;
}

/* Photos are trimmed close to the machine, so the space around it is set here:
   the same band above and below, and tall machines capped in height */
.item-photo {
  padding: 10px 0 24px; /* the title above adds 14px */
  border-bottom: 1px solid #bbb;
}

.item-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  border: 0;
  margin: 0 auto;
}

.item-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #bbb;
}

.item-details section {
  padding: 14px 14px 16px 0;
}

.item-details section + section {
  padding: 14px 0 16px 14px;
  border-left: 1px solid #bbb;
}

.item-details h2 {
  margin: 0 0 8px;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.item-details p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* Specifications */

.item-specs {
  width: 100%;
  border-collapse: collapse;
}

.item-specs td {
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.35;
  vertical-align: top;
  border-bottom: 1px solid #e3e3e3;
}

.item-specs tr:last-child td {
  border-bottom: 0;
}

.item-specs td:first-child {
  padding-right: 10px;
  color: #666;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.item-specs td:last-child {
  font-weight: 700;
  text-align: right;
}

/* Strong sides: the existing meters, with room for longer names */

.item-details .synth-strength {
  grid-template-columns: minmax(0, 1fr) 90px 18px;
  gap: 8px;
  padding: 5px 0;
}

/* Long names wrap onto two lines instead of being cut off */
.item-details .synth-strength-name {
  overflow-wrap: anywhere;
  line-height: 1.3;
}

@media (max-width: 830px) and (min-width: 651px) {
  .item-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .item-details section,
  .item-details section + section {
    padding: 14px 0;
    border-left: 0;
  }

  .item-details section + section {
    border-top: 1px solid #e3e3e3;
  }
}

.item-details #synth-reference {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.item-details .item-reference {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 20px;
  line-height: 1.2;
}

.item-reference-part {
  margin-top: 4px;
  color: #666;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.3;
}

/* Rental panel */

.item-rent h3 {
  margin-bottom: 8px;
}

.item-rent .item-status .rental-status-light {
  width: 12px;
  height: 12px;
  margin: 0;
  aspect-ratio: auto;
}

.item-rent .item-status {
  justify-content: flex-start;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.item-rent .rental-slider-display {
  margin-bottom: 10px;
}

.item-rent #rental-slider-days {
  font-size: 11px;
}

.item-rent #rental-slider-price {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: #444;
}

.item-rent .rental-slider-labels {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
}

.item-rent .store-small {
  margin-top: 8px;
  text-align: left;
}

.item-rent .item-deposit {
  display: block;
  color: #444;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.item-rent .rental-deposit-box {
  display: block;
  margin: 0;
  padding: 10px 12px 12px;
  font-family: "Microwave Gothic", Arial, sans-serif;
  letter-spacing: normal;
  border: 0;
  border-top: 1px solid #ccc;
  border-radius: 0;
  background: none;
}

.item-includes {
  font-size: 12px;
  line-height: 1.5;
}

.item-includes:empty {
  display: none;
}

/* Add to cart: the glossy Aqua button */

.item-add {
  width: 100%;
  padding: 5px 10px;
  font-family: "Microwave Gothic", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.item-add:hover {
  background: linear-gradient(#cfe7ff 0%, #86bdf0 45%, #4a8ecb 55%, #79b4e6 100%);
}

.item-add:disabled {
  color: #666;
  text-shadow: 0 1px #fff;
  cursor: default;
  border-color: #aaa;
  background: linear-gradient(#f4f4f4, #d6d6d6);
}

.item-add.added {
  color: #fff;
  border-color: #3e7f2e;
  text-shadow: 0 1px #2e5e22;
  background: linear-gradient(#c9efb5 0%, #84cc63 45%, #4ea432 55%, #77c25a 100%);
}

@media (max-width: 650px) {
  .item-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .item-details section,
  .item-details section + section {
    padding: 14px 0;
    border-left: 0;
  }

  .item-details section + section {
    border-top: 1px solid #e3e3e3;
  }

  .item-photo {
    margin-top: -15px; /* evens out the gap under the title */
    padding: 0 0 16px;
  }

  .item-photo img {
    max-height: 280px;
  }

  /* On phones the rental panel comes straight after the photo */
  .item-main {
    display: contents;
  }

  .item-main .store-head {
    order: 1;
  }

  .item-main .item-photo {
    order: 2;
  }

  .item-rent {
    order: 3;
  }

  .item-main .item-details {
    order: 4;
  }
}


/* =========================================
   SHARED PAGE BLOCKS
   Serif section titles with a thin rule, used on the cart,
   contact, repairs, policy and confirmation pages.
   ========================================= */

.page-section {
  padding: 14px 0 18px;
  border-bottom: 1px solid #bbb;
}

.page-section:last-child {
  border-bottom: 0;
}

.page-section h2 {
  margin: 0 0 10px;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.page-section p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
}

.page-section p:last-child {
  margin-bottom: 0;
}

.store-facts {
  margin: 0;
  padding: 0 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
}

.store-facts li + li {
  margin-top: 4px;
}

button.store-pill {
  font-family: "Microwave Gothic", Arial, sans-serif;
  cursor: pointer;
}

button.store-pill:hover {
  background: linear-gradient(#cfe7ff 0%, #86bdf0 45%, #4a8ecb 55%, #79b4e6 100%);
}


/* =========================================
   CART PAGE
   ========================================= */

.cart-page #rental-cart-items {
  margin: 0;
}

.cart-page .rental-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #e3e3e3;
  background: none;
}

.cart-page #rental-cart-items > .rental-cart-row:last-child {
  border-bottom: 0;
}

.cart-page .rental-cart-thumbnail {
  width: 96px;
  height: 72px;
  object-fit: contain;
  border: 0;
  background: none;
}

.cart-page .rental-cart-name {
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.cart-page .rental-cart-item-deposit {
  margin-top: 3px;
  color: #666;
  font-size: 12px;
}

.cart-page .rental-cart-remove {
  flex-shrink: 0;
  padding: 2px 10px;
  color: #333;
  font-family: "Microwave Gothic", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #999;
  border-radius: 10px;
  background: linear-gradient(#fff, #ddd);
  cursor: pointer;
}

.cart-page .rental-cart-remove:hover {
  background: linear-gradient(#fff, #cfcfcf);
}



.cart-page .empty-cart {
  padding: 22px 0 6px;
  border: 0;
}

.cart-page .empty-cart-button,
.cart-page .empty-cart-button:visited {
  color: #fff;
  text-shadow: 0 1px #315b83;
  border: 1px solid #2f6da3;
  border-radius: 12px;
  background: linear-gradient(#b9dcff 0%, #72afe9 45%, #397fbd 55%, #65a5dc 100%);
}

/* Request form */

.cart-page .rental-note {
  margin: 0 0 12px;
  color: #444;
  font-size: 13px;
}

.cart-page .rental-form {
  max-width: none;
  margin-top: 0;
}

.cart-page .rental-form label {
  color: #444;
  font-size: 12px;
  font-weight: 700;
}

.cart-page .rental-form input,
.cart-page .rental-form textarea {
  font-size: 13px;
  border: 1px solid #999;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cart-page .rental-form input:focus,
.cart-page .rental-form textarea:focus {
  outline: 2px solid #72afe9;
  outline-offset: 0;
  border-color: #397fbd;
}

.cart-page .rental-form button[type="submit"] {
  height: auto;
  margin-top: 8px;
  padding: 5px 10px;
  font-size: 12px;
  text-transform: uppercase;
  border: 1px solid #2f6da3;
  border-radius: 12px;
  background: linear-gradient(#b9dcff 0%, #72afe9 45%, #397fbd 55%, #65a5dc 100%);
}

.cart-page .rental-form button[type="submit"]:hover {
  background: linear-gradient(#cfe7ff 0%, #86bdf0 45%, #4a8ecb 55%, #79b4e6 100%);
}

/* Price line under the dates, in the receipt's font */
.rental-summary {
  grid-column: 2;
  margin: 0;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 12px;
}

.rental-summary a {
  font-family: "Microwave Gothic", Arial, sans-serif;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .rental-summary {
    grid-column: 1;
  }
}


/* =========================================
   CONTACT PAGE
   ========================================= */

.store .contact-about {
  margin: 0;
}

.contact-about p {
  max-width: 560px;
}

.item-details p + p {
  margin-top: 8px;
}

.page-section .contact-quote {
  margin-top: 14px;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.2;
}

.store-side .contact-email {
  font-size: 13px;
  word-break: break-all;
}

.store-side .store-left {
  margin-top: 4px;
  text-align: left;
}

.contact-about + .item-details .item-specs td:last-child {
  font-weight: 400;
}


/* =========================================
   REPAIRS PAGE
   ========================================= */

.repair-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.repair-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #bbb;
}

.repair-steps section {
  padding: 14px 14px 16px;
}

.repair-steps section:first-child {
  padding-left: 0;
}

.repair-steps section + section {
  border-left: 1px solid #bbb;
}

.repair-n {
  color: #999;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.repair-steps h2 {
  margin: 2px 0 6px;
  font-family: "Microwave Serif", Garamond, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.repair-steps p {
  margin: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .repair-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .repair-steps section,
  .repair-steps section:first-child {
    padding: 12px 0;
  }

  .repair-steps section + section {
    border-left: 0;
    border-top: 1px solid #e3e3e3;
  }
}


/* =========================================
   RENTAL POLICY PAGE
   ========================================= */

.policy-section {
  scroll-margin-top: 12px;
}

.policy-section p {
  max-width: 600px;
  font-size: 14px;
}

.policy-side .store-links li {
  padding: 2px 0;
}

/* The sidebar follows you down the page on wide screens */
@media (min-width: 651px) {
  .policy-side {
    position: sticky;
    top: 12px;
  }
}

/* On phones the section list comes after the title, as a contents list */
@media (max-width: 650px) {
  .store:has(> .policy-side) {
    row-gap: 0;
  }

  .policy {
    display: contents;
  }

  .policy .store-head {
    order: -2;
  }

  .policy-side {
    order: -1;
    margin: 4px 0 6px;
  }
}


/* =========================================
   REQUEST SENT PAGE
   ========================================= */

.sent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  border-bottom: 1px solid #bbb;
}

.sent-status .rental-status-light {
  width: 14px;
  height: 14px;
}


/* =========================================
   RENT PAGE ON PHONES
   Categories first and large; the sidebar becomes a quieter list.
   ========================================= */

.store-head-phone {
  display: none;
}

@media (max-width: 650px) {
  .store-head-phone {
    display: block;
  }

  .store-side .store-side-intro {
    display: none;
  }

  .store-side .store-side-intro + section {
    border-top: 0;
  }

  /* One category per row: photo left, name and price right */
  #store-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #store-grid .store-cell,
  #store-grid .store-cell:nth-child(2n) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-left: 0;
  }

  #store-grid .store-cell img {
    grid-row: 1 / span 2;
    width: 100%;
    margin: 0;
  }

  #store-grid .store-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #store-grid .store-name {
    font-size: 24px;
    text-align: left;
  }

  #store-grid .store-price {
    padding-left: 0;
    border-left: 0;
  }

  #store-grid .store-price i {
    display: inline;
    margin-right: 4px;
  }

  #store-grid .store-price b {
    display: inline;
    font-size: 22px;
  }

  #store-grid .store-note {
    align-self: start;
    text-align: left;
  }

  /* Quieter sidebar under the categories */
  .store-side {
    margin-top: 6px;
    box-shadow: none;
  }

  .store-side h4 {
    font-size: 20px;
  }

  .store-side img {
    width: 45%;
  }
}

/* =========================================
   RECEIPT
   The pixel font means "machine output": the cart prints its
   estimate like a till receipt, and the confirmation page prints
   a ticket.
   ========================================= */

.receipt {
  position: relative;
  max-width: 340px;
  margin: 16px 0 6px auto;
  padding: 16px 18px 20px;

  color: #222;
  font-family: "Microwave Pixel", Verdana, Tahoma, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 1px;

  background: #fbfaf6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Torn edge along the bottom */
.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background:
    linear-gradient(135deg, #fbfaf6 50%, transparent 50%) 0 0 / 12px 8px repeat-x,
    linear-gradient(225deg, #fbfaf6 50%, transparent 50%) 0 0 / 12px 8px repeat-x;
}

.receipt-head {
  margin-bottom: 6px;
  text-align: center;
}

.receipt hr {
  margin: 6px 0;
  border: 0;
  border-top: 1px dashed #999;
}

.receipt-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.receipt-line > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.receipt-dots {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted #999;
  transform: translateY(-3px);
}

.receipt-line > span:last-child {
  white-space: nowrap;
}

.receipt-dates .receipt-dots {
  border-bottom-color: transparent;
}

.receipt-total {
  margin-top: 4px;
  font-size: 14px;
}

.receipt-foot {
  margin-top: 10px;
  color: #666;
  font-size: 11px;
  text-align: center;
}

.receipt-foot .rental-status-light {
  width: 10px;
  height: 10px;
  margin-right: 4px;
  vertical-align: -1px;
}

/* Confirmation ticket */

.ticket-wrap {
  padding: 18px 0 22px;
  border-bottom: 1px solid #bbb;
}

.ticket-wrap .ticket {
  margin: 0 auto;
}

@media (max-width: 650px) {
  .receipt {
    max-width: none;
    margin-left: 0;
  }
}

