/* Electronic product pages: gallery, purchase panel and full-width configurator. */
.has-tech-page {
  background: #fff;
}
.tech-page {
  --tech-tint: #edf3ee;
  --tech-selected: #f4f7f3;
  --tech-border: #d5d8d3;
  color: #202622;
  padding-bottom: 72px;
  font-size: 14px;
}
.tech-wrap {
  max-width: 1120px;
  width: calc(100% - 64px);
  margin: 0 auto;
}
.tech-page h1,
.tech-page h2,
.tech-page legend {
  letter-spacing: -0.7px;
  line-height: 1.3;
}
.tech-page h1 {
  font-size: 28px;
  margin: 0 0 4px;
  font-weight: 750;
}
.tech-page h2 {
  font-size: 26px;
}
.tech-page [id] {
  scroll-margin-top: 116px;
}
.tech-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0 48px;
  font-size: 13px;
}
.tech-breadcrumb .icon {
  width: 14px;
  height: 14px;
}
.tech-overview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tech-gallery {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
}
.tech-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tech-thumbnails button,
.tech-details-thumb {
  border: 1px solid var(--tech-border);
  background: #f6f7f4;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
}
.tech-thumbnails button[aria-pressed="true"] {
  border: 2px solid var(--green);
}
.tech-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.tech-details-thumb {
  display: grid;
  place-content: center;
  justify-items: center;
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
  gap: 8px;
}
.tech-main-photo {
  position: relative;
  min-width: 0;
}
.tech-main-photo > button {
  background: transparent;
  width: 100%;
  padding: 32px 0 0;
}
.tech-main-image {
  width: 100%;
  height: 430px;
  object-fit: contain;
}
.tech-photo-label {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  border-radius: 30px;
  background: var(--tech-tint);
  padding: 9px 12px;
}
.tech-photo-label .icon {
  width: 15px;
  height: 15px;
}
.tech-zoom-hint {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
}
.tech-zoom-hint .icon {
  width: 15px;
  height: 15px;
}
.tech-offer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #d4eccf;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 8px 0 40px;
  color: var(--green);
  min-height: 66px;
}
.tech-offer > span {
  flex: 1;
}
.tech-offer strong,
.tech-offer small {
  display: block;
}
.tech-offer strong {
  font-size: 13px;
}
.tech-offer small {
  font-size: 11px;
  margin-top: 3px;
}
.tech-offer > .icon:last-child {
  width: 14px;
}
.tech-variant {
  margin: 0 0 8px;
  font-size: 13px;
}
.tech-review-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tech-top-buy {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.tech-price {
  margin-right: auto;
  white-space: nowrap;
}
.tech-price strong {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  display: block;
}
.tech-price small {
  font-size: 10px;
  color: var(--muted);
}
.tech-buy.button {
  background: var(--green);
  border-radius: 5px;
  font: 600 14px var(--body);
  min-height: 48px;
  padding: 12px 22px;
  white-space: nowrap;
}
.tech-buy:hover {
  background: #0d382d;
}
.tech-favorite {
  border: 1px solid #202622;
  background: white;
  border-radius: 5px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.tech-favorite.is-favorite svg {
  fill: var(--green);
}
.tech-config-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  font-size: 12px;
  margin-top: 18px;
}
.tech-config-link .icon {
  width: 15px;
  height: 15px;
}
.tech-services {
  display: grid;
  gap: 8px;
  margin-top: 36px;
}
.tech-service {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--tech-tint);
  border-radius: 12px;
  padding: 16px 20px;
  min-height: 64px;
  font-size: 12px;
}
.tech-service strong,
.tech-service span {
  display: block;
}
.tech-service strong {
  font-weight: 600;
}
.tech-service div {
  flex: 1;
}
.tech-service div span {
  font-size: 11px;
  color: var(--muted);
}
.tech-service > .icon:last-child:not(:first-child) {
  margin-left: auto;
  width: 16px;
}
.tech-quality {
  margin-top: 32px;
}
.tech-quality h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.tech-quality > p {
  font-size: 13px;
  color: var(--muted);
}
.tech-quality > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tech-quality a {
  display: grid;
  justify-items: center;
  gap: 10px;
  background: #f5f6f3;
  border-radius: 8px;
  padding: 18px 4px;
  font-size: 11px;
}
.tech-configurator {
  margin-top: 96px;
}
.tech-config-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin: 0 48px 104px;
}
.tech-config-section fieldset {
  margin: 0;
}
.tech-config-section legend {
  font: 750 27px/1.4 var(--heading);
  letter-spacing: -0.7px;
  margin-bottom: 20px;
}
.tech-help {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  width: 100%;
  background: var(--tech-tint);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  line-height: 1.5;
}
.tech-help > span {
  flex: 1;
}
.tech-help > .icon:last-child {
  width: 15px;
}
.tech-field-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.tech-options {
  display: grid;
  gap: 14px;
}
.tech-option.option {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  border: 1px solid var(--tech-border);
  border-radius: 5px;
  background: white;
  padding: 16px;
  min-height: 52px;
  font-size: 14px;
}
.tech-option.option.selected {
  border: 1px solid #283e32;
  padding: 16px;
  background: var(--tech-selected);
}
.tech-radio {
  border: 1px solid #4c5750;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.selected .tech-radio {
  background: var(--green);
  border-color: var(--green);
  box-shadow: inset 0 0 0 2px var(--tech-selected);
}
.tech-option-name {
  flex: 1;
}
.selected .tech-option-name {
  font-weight: 600;
}
.tech-option-name small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 400;
  color: var(--muted);
}
.tech-option [data-option-price] {
  font-size: 12px;
  white-space: nowrap;
}
.tech-art {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 28px;
  background: #e9eee7;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
}
.tech-art > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}
.tech-art-condition > img {
  width: 130%;
  max-width: none;
  height: 110%;
  transform: rotate(-12deg) translateY(-6%);
}
.tech-art-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-art-caption strong,
.tech-art-caption span {
  background: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
}
.tech-art-caption strong {
  font-size: 15px;
}
.tech-art-battery {
  background: #e0e9e0;
}
.tech-art-battery > strong,
.tech-art-sim > strong {
  font: 750 23px var(--heading);
  letter-spacing: -0.5px;
}
.tech-art-battery > span,
.tech-art-sim > span {
  font-size: 12px;
}
.battery-drawing {
  border: 6px solid var(--green);
  border-radius: 20px;
  width: 78%;
  height: 110px;
  display: flex;
  gap: 7px;
  padding: 10px;
  position: relative;
  margin: 32px 0;
  transform: rotate(-8deg);
}
.battery-drawing:after {
  content: "";
  position: absolute;
  right: -17px;
  top: 25px;
  width: 10px;
  height: 44px;
  border-radius: 0 5px 5px 0;
  background: var(--green);
}
.battery-drawing span {
  background: var(--green);
  border-radius: 4px;
  flex: 1;
}
.battery-drawing span:last-child {
  opacity: 0.15;
}
.is-new .battery-drawing span:last-child {
  opacity: 1;
}
.tech-art-storage {
  background: #e7e4da;
}
.storage-screen {
  width: 90%;
  border: 6px solid #22372d;
  border-radius: 28px;
  background: white;
  padding: 28px 24px;
  transform: rotate(-9deg);
  box-shadow: 12px 15px 0 #0000000d;
}
.storage-screen > span {
  font-size: 12px;
  color: var(--muted);
}
.storage-screen > strong {
  display: block;
  font: 800 32px var(--heading);
}
.storage-meter {
  display: flex;
  gap: 3px;
  height: 18px;
  margin: 22px 0;
  border-radius: 5px;
  overflow: hidden;
  background: var(--soft);
}
.storage-meter i {
  width: 40%;
  background: var(--green);
}
.storage-meter i:nth-child(2) {
  width: 25%;
  background: var(--apricot);
}
.storage-meter i:nth-child(3) {
  width: 20%;
  background: var(--sage);
}
.storage-folders {
  display: grid;
  gap: 15px;
  font-size: 12px;
}
.storage-folders span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.storage-folders .icon {
  width: 16px;
  height: 16px;
}
.tech-art-sim {
  background: #f5e5d5;
}
.sim-drawing {
  width: 125px;
  height: 164px;
  background: #fff;
  border: 3px solid var(--green);
  border-radius: 10px 36px 10px 10px;
  transform: rotate(-12deg);
  padding: 28px 24px;
  margin-bottom: 12px;
}
.sim-drawing span {
  display: block;
  height: 68px;
  border: 2px solid #b29a67;
  border-radius: 9px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      #b29a67 20px,
      #b29a67 22px
    ),
    #eedba7;
}
.sim-drawing b {
  display: block;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 4px;
}
.tech-art-color,
.tech-art-recap {
  background: #f4f5f2;
}
.tech-recap {
  align-items: start;
}
.tech-recap h2 {
  margin: 0 0 16px;
}
.tech-summary-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.tech-summary-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tech-summary-list .icon {
  width: 16px;
  height: 16px;
}
.tech-recap-price {
  margin: 24px 0;
}
.tech-recap .tech-buy {
  width: 100%;
}
.tech-demo-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 24px;
}
.tech-seller {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
}
.tech-seller > span {
  background: var(--tech-tint);
  color: var(--green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.tech-seller > div {
  flex: 1;
}
.tech-seller small {
  display: block;
  color: var(--muted);
}
.tech-spec-link {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--tech-border);
}
.tech-information,
.tech-related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--tech-border);
}
.tech-information > p {
  max-width: 760px;
}
.tech-information dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.tech-information dl > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--tech-border);
  padding: 16px 0;
}
.tech-information dt {
  color: var(--muted);
}
.tech-information dd {
  margin: 0;
  text-align: right;
}
.tech-reviews > span {
  font-size: 13px;
  color: var(--muted);
}
.tech-sticky {
  position: fixed;
  inset: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--tech-border);
  box-shadow: 0 3px 12px #00000008;
  z-index: 35;
  padding: 14px 0;
}
.tech-sticky[hidden] {
  display: none;
}
.tech-sticky > div {
  display: flex;
  gap: 24px;
  align-items: center;
}
.tech-sticky img {
  width: 42px;
  height: 54px;
  object-fit: contain;
}
.tech-sticky-description {
  flex: 1;
  font-size: 13px;
}
.tech-sticky-description span {
  display: block;
  font-size: 12px;
  max-width: 520px;
}
.tech-sticky .tech-buy {
  min-width: 235px;
}
.tech-sticky .tech-price {
  margin-right: 0;
}
.tech-help-content h3 {
  margin: 24px 0 6px;
}
.tech-help-content p {
  color: var(--muted);
  font-size: 14px;
}
@media (min-width: 801px) {
  .has-tech-page .main-header {
    height: 68px;
  }
  .has-tech-page .brand img {
    height: 60px;
  }
}
@media (max-width: 1150px) {
  .tech-overview {
    gap: 32px;
  }
  .tech-gallery {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
  .tech-top-buy {
    flex-wrap: wrap;
  }
  .tech-price {
    flex: 1;
  }
  .tech-buy.button {
    padding: 12px 16px;
  }
  .tech-config-section {
    margin-left: 0;
    margin-right: 0;
    gap: 40px;
  }
  .tech-main-image {
    height: 380px;
  }
}
@media (max-width: 800px) {
  .tech-wrap {
    width: calc(100% - 40px);
  }
  .tech-breadcrumb {
    padding: 20px 0 28px;
    gap: 8px;
    font-size: 11px;
  }
  .tech-overview {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tech-gallery {
    grid-template-columns: 72px minmax(0, 1fr);
    max-width: 560px;
    width: 100%;
    margin: auto;
  }
  .tech-main-image {
    height: 360px;
  }
  .tech-offer {
    margin: 0 0 24px;
  }
  .tech-top-buy {
    flex-wrap: nowrap;
  }
  .tech-config-section {
    gap: 24px;
    margin-bottom: 56px;
  }
  .tech-config-section legend {
    font-size: 23px;
  }
  .tech-configurator {
    margin-top: 64px;
  }
  .tech-art {
    padding: 20px;
    border-radius: 20px;
  }
  .tech-help {
    font-size: 12px;
    padding: 14px;
    gap: 8px;
  }
  .tech-option.option,
  .tech-option.option.selected {
    gap: 12px;
    padding: 14px;
    font-size: 13px;
  }
  .tech-art-caption {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }
  .tech-art-caption span {
    font-size: 10px;
  }
  .storage-screen {
    width: 100%;
    padding: 20px 14px;
  }
  .storage-screen > strong {
    font-size: 28px;
  }
  .storage-folders {
    font-size: 10px;
  }
  .battery-drawing {
    height: 80px;
    border-width: 4px;
    gap: 4px;
    padding: 7px;
  }
  .battery-drawing:after {
    height: 32px;
    top: 20px;
  }
  .tech-art-battery > strong,
  .tech-art-sim > strong {
    font-size: 18px;
  }
  .tech-sticky {
    inset: auto 0 0;
    padding: 12px 0 max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--tech-border);
    border-bottom: 0;
  }
  .tech-sticky img,
  .tech-sticky-description {
    display: none;
  }
  .tech-sticky .tech-buy {
    min-width: 0;
    flex: 1;
  }
  .tech-sticky .tech-price {
    flex: 1;
  }
  .has-tech-page .site-footer {
    padding-bottom: 100px;
  }
}
@media (max-width: 600px) {
  .tech-wrap {
    width: calc(100% - 32px);
  }
  .tech-page h1 {
    font-size: 26px;
  }
  .tech-page h2 {
    font-size: 24px;
  }
  .tech-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .tech-thumbnails {
    flex-direction: row;
    justify-content: center;
  }
  .tech-thumbnails button,
  .tech-details-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .tech-details-thumb {
    font-size: 9px;
    gap: 3px;
  }
  .tech-details-thumb .icon {
    width: 16px;
    height: 16px;
  }
  .tech-main-image {
    height: 280px;
  }
  .tech-main-photo > button {
    padding-top: 28px;
  }
  .tech-photo-label {
    font-size: 10px;
  }
  .tech-top-buy {
    gap: 8px;
    flex-wrap: wrap;
  }
  .tech-top-buy .tech-price {
    flex-basis: 100%;
    margin-bottom: 10px;
  }
  .tech-top-buy .tech-buy {
    flex: 1;
  }
  .tech-services {
    margin-top: 28px;
  }
  .tech-config-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
  .tech-config-section > .tech-art {
    max-height: 320px;
    aspect-ratio: 1.25;
    width: 100%;
  }
  .tech-config-section fieldset {
    width: 100%;
  }
  .tech-config-section legend {
    font-size: 24px;
  }
  .tech-help {
    margin-bottom: 20px;
  }
  .tech-options {
    gap: 12px;
  }
  .tech-option.option,
  .tech-option.option.selected {
    min-height: 56px;
  }
  .tech-art {
    padding: 28px;
  }
  .tech-art-condition > img {
    height: 125%;
    width: 100%;
  }
  .battery-drawing {
    width: 65%;
    height: 90px;
    margin: 10px 0;
  }
  .tech-art-battery > strong {
    font-size: 23px;
  }
  .storage-screen {
    width: 70%;
    max-width: 250px;
    padding: 20px;
  }
  .storage-folders {
    gap: 8px;
  }
  .storage-meter {
    margin: 15px 0;
  }
  .sim-drawing {
    width: 90px;
    height: 120px;
    padding: 20px 15px;
    margin-bottom: 0;
  }
  .sim-drawing span {
    height: 48px;
  }
  .sim-drawing b {
    font-size: 11px;
  }
  .tech-information dl {
    grid-template-columns: 1fr;
    font-size: 13px;
  }
  .tech-information,
  .tech-related {
    margin-top: 40px;
    padding-top: 32px;
  }
  .tech-sticky > div {
    gap: 16px;
  }
  .tech-sticky .tech-price strong {
    font-size: 22px;
  }
  .tech-sticky .tech-buy {
    font-size: 13px;
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tech-page * {
    scroll-behavior: auto;
  }
}
/* The combined iPhone view has generous transparent margins in the source. */
.tech-main-photo > button {
  overflow: hidden;
}
.tech-main-image[src$="iphone-13-pro-3.webp"] {
  transform: scale(1.5);
  transform-origin: 50% 85%;
}
