/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1758784579
Updated: 2025-09-25 07:16:19

*/

:root{
  --gs-primary:#3D06A3;  /* brand-lilla */
  --gs-accent:#EFCA22;   /* gul CTA */
  --gs-ink:#111;
  --gs-card:#fff;
  --gs-muted:#3B089B29;
  --gs-radius:16px;
  --gs-space:14px;
  --gs-shadow:0 6px 20px rgba(0,0,0,.08);
}

/* Kort container */
.gs-card{
  background:var(--gs-card);
  border:1px solid rgba(0,0,0,.04);
  border-radius:var(--gs-radius);
  box-shadow:var(--gs-shadow);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  padding:0 0 var(--gs-space) 0;
}
.gs-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}

/* Produktbillede */
.gs-card img{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fff;
  display:block;
}

/* Indre spacing */
.gs-card .elementor-widget:not(:first-child){
  margin-top:12px;
}
.gs-card .elementor-widget-container{
  padding:0 var(--gs-space);
}

/* Lagerstatus */
.gs-card .elementor-widget-woocommerce-product-stock .elementor-widget-container{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.88rem;
  font-weight:600;
  background:var(--gs-muted);
  color:var(--gs-primary);
  margin-top:calc(var(--gs-space) + 2px);
}

/* Farver til status */
.gs-card .elementor-woo-instock .elementor-widget-container{
  background: color-mix(in srgb, var(--gs-accent) 22%, #fff);
  color:#0F5C00;
}
.gs-card .elementor-woo-onbackorder .elementor-widget-container{
  background:#fff5d6;
  color:#8a5d00;
}
.gs-card .elementor-woo-outofstock .elementor-widget-container{
  background:#ffe8e8;
  color:#9d1a1a;
}

/* Produktnavn */
.gs-card .elementor-widget-woocommerce-product-title a{
  color:var(--gs-ink);
  text-decoration:none;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  line-height:1.35;
  font-size:1rem;
}
.gs-card .elementor-widget-woocommerce-product-title a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Pris */
.gs-card .elementor-widget-woocommerce-product-price .price{
  font-weight:700;
  font-size:1.05rem;
  margin-top:4px;
}
.gs-card .price del{
  opacity:.55;
  font-weight:500;
  margin-right:6px;
}
.gs-card .price ins{
  text-decoration:none;
}

/* Læg i kurv knap */
.gs-card .elementor-widget-woocommerce-product-add-to-cart .elementor-button,
.gs-card .add_to_cart_button,
.gs-card .product_type_simple{
  width:100%;
  justify-content:center;
  padding:12px 14px;
  border-radius:10px;
  background:var(--gs-accent);
  color:#111;
  border:2px solid transparent;
  font-weight:800;
  letter-spacing:.1px;
  transition:transform .06s ease, box-shadow .15s ease, background-color .15s ease;
}
.gs-card .elementor-widget-woocommerce-product-add-to-cart .elementor-button:hover{
  background:#e6bd12;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.gs-card .elementor-widget-woocommerce-product-add-to-cart .elementor-button:active{
  transform:translateY(1px);
}

/* Udsolgt knap */
.gs-card .outofstock .elementor-widget-woocommerce-product-add-to-cart .elementor-button{
  background:#ddd;
  color:#666;
  cursor:not-allowed;
}

/* Fjern Woo "Udsalg"-badge for rent look */
.woocommerce span.onsale{
  display:none !important;
}

/* Responsivt – små skærme */
@media (max-width:640px){
  .gs-card .elementor-widget-woocommerce-product-title a{
    font-size:.98rem;
  }
}
