.content-area {
  align-items: center;
}

.screens {
  display: none;
  border-bottom: none;
  padding: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 180px;
  caret-color: transparent;
  background: var(--color-product-card-bg);
  border-radius: 16px;
  border: 1px solid var(--color-product-card-border);
  box-shadow: var(--color-product-card-shadow);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  align-items: center;
}

.screens:hover {
  border-color: var(--color-product-card-border-hover);
  box-shadow: var(--color-product-card-shadow-hover);
  transform: translateY(-4px);
}

.product-thumbnail {
  border-radius: 8px;
  overflow: hidden;
  display: block;
  width: 124px;
}

.image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-product-card-border);
  box-shadow: var(--color-product-image-shadow);
  transition: box-shadow 0.3s ease;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-product-card-bg);
}

.product-thumbnail:hover .image-wrapper {
  box-shadow: var(--color-product-image-shadow-hover);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-thumbnail:hover .product-image {
  transform: scale(1.05);
}

.product-text_and_price_container {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.product-title-and-text_container {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 15px;
}

.product-title-div {
  padding: 0px;
}

.product-link {
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.text-content {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.product-text, .product-varenr {
  flex: 1;
  line-height: 1.5;
}

.priceAndCartButtons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 8px;
}


.product-price_container {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-success);
  word-wrap: normal;
  padding: 0;
  text-align: right;
}

.product-price {
  padding: 5px;
}

.product-vis_and_quantity-picker_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-vis_and_quantity-picker_container button{
  height: 32px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  padding: 0 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.addToCartBtn {
  background: linear-gradient(135deg, var(--color-cta-start) 0%, var(--color-cta-end) 100%);
  color: var(--color-on-primary);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.addToCartBtn:hover {
  background: linear-gradient(135deg, var(--color-cta-start-hover) 0%, var(--color-cta-end-hover) 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

/* Wishlist button: subtle secondary style instead of competing orange */
.addToWishlistBtn {
  background: var(--color-btn-secondary-bg);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-btn-secondary-border) !important;
  box-shadow: none;
  font-weight: 500;
  white-space: nowrap;
}

.addToWishlistBtn:hover {
  background: var(--color-btn-secondary-bg-hover);
  border-color: var(--color-btn-secondary-border-hover) !important;
  box-shadow: none;
  transform: translateY(-1px);
}

/* Wishlist heart icon button on product image */
.product-thumbnail-wrapper {
  position: relative;
  width: 124px;
  flex-shrink: 0;
}

.wishlist-icon-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
}

.wishlist-icon-btn:hover {
  background: transparent !important;
  transform: scale(1.2) !important;
  box-shadow: none;
}

.heart-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #d97706;
  stroke-width: 1.5;
  transition: fill 0.2s, stroke 0.2s;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

.wishlist-icon-btn:hover .heart-icon,
.wishlist-icon-btn.active .heart-icon {
  fill: #f59e0b;
  stroke: #d97706;
}

/* priceAndCartButtons: pris + knapp stablet, høyrejustert */
.priceAndCartButtons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  flex-shrink: 0;
  gap: 10px;
  min-width: 140px;
}

.priceAndCartButtons .addToCartBtn {
  width: 100%;
  height: 40px;
  font-size: 14px;
  padding: 0 1rem;
}

/* List mode 2: keep CTA inside product card on narrow card widths */
.listView-row .screens {
  align-items: stretch;
  justify-content: space-between;
}

.listView-row .product-text_and_price_container {
  width: 100%;
  flex: 1;
  min-height: 0;
}

.listView-row .priceAndCartButtons {
  min-width: 0;
  width: 100%;
  margin-top: auto;
}

.listView-row .screens.maxWidthScreens {
  max-width: 250px;
  max-height: none;
}

.listView-row .product-thumbnail-wrapper {
  max-width: 100%;
}

.listView-row .product-image {
  height: 130px;
  object-fit: contain;
}

.listView-row .product-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listView-row .product-text {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.listView-row .product-varenr {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Varenummer: small and muted, not competing with title/price */
.product-varenr {
  font-size: 11px !important;
  color: var(--color-text-muted) !important;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Product count label in list-control bar */
.product-count-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.list-control-view-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Reset filters button */
.reset-filters-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-filter-btn);
  background: none;
  border: 1px solid var(--color-filter-btn);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.reset-filters-btn:hover {
  background: var(--color-filter-btn-hover-bg);
  color: var(--color-filter-btn-hover-text);
}

.twentyfour_inch {
  display: none;
}

.twentyfive_inch {
  display: none;
}

.opacity_toggle {
  opacity: 1;
  pointer-events: all;
}

.checkbox_toggle {
  background-position: -24em -7.75em;
}

.screens-toggle {
  display: flex;
}

.responsivemenu-strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 10px 0 0 10px;
    background: var(--color-bg-surface);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.2s ease;
}

.responsivemenu-strong:hover {
  background: var(--color-bg-elevated);
}