/* Approved F + G. Only opt-in cards. No list, border, image-color or filter overrides. */
#vvts-app .ntsu-tech-card { container-type: inline-size; container-name: ntsu-card; box-sizing:border-box; }
#vvts-app .ntsu-tech-card .vvts-product-card__link { display:flex!important; flex-direction:column!important; flex:1 1 auto; min-height:0; }
/* Square image slot; reserve its space before loading and show the entire image. */
#vvts-app .ntsu-tech-card .vvts-product-card__image { position:relative; aspect-ratio:1 / 1!important; width:100%; height:auto!important; flex:0 0 auto!important; min-height:0; overflow:hidden; }
#vvts-app .ntsu-tech-card .vvts-product-card__image img { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:contain!important; object-position:center!important; }
#vvts-app .ntsu-tech-card .vvts-product-card__body { display:flex!important; flex-direction:column!important; flex:1 1 auto!important; gap:5px!important; padding:14px!important; min-width:0; }
#vvts-app .ntsu-tech-card .ntsu-card-title { font-size:16px!important; font-weight:500; line-height:19px!important; min-height:38px!important; max-height:38px; margin:0; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#vvts-app .ntsu-tech-card .ntsu-card-sku { height:16px; line-height:16px; font-size:11px!important; color:#777f87; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#vvts-app .ntsu-tech-card .ntsu-card-specs { display:flex; flex-direction:column; gap:3px; margin:12px 0 8px; padding:0; border:0; }
#vvts-app .ntsu-tech-card .ntsu-card-spec { display:flex; align-items:baseline; justify-content:space-between; gap:6px; min-height:18px; }
#vvts-app .ntsu-tech-card .ntsu-card-spec dt { font-size:13px!important; line-height:18px; color:#717780; margin:0; font-weight:400!important; }
#vvts-app .ntsu-tech-card .ntsu-card-spec dd { font-size:13px!important; line-height:18px; color:#25303b; font-weight:500!important; text-align:right; margin:0; overflow-wrap:anywhere; }
#vvts-app .ntsu-tech-card .vvts-product-card__price { min-height:34px!important; margin-top:auto!important; }
#vvts-app .ntsu-tech-card .vvts-product-card__rating.is-empty { visibility:hidden!important; }
@media (max-width:768px) {
  #vvts-app .ntsu-tech-card .vvts-product-card__body { padding:10px!important; gap:4px!important; }
  #vvts-app .ntsu-tech-card .ntsu-card-title { font-size:14px!important; line-height:18px!important; min-height:36px!important; max-height:36px; }
  #vvts-app .ntsu-tech-card .ntsu-card-sku { font-size:11px!important; }
  #vvts-app .ntsu-tech-card .ntsu-card-specs { margin:9px 0 6px; gap:2px; }
  #vvts-app .ntsu-tech-card .ntsu-card-spec dt { font-size:12px!important; }
  #vvts-app .ntsu-tech-card .ntsu-card-spec dd { font-size:12px!important; }
  /* Existing shop controls which items span two columns and their image-derived borders. */
  @container ntsu-card (min-width:260px) and (min-width:60vw) {
    #vvts-app .ntsu-tech-card .vvts-product-card__link { display:grid!important; grid-template-columns:40% minmax(0,1fr); align-items:stretch!important; min-height:230px; }
    #vvts-app .ntsu-tech-card .vvts-product-card__image { display:flex!important; align-items:center!important; justify-content:center!important; aspect-ratio:auto!important; height:100%!important; min-height:100px!important; padding:12px 0 12px 12px!important; box-sizing:border-box!important; }
    #vvts-app .ntsu-tech-card .vvts-product-card__image img { position:absolute; inset:12px 0 12px 12px; width:calc(100% - 12px)!important; height:calc(100% - 24px)!important; max-height:100%!important; object-fit:contain!important; }
    #vvts-app .ntsu-tech-card .vvts-product-card__body { justify-content:center; flex:0 0 auto!important; padding:10px 12px 10px 4px!important; gap:3px!important; }
    #vvts-app .ntsu-tech-card .ntsu-card-specs { margin:8px 0 4px; }
    #vvts-app .ntsu-tech-card .vvts-product-card__price { margin-top:4px!important; }
  }
}

/* Guard compatibility codes and model lists may be longer; allow wrap without clipping. */
#vvts-app .ntsu-tech-card--guard .ntsu-card-spec dt { flex-shrink:0; }
#vvts-app .ntsu-tech-card--guard .ntsu-card-spec dd { min-width:0; }

/* In mixed grids reserve the same four-spec area. The three-spec cards get empty
   space AFTER their last value, not before the title. No extra visible rows. */
#vvts-app .ntsu-tech-card--mixed .ntsu-card-specs { min-height:81px; }
@media (max-width:768px) {
    #vvts-app .ntsu-tech-card--mixed .ntsu-card-specs { min-height:78px; }
    @container ntsu-card (min-width:260px) and (min-width:60vw) {
        #vvts-app .ntsu-tech-card--mixed .ntsu-card-specs { min-height:0; }
    }
}

/* Same card layout for sharpening tools; reserve three spec rows. */
#vvts-app .ntsu-tech-card--sharpening .ntsu-card-specs {min-height:60px;}
#vvts-app .ntsu-tech-card--sharpening .ntsu-card-spec dt {flex-shrink:0;}
#vvts-app .ntsu-tech-card--sharpening .ntsu-card-spec dd {min-width:0;}
#vvts-app .ntsu-tech-card--mixed.ntsu-tech-card--sharpening .ntsu-card-specs {min-height:81px;}
@media(max-width:768px){@container ntsu-card (min-width:260px) and (min-width:60vw){#vvts-app .ntsu-tech-card--mixed.ntsu-tech-card--sharpening .ntsu-card-specs {min-height:0;}}}

/* Reserve room before price, and stretch content consistently in each grid row. */
#vvts-app .ntsu-tech-card .ntsu-card-content {padding-bottom:6px;}
#vvts-app .ntsu-tech-card .ntsu-card-spec dt {flex-shrink:0;}
#vvts-app .ntsu-tech-card .ntsu-card-spec dd {min-width:0; overflow-wrap:break-word;}

/* Service Kit: one left-aligned text block, not a technical key/value table.
   Preserve semantic labels for assistive technology; no JS re-layout. */
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-specs {gap:3px;min-height:81px;}
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-spec {display:block;min-height:0;position:relative;}
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-spec dt {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;}
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-spec dd {text-align:left;overflow-wrap:break-word;line-height:18px;}
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-spec:first-child dd {color:#717780;font-weight:400!important;}
#vvts-app .ntsu-tech-card--servicekit .ntsu-card-spec:nth-child(2) dd {color:#717780;font-size:12px!important;font-weight:400!important;line-height:16px;}
@media(max-width:768px){
    #vvts-app .ntsu-tech-card--servicekit .ntsu-card-specs {min-height:78px;gap:2px;}
    @container ntsu-card (min-width:260px) and (min-width:60vw){
        #vvts-app .ntsu-tech-card--servicekit .ntsu-card-specs {min-height:0;}
    }
}
/* Mixed forest tools: one quiet, left-aligned use area. Same reserved space and image slot. */
#vvts-app :is(.ntsu-tech-card--forest_tools,.ntsu-tech-card--cleaning) .ntsu-card-specs {min-height:60px;}
#vvts-app :is(.ntsu-tech-card--forest_tools,.ntsu-tech-card--cleaning) .ntsu-card-spec {position:relative;display:block;min-height:18px;}
#vvts-app :is(.ntsu-tech-card--forest_tools,.ntsu-tech-card--cleaning) .ntsu-card-spec dt {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#vvts-app :is(.ntsu-tech-card--forest_tools,.ntsu-tech-card--cleaning) .ntsu-card-spec dd {text-align:left;color:#717780;font-weight:400!important;}
@media(max-width:768px){@container ntsu-card (min-width:260px) and (min-width:60vw){#vvts-app :is(.ntsu-tech-card--forest_tools,.ntsu-tech-card--cleaning) .ntsu-card-specs {min-height:36px;}}}

/* Vedutstyr: three fixed technical rows for bags, one quiet row for the other types. */
#vvts-app .ntsu-tech-card--firewood .ntsu-card-specs {min-height:60px;}
#vvts-app .ntsu-tech-card--firewood .ntsu-card-spec:only-child {position:relative;display:block;min-height:18px;}
#vvts-app .ntsu-tech-card--firewood .ntsu-card-spec:only-child dt {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#vvts-app .ntsu-tech-card--firewood .ntsu-card-spec:only-child dd {text-align:left;color:#717780;font-weight:400!important;}
#vvts-app .ntsu-tech-card--firewood .ntsu-card-spec dt {min-width:0;flex-shrink:1;}

/* Økser: same reserved technical area as other three-row cards. */
#vvts-app .ntsu-tech-card--axes .ntsu-card-specs {min-height:60px;}
#vvts-app .ntsu-tech-card--axes .ntsu-card-spec dt {min-width:0;flex-shrink:1;}

/* PPE: reserve consistent spec area and permit long labels to wrap. */
#vvts-app :is(.ntsu-tech-card--ppe_gloves,.ntsu-tech-card--ppe_helmet,.ntsu-tech-card--ppe_jacket,.ntsu-tech-card--ppe_trousers,.ntsu-tech-card--ppe_shoes) .ntsu-card-specs {min-height:60px;}
#vvts-app :is(.ntsu-tech-card--ppe_gloves,.ntsu-tech-card--ppe_helmet,.ntsu-tech-card--ppe_jacket,.ntsu-tech-card--ppe_trousers,.ntsu-tech-card--ppe_shoes) .ntsu-card-spec dt {min-width:0;flex-shrink:1;}
/* Mower-specific stable rows; leave all existing profiles unchanged. */
#vvts-app :is(.ntsu-tech-card--mower_petrol,.ntsu-tech-card--mower_battery) .ntsu-card-specs {min-height:78px;}
#vvts-app :is(.ntsu-tech-card--mower_petrol,.ntsu-tech-card--mower_battery) .ntsu-card-spec {min-height:18px;}
#vvts-app :is(.ntsu-tech-card--mower_petrol,.ntsu-tech-card--mower_battery) .ntsu-card-spec:last-child {min-height:36px;}
#vvts-app .ntsu-tech-card--mower_accessory .ntsu-card-specs {min-height:78px;}

/* Snowblower cards share the existing image, typography and grid. Reserve room for compact fit text. */
#vvts-app :is(.ntsu-tech-card--snow_ariens,.ntsu-tech-card--snow_honda,.ntsu-tech-card--snow_cramer,.ntsu-tech-card--snow_milwaukee,.ntsu-tech-card--snow_accessory) .ntsu-card-specs {min-height:78px;}
#vvts-app .ntsu-tech-card--snow_accessory .ntsu-card-spec:last-child {min-height:36px;}
