/* Shared technical, navigation, form and mobile improvements. */
[id] {
  scroll-margin-top: 92px;
}

#collections .sec-head h2,
#collections .sec-head h2 em,
#collections .sec-head .desc {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
}

#collections .sec-head h2 {
  font-weight: 400;
  letter-spacing: -.025em;
}

.category-intro {
  background: #fff;
  border-bottom: 1px solid #e7e3db;
}

.category-intro .wrap {
  padding-top: 34px;
  padding-bottom: 34px;
}

.category-intro p {
  max-width: 850px;
  color: #555560;
  font-size: 15px;
}

.related-categories {
  padding: 64px 0;
  background: #f1ede6;
}

.related-categories h2 {
  margin-bottom: 22px;
  color: #191a2e;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-grid a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  border: 1px solid #ded8cd;
  background: #fff;
  color: #191a2e;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color .2s, transform .2s;
}

.related-grid a::after {
  content: "\2192";
  color: #b89150;
}

.related-grid a:hover {
  border-color: #b89150;
  transform: translateY(-2px);
}

.site-footer {
  background: #13142b;
  color: #8f8f9c;
  padding: 54px 0 28px;
  text-align: left;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.site-footer h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: #9a9aa6;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer a:hover {
  color: #d8be86;
}

.site-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
}

.site-footer-contact a {
  display: inline-block;
  margin-bottom: 8px;
}

.site-footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}

.contact-qr {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin-top: 15px;
  padding: 8px;
  border-radius: 3px;
  background: #fff;
}

.contact-qr-labels {
  display: flex;
  width: min(100%, 330px);
  justify-content: space-around;
  margin-top: 7px;
  color: #c8c8d0;
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.privacy-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #b9b9c3;
}

.privacy-consent input {
  width: auto;
  margin-top: 4px;
}

.privacy-consent a {
  color: #d8be86;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.utility-page {
  min-height: 100vh;
  background: #f7f4ef;
  color: #1b1b22;
}

.utility-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 28px;
}

.utility-main .eyebrow {
  color: #b89150;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.utility-main h1 {
  margin: 12px 0 22px;
  color: #191a2e;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 7vw, 70px);
  font-weight: 500;
  line-height: 1;
}

.utility-main h2 {
  margin: 34px 0 10px;
  color: #191a2e;
  font-size: 20px;
}

.utility-main p,
.utility-main li {
  color: #555560;
  line-height: 1.75;
}

.utility-main ul {
  padding-left: 20px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.utility-actions a {
  display: inline-block;
  padding: 13px 22px;
  background: #191a2e;
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.category-page .askbtn {
  position: relative;
  text-transform: none;
}

/* Product photography sits on a warm neutral image zone while information stays white. */
.category-page .pimg {
  background: linear-gradient(145deg, #f3f0ea 0%, #e8e5de 100%) !important;
  border-bottom: 1px solid #d8d2c7 !important;
}

.category-page .pbody {
  background: #fff;
}

.category-page .askbtn-label {
  margin: 0 auto;
}

.category-page .askbtn-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
}

/* Product collections: keep phone cards readable and their CTA fully visible. */
@media (max-width: 640px) {
  .category-page .pgrid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .category-page .pcard {
    display: flex !important;
    flex-direction: column !important;
    grid-template-rows: none !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .category-page .pcard:hover {
    transform: none;
  }

  .category-page .pimg {
    flex: 0 0 auto;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    padding: 12px !important;
    overflow: hidden;
  }

  .category-page .pimg img,
  .category-page .pimg svg {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform-origin: center;
  }

  .category-page .pimg img {
    transform: none;
  }

  .category-page .pimg svg {
    transform: scale(1.12);
  }

  .category-page .pbody {
    flex: 0 0 auto;
    width: 100%;
    height: auto !important;
    min-height: 118px !important;
    padding: 16px 16px 12px !important;
  }

  .category-page .askbtn {
    display: flex !important;
    flex: 0 0 46px !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 14px 16px !important;
    padding: 0 48px !important;
    overflow: visible !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .category-page .askbtn-arrow {
    right: 16px;
  }
}

@media (max-width: 480px) {
  #collections .sec-head h2 { font-size: 38px; line-height: 1.08; }
  .col-grid { grid-template-columns: 1fr !important; }
  .pgrid { grid-template-columns: 1fr !important; }
  .related-grid,
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer-brand { grid-column: auto; }
  .site-footer-links { grid-template-columns: 1fr; }
  .contact-qr { width: min(100%, 360px); }
  .contact-qr-labels { width: min(100%, 360px); }
}

@media (prefers-reduced-motion: reduce) {
  .related-grid a { transition: none; }
}
