/* Final visual corrections against the approved mockup. */
.logo-wrap { overflow: visible; background: #fff; }
.logo-wrap img,
.footer-logo { display: block; object-position: center; mix-blend-mode: normal; }
.logo-wrap img,
.footer-logo { content: url('/assets/brand/idealpack-logo-end.png'); }
.footer-logo {
  width: 132px;
  height: 76px;
  padding: 0;
  margin-bottom: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(255, 255, 255, .3));
}
.footer-details { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
.footer-copy { min-width: 0; }
.footer-grid { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
/* Header contacts: two balanced rows, with address/work hours on the left. */
.header-inner { gap: clamp(12px, 3vw, 38px); }
.header-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 5vw, 64px);
  row-gap: 8px;
  align-items: center;
  font-size: clamp(10px, 1.35vw, 16px);
}
.header-contacts .contact-item { gap: clamp(5px, .7vw, 9px); min-width: 0; }
.header-contacts .contact-item:nth-child(2) { grid-column: 1; grid-row: 1; }
.header-contacts .contact-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.header-contacts .contact-item:nth-child(1) { grid-column: 2; grid-row: 1; }
.header-contacts .contact-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.header-contacts .contact-item:nth-child(1),
.header-contacts .contact-item:nth-child(4) { white-space: nowrap; }
.header-contacts img { width: clamp(15px, 2vw, 24px); height: clamp(15px, 2vw, 24px); }
.hero-product { mix-blend-mode: normal; }
.product-image { object-fit: contain; object-position: center; background: #050505; }
.map-panel::after { display: none; }
.map-panel iframe { display: block; width: 100%; height: 100%; min-height: 165px; border: 0; }
/* Keep the complete reflection; only the isolated white artifact was removed from the PNG. */
.hero-product { height: 100%; clip-path: none; }
.products { position: relative; z-index: 2; margin-top: 0; padding-top: 0; }
.applications { padding: 6px 0 12px; }
.applications-cloud { padding: 20px 22px 22px; border: 1px solid #cfcfd2; border-radius: 12px; background: #fff; box-shadow: 0 7px 18px rgba(0, 0, 0, .18); }
.applications-heading { display: flex; align-items: baseline; gap: 13px; margin-bottom: 15px; }
.applications-heading p { margin: 0; color: var(--red); font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.04em; }
.applications-heading h2 { margin: 0; color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.applications-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.application-card { min-width: 0; overflow: hidden; border: 1px solid #dedee1; border-radius: 8px; background: #f8f8f9; }
.application-card img { display: block; width: 100%; aspect-ratio: 1 / .78; object-fit: cover; background: #111; }
.application-card h3 { margin: 10px 11px 4px; font-size: clamp(14px, 1.45vw, 17px); line-height: 1.12; }
.application-card p { margin: 0 11px 11px; color: #5a5a5e; font-size: 12px; line-height: 1.35; }
@media (max-width: 700px) { .products { margin-top: 0; } .hero-product { clip-path: none; } }
/* The request panel starts on the same horizontal level as the product selector. */
.calculator-grid { grid-template-columns: minmax(0, 1.45fr) minmax(235px, .75fr); align-items: start; }
.product-switch { width: min(650px, calc(100% - 325px)); }
.request-panel { min-width: 0; margin-top: -62px; }
.price-box p { margin: 0 0 3px; color: #66676b; font-size: 11px; line-height: 1.35; }
.price-box #price-label { font-size: 20px; line-height: 1.15; font-weight: 800; color: #111114; }
.price-box #price-total { display: block; min-height: 1.2em; color: #55565a; font-size: 11px; line-height: 1.3; }
.request-disclaimer { margin: -2px 0 0; color: #66676b; font-size: 11px; line-height: 1.35; text-align: center; }
.config-form, .field, .field input, .field select, .field textarea { min-width: 0; }
@media (max-width: 900px) {
  .calculator-grid { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); }
  .request-panel { margin-top: -58px; }
  .field input, .field select, .field textarea { padding-inline: 9px; font-size: 13px; }
}
@media (max-width: 700px) {
  body { padding-top: 94px; }
  .site-header { position: fixed; inset: 0 0 auto; z-index: 100; width: 100%; height: 94px; box-shadow: 0 3px 12px rgba(0, 0, 0, .18); }
  .logo-wrap { width: clamp(76px, 25vw, 118px); height: 78px; }
  .header-inner { gap: 8px; }
  .header-contacts { column-gap: 11px; row-gap: 5px; font-size: clamp(8px, 2.8vw, 12px); }
  .header-contacts .contact-item { gap: 4px; }
  .header-contacts img { width: 14px; height: 14px; }
  .footer-logo { width: 112px; height: 68px; }
  .applications-cloud { padding: 16px; }
  .applications-heading { display: block; }
  .applications-heading p { margin-bottom: 5px; }
  .applications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .application-card img { height: 170px; aspect-ratio: auto; object-fit: cover; object-position: center 48%; }
  .application-card h3 { margin: 8px 9px 3px; font-size: 14px; }
  .application-card p { margin: 0 9px 9px; font-size: 11px; }
  .product-switch { width: 100%; }
  .calculator-grid { grid-template-columns: 1fr; }
  .request-panel { margin-top: 4px; }
  .site-footer { padding: 14px 0 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 11px; }
  .footer-details { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: start; }
  .footer-logo { width: 112px; height: 68px; margin: 0; }
  .footer-copy p { margin: 0 0 5px; font-size: 11px; line-height: 1.25; }
  .footer-copy .footer-company { font-size: 11px; font-weight: 700; line-height: 1.25; }
  .footer-copy p img { width: 14px; height: 14px; }
  .map-panel { grid-row: 2; min-height: 86px; height: 86px; border-radius: 6px; }
}
.product-copy > p:not(.note) { display: block; margin: 0 0 14px; color: #4e4e51; }

.not-found-page { min-height: 100vh; display: grid; place-items: center; background: #101011 url('/assets/backgrounds/graphite-red-contours.webp') center / cover no-repeat; }
.not-found { max-width: 700px; padding: 48px 28px; color: #fff; text-align: center; }
.not-found-logo { display: inline-block; width: 142px; margin-bottom: 26px; }
.not-found-logo img { display: block; width: 100%; }
.not-found-code { margin: 0 0 2px; color: var(--red); font-size: clamp(72px, 15vw, 136px); font-weight: 800; line-height: .9; letter-spacing: -.07em; }
.not-found h1 { margin-bottom: 12px; font-size: clamp(30px, 6vw, 48px); letter-spacing: -.04em; }
.not-found > p:not(.not-found-code) { margin-bottom: 26px; color: #e0e0e2; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button-outline { border: 1px solid rgba(255, 255, 255, .62); background: transparent; box-shadow: none; }
.button-outline:hover, .button-outline:focus-visible { background: rgba(255, 255, 255, .12); }
@media (max-width: 700px) { .not-found { padding: 36px 16px; } .not-found-actions { display: grid; } }
.hero, .site-footer { background-image: url('/assets/backgrounds/graphite-red-contours.webp'); }
.not-found-page { background-image: url('/assets/backgrounds/graphite-red-contours.webp'); }
