.it-header .head-row { grid-template-columns: auto minmax(180px, 1fr) auto auto; }
.it-header .head-rating { display: grid; }
.head-rating:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.it-hero-media { display: grid; grid-template-columns: 1fr 1fr; background: #eee9df; gap: 1px; }
.it-hero-media img { position: static; width: 100%; height: clamp(154px, 13.5vw, 190px); object-fit: contain; background: #f3eee5; mix-blend-mode: multiply; }
.it-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-media :is(img, .card-image) { background: #f1efe9; }
.media-airwrap, .media-supersonic, .media-airpods { background: #f1efe9; }
.media-airwrap img, .media-supersonic img, .media-airpods img { object-fit: contain; }
.it-grid .card-button { min-height: 44px; }
@media (min-width: 981px) {
  .it-grid .card-media { aspect-ratio: 1.12; }
}
.it-grid .card-content h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.it-catalog-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
.it-catalog-hero .storefront-copy { justify-items: start; }
.it-catalog-hero .storefront-copy .button { margin-top: 3px; }
.it-featured-products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch;
  padding: 12px; gap: 8px; background: #ece5d9;
}
.it-featured-products a {
  display: grid; place-items: center; min-width: 0; border-radius: 8px;
  background: radial-gradient(ellipse at 50% 38%, #fdfaf4, #ede7db);
}
.it-featured-products a:hover { background: #f9f3e8; }
.it-featured-products img {
  width: 100%; height: clamp(120px, 14vw, 214px); object-fit: contain; mix-blend-mode: multiply;
}
.home-categories { margin-top: 14px; }
.home-groups {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 3vw, 38px) 14px;
  margin: clamp(14px, 3vw, 29px) 0;
}
.home-group { min-width: 0; grid-column: span 3; }
.home-group-smartphone { grid-column: 1 / -1; }
.home-group-gaming { grid-column: span 9; }
.home-group-capelli { grid-column: span 6; }
.home-group[data-shelf-columns="1"] .it-grid { grid-template-columns: minmax(0, 1fr); }
.home-group[data-shelf-columns="2"] .it-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-group[data-shelf-columns="3"] .it-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-group[data-shelf-columns="5"] .it-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.category-shelf-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 9px; flex-wrap: wrap; }
.category-shelf-heading h2 { font: 400 clamp(1.65rem, 2.9vw, 2.6rem)/1 var(--display); }
.category-shelf-heading > a { flex: none; font-size: .82rem; }
.home-group .card-media, .has-finishes .card-media { aspect-ratio: 1.12; }
.it-grid .card-media img[data-variant-image], .product-layout .gallery-primary img[data-variant-image] {
  background: transparent; object-fit: contain; mix-blend-mode: multiply;
}
.product-layout.has-finishes .gallery-primary { background: #f3efe8; }
.product-layout.has-finishes .gallery-primary img { aspect-ratio: 1; }
.product-finish { color: var(--muted); font-weight: 600; }
.has-finishes .product-finish { overflow-wrap: anywhere; }
.color-options {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  border: 0; min-width: 0; padding: 0; margin: 0 0 8px;
}
.color-options legend { font-weight: 750; font-size: .85rem; margin-bottom: 3px; }
.color-option {
  position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border: 1px solid transparent; border-radius: 50%; cursor: pointer;
}
.color-option span {
  width: 20px; height: 20px; background: var(--swatch); border: 1px solid #222c3233; border-radius: 50%;
}
.color-option:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.color-option:focus-within { outline: 2px solid #2773b7; outline-offset: 2px; }
.product-card .color-options legend {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.purchase .color-options { margin: 14px 0; gap: 7px; }
.purchase .color-option { width: 44px; height: 44px; }
.purchase .color-option span { width: 30px; height: 30px; }
.related .it-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1120px) {
  .home-group[data-shelf-columns="5"] .it-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .home-group { grid-column: 1 / -1; }
  .home-group[data-shelf-columns="1"] .product-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .home-group[data-shelf-columns="1"] .card-media { aspect-ratio: auto; min-height: 135px; max-height: 188px; }
}
@media (max-width: 780px) {
  .it-catalog-hero { grid-template-columns: 1fr; }
  .it-featured-products { display: none; }
  .it-catalog-hero .storefront-copy .button { min-height: 41px; }
  .home-group[data-shelf-columns="3"] .it-grid,
  .home-group[data-shelf-columns="5"] .it-grid, .related .it-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .product-card .color-options { gap: 1px; }
  .product-card .color-option { width: 26px; height: 26px; }
  .product-card .color-option span { width: 18px; height: 18px; }
  .has-finishes .card-content { padding-inline: 8px; }
}
.it-service { max-width: 960px; }
.it-service .commerce-panel { margin-top: 16px; }
.it-service .commerce-panel p + p, .it-service .commerce-panel details + details { margin-top: 12px; }
.it-service summary { cursor: pointer; font-weight: 750; }
.it-service details p { margin-top: 6px; }
.it-paypal { object-fit: contain; }
.it-service .request-status { margin-top: 9px; }
.it-request-card { overflow-wrap: anywhere; }
.it-request-card ul { margin: 9px 0; padding-left: 20px; }
.it-request-card .status-line { font-weight: 750; }
.airpods-gallery figure { margin: 0; }
.cart-copy p { color: var(--muted); font-size: .83rem; }
.order-layout .cart-item .cart-quantity { flex-wrap: wrap; }
.it-reviews .ratings-overview { background: #fff; }
.it-reviews .rating-bars { list-style: none; padding: 0; margin: 0; }
.it-reviews .rating-bars li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 38px; gap: 10px; align-items: center; font-size: .85rem; }
.it-reviews .rating-bars li > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.review-count { color: var(--muted); font-size: .86rem; margin-bottom: 10px; }
.star-empty { color: #806b58; }
.review-top time { white-space: nowrap; }
.home-reviews .section-heading { flex-wrap: wrap; }
.product-return-link { display: inline-block; margin-top: 10px; }
.it-seller address, .it-returns-page address { font-style: normal; overflow-wrap: anywhere; }
.it-seller address + p, .return-steps address + p { margin-top: 12px; }
.return-steps, .return-steps ul, .return-cases { padding-inline-start: 22px; margin: 8px 0 0; }
.return-steps { display: grid; gap: 16px; }
.return-steps > li::marker { font-weight: 800; }
.return-steps h3, .return-form h3 { font-size: 1rem; margin: 0 0 4px; }
.return-steps ul { margin-bottom: 8px; }
.return-steps address { margin-top: 8px; }
.return-cases li + li { margin-top: 7px; }
.return-form { display: grid; gap: 10px; margin-top: 14px; }
.return-form .form-grid { max-width: none; }
.return-products textarea { width: 100%; resize: vertical; }
.return-signature { overflow-wrap: anywhere; }
.return-print { justify-self: start; }
@media print {
  .it-returns-page > :not(main), .it-returns-page main > :not(#modulo),
  .it-returns-page #modulo > p, .it-returns-page .return-print { display: none !important; }
  .it-returns-page #modulo { margin: 0; padding: 0; border: 0; box-shadow: none; }
  .it-returns-page #modulo > h2 { display: none; }
  .it-returns-page .return-form { margin: 0; }
}
.stats-preferences {
  position: fixed; z-index: 25; bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left)); width: min(370px, calc(100% - 32px));
  padding: 15px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: 0 4px 24px #26353e29;
}
.stats-preferences h2 { font-size: 1.08rem; }
.stats-preferences p { font-size: .87rem; margin: 4px 0 10px; }
.stats-preferences a { text-decoration: underline; }
.stats-preferences > div { display: flex; gap: 8px; flex-wrap: wrap; }
.stats-preferences .button { min-height: 42px; }

.it-commerce-page, .it-order-page { max-width: 1150px; }
.it-commerce-page .page-intro { margin-bottom: 12px; }
.commerce-jump { display: flex; flex-wrap: wrap; gap: 7px; }
.commerce-jump .button { width: auto; min-height: 40px; }
.it-commerce-page .commerce-section { scroll-margin-top: 16px; }
.it-commerce-page .commerce-timeline li { background: #fff; box-shadow: var(--shadow); }
.it-commerce-page #consegna table { margin-top: 17px; }
.it-commerce-page .commerce-summary tr:nth-child(odd) { background: #f5f2ec; }
.shipping-rates { width: 100%; border-collapse: collapse; }
.shipping-rates :is(th, td) { padding: 8px; text-align: left; vertical-align: top; }
.shipping-rates tbody th { font-weight: 650; }
.shipping-rates td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }

.it-order-page .steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 6px; background: #eee9df; border: 1px solid var(--line); border-radius: 12px;
}
.it-order-page .steps li { min-width: 0; min-height: 42px; padding: 6px 10px; border-radius: 8px; }
.it-order-page .steps li span { flex: none; background: #fff; color: var(--ink); }
.it-order-page .steps li.is-complete { color: var(--ink); }
.it-order-page .steps li[aria-current="step"] { background: var(--navy); color: #fff; }
.it-order-page .cart-item { padding: clamp(9px, 1.4vw, 16px); background: #fff; box-shadow: var(--shadow); }
.it-order-page .cart-image img { object-fit: contain; background: #f5f1e9; }
.it-order-page .cart-copy h2 { line-height: 1.15; }
.it-order-page .cart-quantity { flex-wrap: nowrap; }
.it-order-page .cart-copy .link-button { min-height: 30px; color: var(--rust); text-decoration: underline; }
.it-order-page .summary { border-color: #d3cabc; }
.it-order-page .summary h2 { margin-top: 0; }
.it-order-page .summary-products { gap: 9px; padding-bottom: 12px; }
.it-order-page .summary-products:empty { display: none; }
.it-order-page .totals { gap: 9px; margin-bottom: 16px; }
.it-order-page .totals div:first-child dd { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.it-order-page .summary > .button { min-height: 48px; }
.order-shipping { margin: 0 0 16px; border-top: 1px solid var(--line); padding: 11px 0 0; font-size: .86rem; }
.order-shipping > p { margin: 0 0 7px; font-weight: 750; }
.order-shipping summary { cursor: pointer; color: var(--rust); font-weight: 750; }
.order-shipping .shipping-rates { margin-top: 7px; font-size: .8rem; }
.order-shipping .shipping-rates :is(th, td) { padding: 6px 5px; border-bottom: 1px solid var(--line); }
.order-shipping details p { margin: 7px 0 0; font-size: .79rem; }
.order-summary-note { margin-top: 11px; font-size: .84rem; }
.order-summary-note a { display: inline-flex; align-items: center; gap: 7px; }
.order-summary-note .icon { width: 17px; height: 17px; flex: none; }
.it-order-page .checkout-form { gap: 13px; }
.it-order-page .checkout-section h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; }
.it-order-page .checkout-section h2 .icon { flex: none; color: var(--rust); }
.it-order-page .form-grid { gap: 11px 12px; }
.it-order-page .form-grid label:has([name="street"]) { grid-column: 1 / -1; }
.it-order-page .field input { min-height: 45px; font-size: 1rem; }
.it-order-page .payment-choice { gap: 8px; }
.it-order-page .payment-choice label { min-height: 58px; padding: 10px 12px; cursor: pointer; }
.it-order-page .payment-choice label:has(input:checked) { border-color: #7b9cb9; box-shadow: inset 0 0 0 1px #7b9cb9; }
.it-order-page .payment-choice label:focus-within { outline: 2px solid #2773b7; outline-offset: 2px; }
.it-order-page .payment-choice label > :last-child { flex: none; }
.it-order-page .payment-choice b { font-size: .95rem; }
.payment-instructions p { margin: 0; padding: 8px 10px; background: #f5f7fa; border-radius: 0 6px 6px 0; }
.payment-instructions [data-payment-instructions="bank"],
.payment-choice:has([value="bank"]:checked) + .payment-instructions [data-payment-instructions="paypal"] { display: none; }
.payment-choice:has([value="bank"]:checked) + .payment-instructions [data-payment-instructions="bank"] { display: block; }
.it-order-page .checkout-receipt { margin-bottom: 16px; }
.it-order-page [data-receipt-status] { display: inline-block; padding: 4px 9px; background: #edf4fa; border-radius: 6px; font-size: .86rem; font-weight: 750; }
@media (min-width: 781px) {
  .it-order-page .summary { position: sticky; top: 16px; }
}
@media (max-width: 650px) {
  .it-order-page .steps li { padding-inline: 6px; font-size: .74rem; gap: 5px; }
  .it-order-page .steps li span { width: 20px; height: 20px; }
  .it-order-page .cart-item { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .it-order-page .cart-item img { width: 54px; height: 54px; }
  .it-order-page .cart-line-total { grid-column: 2 / -1; }
}
@media (max-width: 980px) {
  .it-header .head-row { grid-template-columns: auto auto minmax(130px, 1fr) auto auto; }
  .it-header .nav-links { flex-wrap: wrap; }
  .it-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .it-header .head-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .it-header .search { grid-column: 1 / -1; grid-row: 2; }
  .it-header .head-rating { display: flex; grid-column: 1 / -1; grid-row: 3; align-items: center; gap: 8px; min-height: 32px; }
  .it-hero-media { display: none; }
  .it-intro { grid-template-columns: 1fr; }
  .it-header .brand { font-size: 1.35rem; }
  .it-grid .card-button { padding-inline: 6px; }
  .it-grid .card-content h3 { font-size: .97rem; }
}
