/* =========================================================
   NAV / SECONDARY MENY
   ========================================================= */

/* Aktiv menylenke */
.ast-builder-menu-2 .menu-item.current-menu-item > a,
.ast-builder-menu-2 .menu-item.current_page_item > a {
    font-weight: 700;
    color: #000 !important;
}

/* Hover-effekt */
.ast-builder-menu-2 .menu-item > a:hover {
    color: #000 !important;
    font-weight: inherit;
}

/* Myk overgang */
.ast-builder-menu-2 .menu-item > a {
    transition: color 0.2s ease-in-out;
}

/* Standard */
.ast-builder-menu-2 .menu-item > a {
    color: #00AEEF !important;
    font-weight: 600;
}

.ast-builder-menu-2 .menu-item:hover > a,
.ast-builder-menu-2 .current-menu-item > a,
.ast-builder-menu-2 .current_page_item > a {
    color: #000 !important;
    font-weight: 700;
}

/* =========================================================
   SOSIALE IKONER
   ========================================================= */

.skx-icon-btn img {
  width: 26px;
  height: 26px;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.skx-icon-btn:hover img {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-color-mode-dark .skx-icon-btn {
  background: #fff;
  border-radius: 50%;
  padding: 5px;
}

/* Horisontal layout */
.skx-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

.skx-social img {
    width: 22px;
    height: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.skx-social img:hover {
    transform: scale(1.12);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-color-mode-dark .skx-social img {
    background: #fff;
    border-radius: 50%;
    padding: 4px;
}

/* Mobil ikon */
.ast-header-break-point .ast-mobile-header-wrap .skx-ig img {
  width: 22px;
  height: 22px;
}

.ast-header-break-point .ast-mobile-header-wrap .site-header-section-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   HEADER / BANNER
   ========================================================= */

.site-header {
  z-index: 9999;
  position: relative;
}

.ast-below-header,
.ast-below-header-bar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

/* Gull banner */
.skx-banner {
  background: #D6B57A;
  color: #000;
  text-align: center;
  padding: 12px 0;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Zoom desktop */
@media (min-width: 1025px) {
  body { zoom: 0.88; }
}

/* =========================================================
   WOOCOMMERCE – FJERN BLOGGPOSTER NEDERST,
   MEN BEHOLD PRODUKTER + PAGINERING
   ========================================================= */

/* Skjul kun vanlige blogginnlegg nederst på produktsider
   – ikke rør produkter, kategorier eller paginering */
.tax-product_cat .site-main article.post,
.post-type-archive-product .site-main article.post,
.tax-product_cat .site-main article.type-post,
.post-type-archive-product .site-main article.type-post {
    display: none !important;
}

/* =========================================================
   WOOCOMMERCE – PAGINERING
   ========================================================= */

.woocommerce nav.woocommerce-pagination,
.woocommerce-pagination {
    display: flex !important;
    justify-content: center;
    margin: 40px 0;
}

.woocommerce-pagination ul {
    display: flex !important;
    gap: 6px;
    border: none !important;
    padding: 0 !important;
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
    padding: 6px 12px;
    border-radius: 3px;
}

/* Aktiv side */
.woocommerce-pagination li span.current {
    background: #00AEEF !important;
    color: #fff !important;
}

/* =========================================================
   WOOCOMMERCE – PERFEKT LINJERTE PRODUKTKORT
   ========================================================= */

/* Produktkort som fleks-kolonne */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Thumbnail – stabil */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    flex-shrink: 0;
}

/* Summary (tittel + pris + knapp) som fleks-kolonne */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Titelhøyde */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.4em;
    margin-bottom: 6px;
}

/* Pris */
.woocommerce ul.products li.product .price {
    margin-bottom: 10px;
}

/* Knappen nederst */
.woocommerce ul.products li.product .button {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
}

/* Bilde – alltid komplett, aldri kuttet */
.woocommerce ul.products li.product a img {
    height: 260px;
    object-fit: contain;
}
/* =========================================================
   WOOCOMMERCE – RYDD OPP TOMME ARTIKLER NEDERST
   ========================================================= */

/* Skjul vanlige blogg-innlegg på produkt- og produktkategori-arkiv */
.tax-product_cat .site-main > article.post,
.tax-product_cat .site-main > article.type-post,
.post-type-archive-product .site-main > article.post,
.post-type-archive-product .site-main > article.type-post {
    display: none !important;
}

/* Fjern margin/padding på eventuelle tomme artikler som blir igjen */
.tax-product_cat .site-main > article,
.post-type-archive-product .site-main > article {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
/* Fjern tomme artikkelcontainere på WooCommerce kategorisider */
.tax-product_cat .ast-separate-container .ast-article-post,
.tax-product_cat .ast-separate-container .ast-article-single {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tax-product_cat .ast-separate-container .ast-row {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Sosiale medier i footer vannrett */
.skx-social {
    display: flex;
    flex-direction: row; 
    gap: 15px; 
    align-items: center;
}

.skx-social-link img {
    width: 35px; 
    height: 35px; 
    object-fit: contain;
    display: block;
}

