/* ToNull tema - style.css */
:root {
  --primary: #FF3B30; /* Ny rød */
  --secondary: #22223b;
  --accent: #f1faee;
  --text: #222;
  --footer-bg: #f8f9fa;
  --text-highlight: #FF3B30; /* Farge for fremhevet tekst */
}

/* Clickable card hover effects */
.card-animate a:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-animate a {
  color: inherit;
  text-decoration: none;
}

.card-animate a:hover {
  color: inherit;
  text-decoration: none;
}

body {
  color: var(--text);
}

.navbar {
  background: var(--footer-bg);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
  color: white;
  padding: 5rem 0 3rem 0;
  text-align: center;
}



.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
  color: white;
  margin-top: 0;
}

.footer-main {
  padding: 4rem 0 2rem 0;
  position: relative;
}

.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.footer-bottom {
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 48px;
  filter: brightness(0) invert(1);
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none !important;
  background: none !important;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
  border: none !important;
  background: none !important;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer a:not(.btn) {
  transition: all 0.3s ease;
  border: none !important;
  background: none !important;
}

.footer .btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.footer .btn-primary:hover {
  background: #d32f2f !important;
  border-color: #d32f2f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.4);
}

.footer .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.footer .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: white !important;
}

.footer-bottom a {
  border: none !important;
  background: none !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-bottom a:hover {
  color: white !important;
  border: none !important;
  background: none !important;
}

.btn-primary, .footer a, .navbar .btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
  border-radius: 5px !important;
}
.btn-primary:hover, .navbar .btn-primary:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: white !important;
}

.hero h1 span {
  color: var(--text-highlight);
  background: none;
  padding: 0;
  border-radius: 0;
  font-weight: bold;
}

.hero .btn-primary {
  background: var(--primary) !important;
  color: white !important;
  border: 2px solid var(--primary) !important;
  font-weight: bold;
}
.hero .btn-primary:hover {
  background: #d32f2f !important;
  color: white !important;
  border: 2px solid #d32f2f !important;
}

.hero .btn-outline-light {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: bold;
}

.hero .btn-outline-light:hover {
  background: #0c1421 !important;
  border: 2px solid #2d3748 !important;
  color: white !important;
}

/* 
/* Fade-in animasjon for hero-elementer - raskere timing */
/*.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity, transform;
}
.hero-animate.visible {
  opacity: 1;
  transform: none;
}

/* Card fall-down animation */
/*.card-animate {
  opacity: 0;
  transform: translateY(-80px) rotateX(15deg) scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.card-animate.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
}


/* Hero carousel styling for consistent layout */
#heroCarousel {
  height: 400px; /* Fast høyde for å unngå hopping */
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
}

#heroCarousel .hero-product-img {
  max-height: 350px;
  max-width: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

#heroCarousel a:hover .hero-product-img {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

/* Carousel indicators styling */
#heroCarousel .carousel-indicators {
  bottom: -40px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: transparent;
  opacity: 0.5;
  transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators [data-bs-target].active {
  background-color: var(--primary);
  opacity: 1;
  transform: scale(1.2);
}

/* Carousel controls styling */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

#heroCarousel .carousel-control-prev {
  left: -60px;
}

#heroCarousel .carousel-control-next {
  right: -60px;
}

/* Carousel caption styling */
#heroCarousel .carousel-caption {
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  padding: 10px 20px;
  background: rgba(0,0,0,0.7);
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

/* Responsiv styling for hero carousel på mindre skjermer */
@media (max-width: 768px) {
  #heroCarousel {
    height: 300px; /* Lavere høyde på mobil */
  }
  
  #heroCarousel .hero-product-img {
    max-height: 250px;
    max-width: 280px;
  }
  
  #heroCarousel .carousel-control-prev {
    left: 10px; /* Mer avstand fra kant */
  }
  
  #heroCarousel .carousel-control-next {
    right: 10px; /* Mer avstand fra kant */
  }
  
  #heroCarousel .carousel-caption {
    display: none !important;
  }
  
  #heroCarousel .carousel-indicators {
    bottom: -30px;
  }
  
  /* Hero knapper flyttes under bildet på mobil */
  .hero .d-flex.gap-3 {
    justify-content: center !important;
    flex-wrap: wrap;
    order: 3; /* Flytter knappene til bunnen */
  }
  
  .hero .btn-lg {
    min-width: 140px;
    text-align: center;
  }
  
  /* Hero layout endring for mobil */
  .hero .row {
    flex-direction: column;
  }
  
  .hero .col-md-6:first-child {
    order: 1; /* Tekst først */
  }
  
  .hero .col-md-6:last-child {
    order: 2; /* Bilde i midten */
  }
  
  .hero .d-flex.gap-3 {
    order: 3; /* Knapper sist */
    margin-top: 2rem;
  }
  
  /* Keypoints responsiv styling */
  .hero .row.g-1 {
    justify-content: center;
  }
  
  .hero .row.g-1 .col-4 {
    flex: 0 0 auto;
    width: auto;
    margin: 0 5px;
  }
  
  .hero .row.g-1 .d-flex span {
    font-size: 0.8rem !important;
    white-space: nowrap;
  }
  
  /* Hero image centering on mobile */
  .hero .col-md-6:last-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 1rem !important;
  }
  
  .hero-product-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }
  
  .hero-product-img {
    margin: 0 auto !important;
    display: block !important;
    max-width: 90% !important;
  }
  
  .hero-product-caption {
    text-align: center !important;
    width: 100% !important;
    padding: 0 1rem !important;
  }
  
  /* General mobile spacing for hero section */
  .hero .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hero .col-md-6:first-child {
    padding: 0 1rem !important;
  }
}

@media (max-width: 480px) {
  #heroCarousel {
    height: 250px; /* Enda lavere på små mobiler */
  }
  
  #heroCarousel .hero-product-img {
    max-height: 200px;
    max-width: 240px;
  }
  
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none;
  }
  
  /* Keypoints på små mobiler - stables vertikalt */
  .hero .row.g-1 {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .hero .row.g-1 .col-4 {
    width: 100%;
    max-width: 200px;
  }
  
  .hero .row.g-1 .d-flex {
    justify-content: center !important;
  }
  
  .hero .row.g-1 .d-flex span {
    font-size: 0.85rem !important;
    white-space: normal !important;
  }
  
  /* Extra spacing for very small screens */
  .hero .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .hero .col-md-6:first-child {
    padding: 0 1.5rem !important;
  }
  
  .hero .col-md-6:last-child {
    padding: 0 1.5rem !important;
  }
  
  .hero-product-container {
    padding: 0 1rem !important;
  }
  
  .hero-product-img {
    max-width: 85% !important;
  }
  
  .hero-product-caption {
    padding: 0 1.5rem !important;
  }
}

/* Microinteraction på CTA-knapp */
.btn-primary {
  transition: transform 0.15s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  transform: scale(1.06);
  box-shadow: 0 4px 24px #ff3b3040;
}

.card.custom-depth {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 32px rgba(255, 59, 48, 0.08), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(255, 59, 48, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card.custom-depth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF3B30 0%, #FF6B47 100%);
}

.card.custom-depth:hover {
  box-shadow: 0 12px 48px rgba(255, 59, 48, 0.15), 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 59, 48, 0.2);
}

.card .btn-outline-light {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
  font-weight: 600;
}

.card .btn-outline-light:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.navbar .nav-link {
  transition: background 0.2s, color 0.2s, border-radius 0.2s;
  border-radius: 6px;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
  background: #f1f1f1;
  color: var(--primary);
  border-radius: 6px;
}

.color-dot, .color-dot-24, .color-dot-13 {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 0.25rem;
  position: relative;
  overflow: hidden;
}

.color-dot::before, .color-dot-24::before, .color-dot-13::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.color-dot:hover, .color-dot-24:hover, .color-dot-13:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.color-dot.active, .color-dot-24.active, .color-dot-13.active,
.color-dot:focus, .color-dot-24:focus, .color-dot-13:focus {
  border: 3px solid var(--primary);
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.3);
  transform: scale(1.1);
}

/* Kontakt-side forbedringer */
.kontakt-info-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.kontakt-info-card ul {
  font-size: 1.08rem;
}
.kontakt-info-card a {
  color: var(--primary);
  text-decoration: underline dotted;
}

.kontakt-info-card .ratio {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px #0001;
}
.kontakt-info-card .small {
  margin-top: 0.5rem;
}
.kontakt-form-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
}
.kontakt-form-card .btn-primary {
  font-size: 1.1rem;
  padding: 0.75rem 0;
}

/* Fjern hover-effekt på kontaktkortene */
.kontakt-info-card:hover,
.kontakt-form-card:hover {
  transform: none !important;
  box-shadow: 0 4px 24px 0 #1e3c7212, 0 1.5px 6px 0 #4a90e233 !important;
}

/* Utviklet i Norge rute som henger på siden */
.norge-badge {
  position: fixed;
  right: 0;
  top: 20%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #333;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.norge-badge:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.15);
}

.norge-badge .flag {
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .norge-badge {
    display: none;
  }
}

/* Navbar mobilforbedringer */
@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
  }
  .navbar-nav {
    margin: 1rem 0;
  }
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }
  .navbar .btn-primary {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0 0.5rem auto;
    display: block;
    width: fit-content;
  }
}

/* Mobile navbar login button styling */
@media (max-width: 768px) {
  .navbar .btn-primary {
    background: none !important;
    border: none !important;
    color: var(--primary) !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    position: absolute !important;
    bottom: 1rem !important;
    right: 1rem !important;
    z-index: 1050 !important;
    box-shadow: none !important;
    transition: color 0.3s ease !important;
  }
  
  .navbar .btn-primary:hover {
    background: none !important;
    border: none !important;
    color: #d32f2f !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .navbar .btn-primary:focus {
    box-shadow: none !important;
  }
  
  /* Ensure navbar has relative positioning for absolute button */
  .navbar {
    position: relative !important;
  }
  
  /* Adjust navbar collapse to account for login button */
  .navbar-collapse {
    padding-bottom: 3rem !important;
  }
  
  /* Startvask cards - two by two on mobile */
  .container .row.g-4 .col-12.col-md-6.col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  /* Adjust card spacing for mobile two-column layout */
  .container .row.g-4 {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
  }
  
  .container .row.g-4 > [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* Adjust card heights for mobile */
  .container .row.g-4 .card {
    min-height: 350px !important;
  }
  
  /* Smaller text on mobile cards */
  .container .row.g-4 .card h5 {
    font-size: 0.9rem !important;
  }
  
  .container .row.g-4 .card p {
    font-size: 0.8rem !important;
  }
  
  .container .row.g-4 .card h6 {
    font-size: 0.8rem !important;
  }
  
  .container .row.g-4 .card ul li {
    font-size: 0.75rem !important;
  }
}

/* Premium Apple-inspirerte produktkort */
.product-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 50%, 
    rgba(241, 245, 249, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  will-change: transform, box-shadow;
}

/* Hover-effekter for premium følelse */
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.product-card:active {
  transform: translateY(-4px) scale(0.995);
  transition: all 0.15s ease-out;
}

.product-card .card-body {
  padding: 2.5rem;
  background: transparent;
}

/* Apple-inspirert typografi */
.product-card h2 {
  color: #1d1d1f;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

.product-card p {
  font-size: 1.0625rem;
  line-height: 1.52;
  color: #6e6e73;
  margin-bottom: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

/* Premium Apple-stil knapper */
.product-card .btn-primary {
  font-size: 1.0625rem;
  padding: 0.875rem 2.5rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: linear-gradient(145deg, #ff3b30 0%, #e53030 100%);
  border: none;
  box-shadow: 
    0 4px 16px rgba(255, 59, 48, 0.25),
    0 1px 4px rgba(255, 59, 48, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
}

.product-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(255, 59, 48, 0.35),
    0 2px 8px rgba(255, 59, 48, 0.25);
  background: linear-gradient(145deg, #ff453a 0%, #ff3b30 100%);
}

.product-card .btn-primary:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(255, 59, 48, 0.2),
    0 1px 4px rgba(255, 59, 48, 0.1);
}

/* Color showcase styling */
.color-showcase {
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.color-showcase:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.color-image {
  max-height: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Feature list styling */
.features-list {
  padding-left: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.feature-icon {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: bold;
}

.feature-text {
  color: #4a5568;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

/* Desktop styling for images */
@media (min-width: 769px) {
  .product-card .flex-grow-1 {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .product-card .ms-4 {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0 !important;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-card .ms-4 img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
  
  .product-card .flex-grow-1 {
    padding-right: 320px;
  }
}

@media (max-width: 768px) {
  .product-card {
    flex-direction: column !important;
    text-align: center;
  }
  
  .product-card .flex-grow-1 {
    display: grid !important;
    grid-template-areas: 
      "title"
      "image" 
      "description"
      "colors"
      "color-desc"
      "button";
    gap: 1rem;
  }
  
  .product-card h2 {
    font-size: 2rem;
    grid-area: title;
    margin-bottom: 0;
  }
  
  .product-card .product-description {
    grid-area: description;
  }
  
  .product-card .color-options {
    grid-area: colors;
    justify-content: center !important;
  }
  
  .product-card .color-description {
    grid-area: color-desc;
    text-align: center;
  }
  
  .product-card .mt-auto {
    grid-area: button;
    margin-top: 0 !important;
  }
  
  .product-card .ms-4 {
    grid-area: image;
    margin-left: 0 !important;
    justify-self: center;
  }
  
  .product-card img {
    margin: 0 auto !important;
    max-width: 180px !important;
    max-height: 180px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 16px;
  }
}

/* Premium produktbilder */
.product-card img {
  border-radius: 16px;
  border: none;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
  object-fit: contain;
  object-position: center;
}

.product-card:hover img {
  transform: scale(1.02) translateZ(0);
}

/* Mikro-interaksjoner og premium detaljer */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.8) 20%, 
    rgba(255, 255, 255, 0.8) 80%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::before {
  opacity: 1;
}

/* Premium container styling for produkter */
body {
  background: linear-gradient(135deg, 
    #f5f7fa 0%, 
    #c3cfe2 100%);
  min-height: 100vh;
}

/* Forbedret spacing og layout */
.container {
  position: relative;
}

/* Subtil grid-effekt for premium følelse */
.row.g-4 {
  perspective: 1000px;
}

.col-lg-6 {
  perspective-origin: center center;
}

/* Forbedret animasjon ved innlasting */
.product-card {
  animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: calc(var(--card-index, 0) * 0.1s);
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Produktfilter styling */
.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover {
  color: white !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline-primary.active {
  color: white !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 59, 48, 0.25) !important;
}

/* Filterknapper i hero-seksjonen */
.filter-btn {
  background: transparent !important;
  border: 2px solid #6b7280 !important;
  color: #6b7280 !important;
  font-weight: bold;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(107, 114, 128, 0.1) !important;
  border: 2px solid #4b5563 !important;
  color: #4b5563 !important;
}

.filter-btn.active {
  background: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  color: white !important;
}

.filter-btn.active:hover {
  background: #d32f2f !important;
  border: 2px solid #d32f2f !important;
  color: white !important;
}

/* Betalingsmetoder logoer styling */
.payment-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.payment-logo-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 140px;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-logo {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.payment-logo-card:hover .payment-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.payment-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
  .payment-logos-container {
    flex-wrap: nowrap;
  }
  .payment-logo-card {
    flex: 1 1 auto;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .payment-logo-card {
    padding: 1rem;
    min-height: 80px;
    min-width: 120px;
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
  .payment-logo {
    max-height: 50px;
  }
}


