/* --- PC (min-width: 600px) ------------------------------------------------------------------------------------------------------- */

@media (min-width: 1025px) {

/* --- Eldre Hovedkort (leie-kort) --- */
.leie-kort {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fafafa;
    border-radius: 5px;
    min-height: 203px;
    text-decoration: none;
    color: #2D3748;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.leie-kort:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.leie-kort-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 51%;
    opacity: 1;
}
.leie-kort-innhold {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.leie-tittel {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1A202C;
}
.leie-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leie-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4A5568;
}
.leie-info .ikon {
    width: 18px;
    height: 18px;
    stroke: #2B6CB0;
}
.leie-bunn {
    margin-top: auto;
}
.leie-pris-knapp {
    display: block;
    background-color: #fff;
    color: #000;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.leie-pris-knapp strong {
    font-size: 1.1em;
}

/* --- Nytt Hovedkort (custom-rental-card) --- */
ul.products li.custom-rental-card {
    background-color: #FAFAFA !important; /* Fallback farge hvis bilde mangler */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: auto;
    box-shadow: none !important;
}
ul.products li.custom-rental-card:hover {
    /* Du kan legge til en hover-effekt her om ønskelig */
}

/* --- FLEX CONTAINER --- */
.rental-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}

/* --- TOPP SEKSJON --- */
.rental-top-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 25px;
}
.rental-title-link {
    text-decoration: none;
}
.rental-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: black;
    line-height: 1.2;
}

/* --- META INFO & FUNKSJONER --- */
.rental-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.95rem;
    color: #f0f0f0;
    font-weight: 500;
}
.meta-row svg {
    stroke: #fff;
}
.rental-features-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-top: 2px;
}
.feature-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
}
.feature-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    margin-right: 5px;
}
.feature-text {
    font-size: 0.95rem;
    color: #3F65E8;
    font-weight: 500;
}
.rental-features-wrapper .feature-row:nth-child(1) .feature-text {
    color: #9B9B9B;
}
.rental-features-wrapper .feature-row:nth-child(2) .feature-text {
    font-weight: bold;
}

/* --- BUNN SEKSJON & KNAPP --- */
.rental-bottom-section {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.rental-bottom-left {
    flex: 1;
}
.rental-bottom-right {
    display: flex;
    justify-content: flex-end;
    background-color: white !important;
    border-top-left-radius: 10px;
    width: 9rem;
}
a.rental-price-badge {
    background-color: #FFD526 !important;
    color: black !important;
    text-decoration: none;
    padding: 15px !important;
    border-radius: 10px;
    font-weight: 700;
    text-align: center !important;
    font-size: 0.6rem !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: normal;
    display: inline-block;
    margin: 8px;
    width: calc(100% - 16px);
}
a.rental-price-badge:hover {
    background-color: /* Set color here */ ;
    transform: scale(1.05);
}
a.rental-price-badge del {
    display: none;
}
.rental-bottom-right .leie-periode {
    font-weight: normal;
    text-transform: none;
}


/* --- Generelle side- og layout-stiler --- */
 .content-area {
        margin-top: 1vw !important;
		margin-bottom: 1vw !important;
    }
.site-container {
	padding: 0px;
}
.site-main {
    background-color: white;
    border-radius: 25px;
}

.has-left-sidebar .content-container {
        grid-template-columns: 2fr 5fr;
        margin-top: 1.5vw;
}

.primary-sidebar {
    background-color: white;
    padding: 25px !important;
    border-radius: 25px;
}
.kadence-shop-top-row {
    background-color: white;
    padding: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.product-archive {
    background-color: white !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.grid-cols {
    display: grid;
    column-gap: 0rem;
    row-gap: 0rem;
}


/* --- Listevisning og merkevarer --- */
.woocommerce ul.products.products-list-view li.product {
    display: flex !important; /* 'flex' er mer robust enn 'inline' for listevisning */
}
.brand-thumbnails li {
    background-color: #fafafa;
    padding: 5px !important;
    border-radius: 25px;
}
.brand-thumbnails li:hover {
    background-color: #f2f2f2;
}

.woocommerce ul.products {
	margin: 1rem !important ;
}
	
}

/* --- MOBIL (max-width: 600px) ------------------------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .content-area {
        margin-top: 5vw !important;
		margin-bottom: 5vw !important;
    }
    .rental-card-inner {
        min-height: 240px;
        padding: 20px;
    }
    .rental-title {
        font-size: 1.3rem;
    }
    .product-archive {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .rental-card-inner {
        padding: 0px; /* Overstyrer padding for mobilkort */
    }
	.has-sidebar .content-container {
    grid-gap: 1vw !important;
    display: flex;
    flex-direction: column-reverse;
}

.primary-sidebar {
    background-color: #ffffff;
    padding: 25px !important;
    border-radius: 25px;
    width: 100%;
}
	
	/* --- Eldre Hovedkort (leie-kort) --- */
.leie-kort {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fafafa;
    border-radius: 5px;
    min-height: 203px;
    text-decoration: none;
    color: #2D3748;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.leie-kort:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.leie-kort-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 51%;
    opacity: 1;
}
.leie-kort-innhold {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.leie-tittel {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1A202C;
}
.leie-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leie-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4A5568;
}
.leie-info .ikon {
    width: 18px;
    height: 18px;
    stroke: #2B6CB0;
}
.leie-bunn {
    margin-top: auto;
}
.leie-pris-knapp {
    display: block;
    background-color: #fff;
    color: #000;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.leie-pris-knapp strong {
    font-size: 1.1em;
}

/* --- Nytt Hovedkort (custom-rental-card) --- */
ul.products li.custom-rental-card {
    background-color: #FAFAFA !important; /* Fallback farge hvis bilde mangler */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: auto;
    box-shadow: none !important;
}
ul.products li.custom-rental-card:hover {
    /* Du kan legge til en hover-effekt her om ønskelig */
}

/* --- FLEX CONTAINER --- */
.rental-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}

/* --- TOPP SEKSJON --- */
.rental-top-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 25px;
}
.rental-title-link {
    text-decoration: none;
}
.rental-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: black;
    line-height: 1.2;
}

/* --- META INFO & FUNKSJONER --- */
.rental-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.95rem;
    color: #f0f0f0;
    font-weight: 500;
}
.meta-row svg {
    stroke: #fff;
}
.rental-features-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-top: 2px;
}
.feature-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
}
.feature-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    margin-right: 5px;
}
.feature-text {
    font-size: 0.95rem;
    color: #3F65E8;
    font-weight: 500;
}
.rental-features-wrapper .feature-row:nth-child(1) .feature-text {
    color: #9B9B9B;
}
.rental-features-wrapper .feature-row:nth-child(2) .feature-text {
    font-weight: bold;
}

/* --- BUNN SEKSJON & KNAPP --- */
.rental-bottom-section {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.rental-bottom-left {
    flex: 1;
}
.rental-bottom-right {
    display: flex;
    justify-content: flex-end;
    background-color: white !important;
    border-top-left-radius: 10px;
    width: 9rem;
}
a.rental-price-badge {
    background-color: #FFD526 !important;
    color: black !important;
    text-decoration: none;
    padding: 15px !important;
    border-radius: 10px;
    font-weight: 700;
    text-align: center !important;
    font-size: 0.6rem !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: normal;
    display: inline-block;
    margin: 8px;
    width: calc(100% - 16px);
}
a.rental-price-badge:hover {
    background-color: /* Set color here */ ;
    transform: scale(1.05);
}
a.rental-price-badge del {
    display: none;
}
.rental-bottom-right .leie-periode {
    font-weight: normal;
    text-transform: none;
}

/* Singel produkt */

.single-product.content-vertical-padding-bottom .kadence-breadcrumbs {
    padding: 1.5em;
}

.ovabrw-modern-product .ovabrw-modern-product-container {
    display: flex;
    margin-bottom: 70px;
}

.ovabrw-modern-product {
    position: relative;
    background-color: #EFEFEF !important;
    max-width: 100%;
    overflow: visible !important;
}

.ovabrw-modern-product .ovabrw-modern-product-container {
    margin-bottom: 0px !important;
}


/* Produkt bilde Container*/
	
.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-left {
    flex: 0 0 45%;
    max-width: 100%;
    position: relative;
}
/* Produkt bilde */

.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-left .ovabrw-product-images {
    position: relative;
    margin-bottom: 2em !important;
    margin-top: 3.5em !important;
}

/* Produkt innhold under bildet */
.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-right {
        background-color: white;
		padding: 2em;
		border-top-left-radius: 30px;
    	border-top-right-radius: 30px;
    }

/* Floating bottom*/
.ovabrw-product-sticky .ovabrw-sticky-content .ovabrw-product-btn a {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    padding: 10px 30px;
    color: #000000 !important;
    background-color: #FFD526 !important;
    border: none;
    border-radius: 5px;
    text-transform: inherit;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
	border-radius: 25px;
}

.product-highlights-grid.ovabrw-modern-product-section {
	display: flex;
	align-items: stretch;
	gap: 10px

}

.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-right .ovabrw-modern-product-head {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin-bottom: 20px;
        flex-direction: row;
        gap: 15px;
    }
	
.ovabrw-modern-product .ovabrw-product-price .amount {
    display: block;
    font-family: var(--ovabrw-primary-font);
    font-size: 1.2em;
    font-style: normal;
    font-weight: 500;
    line-height: 34px;
    color: var(--ovabrw-primary-color);
}
	
	
.highlight-box {
    display: grid;
    justify-content: center;
    padding: 0.7em;
    background-color: #FFD526;
    width: 50%;
    border-radius: 10px;
    gap: 7px;
    font-size: 12px;
    margin-bottom: 10px;
    font-family: 'Plus Jakarta Sans';
}

.ovabrw-modern-product #booking_form {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;

}

.rental_item {
    width: 100%;
}

.ovabrw-modern .ovabrw-product-fields input[type=text] {
    background-color: #fdfdfd;
    border-radius: 10px;
    border-width: 2px !important;
    border-color: #f1f1f1 !important;
}

.ovabrw-modern-product #booking_form {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    flex-direction: column;
}

.ovabrw-modern-product #booking_form .ovabrw-product-fields {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    flex-direction: row;
}

.ovabrw-modern-product #booking_form button.submit, .ovabrw-modern-product #request_booking button.submit {
	width: 100%;
}

.woocommerce div.product .woocommerce-tabs {
        border: 1px solid var(--global-gray-400);
        margin-bottom: 2em;
        background-color: white;
		padding: 15px !important;
    }

.woocommerce div.product .woocommerce-tabs li {
	background-color: white;
	font-family: 'Plus Jakarta Sans';
    font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs {
        margin-bottom: 0em !important;
    }

.ovabrw-modern .ovabrw-related-products .head-related {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 25px;
    background-color: white;
}

.ovabrw-modern .ovabrw-related-products {
    margin-bottom: 0px !important;
}
}

.site-container {
	padding: 0px !important;
}
.site-main {
    background-color: white;
 

}

.has-left-sidebar .content-container {
        grid-template-columns: 2fr 5fr;
        margin-top: 1.5vw;
}

.primary-sidebar {
    background-color: white;
    padding: 25px !important;
    border-radius: 25px;
}
.kadence-shop-top-row {
    background-color: white;
    padding: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.product-archive {
    background-color: white !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.has-sidebar .content-container {
    grid-gap: 1vw !important;
}
.grid-cols {
    column-gap: 1.5vw !important;
    row-gap: 1.5vw !important;
}

.woocommerce-pagination {
	padding: 15px !important;
}

/* --- Listevisning og merkevarer --- */
.woocommerce ul.products.products-list-view li.product {
    display: flex !important; /* 'flex' er mer robust enn 'inline' for listevisning */
}
.brand-thumbnails li {
    background-color: #fafafa;
    padding: 5px !important;
    border-radius: 25px;
}
.brand-thumbnails li:hover {
    background-color: #f2f2f2;
}

.woocommerce ul.products {
	margin: 0rem !important ;
}


@media (min-width: 1025px) {

/* Singel produkt */

.single-product.content-vertical-padding-bottom .kadence-breadcrumbs {
		margin-top: 2vw;
    padding: 1.0em;
		border: 0px solid;
		border-radius: 10px;
}

.ovabrw-modern-product .ovabrw-modern-product-container {
        display: flex;
        margin-bottom: 0px !important;
        border-top: 25px solid #EFEFEF;
        border-bottom: 25px solid #EFEFEF;
        border-right: 25px solid #EFEFEF;
        flex-direction: row;
        justify-content: space-between;
        align-items: center !important;
    }
	
.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-left {
    max-width: 100%;
		align-content: center;
		background-color: #EFEFEF;
		padding-top: 7%;
}


.ovabrw-modern-product {
    position: relative;
    max-width: 100%;
    overflow: visible !important;
		
}




/* Produkt bilde */

.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-left .ovabrw-product-images {
    position: relative;
		background-color: #EFEFEF !important;
		
}



/* Produkt innhold under bildet */
.ovabrw-modern-product .ovabrw-modern-product-container .ovabrw-modern-product-right {
      background-color: white;
			padding: 2em;
			border-top-left-radius: 0px;
    	border-top-right-radius: 30px;
    }

/* Floating bottom*/
.ovabrw-product-sticky .ovabrw-sticky-content .ovabrw-product-btn a {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    padding: 10px 30px;
    color: #000000 !important;
    background-color: #FFD526 !important;
    border: none;
    border-radius: 5px;
    text-transform: inherit;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
	border-radius: 25px;
}

.ovabrw-modern-product .ovabrw-product-form-tabs .ovabrw-tab-head .item-tab {
    flex: 0 0 50%;
    font-family: 'Plus Jakarta Sans';
    font-size: var(--ovabrw-second-heading-size);
    font-weight: 400;
    line-height: var(--ovabrw-second-heading-line-height);
    color: var(--ovabrw-second-heading-color);
    text-transform: inherit;
    padding-bottom: 5px;
    cursor: pointer;
    z-index: 1;
}

 .product-highlights-grid.ovabrw-modern-product-section {
        display: flex;
        align-items: stretch;
        gap: 10px;
    }

.highlight-box {
        display: flex;
        justify-content: center;
        padding: 0.7em;
        background-color: #FFD526;
        width: 83%;
        border-radius: 10px;
        gap: 7px;
        font-size: 12px;
        margin-bottom: 10px;
        font-family: 'Plus Jakarta Sans';
        flex-direction: row;
        align-items: center;
}

.ovabrw-modern-product #booking_form {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;

}

.rental_item {
    width: 100%;
}

.ovabrw-modern .ovabrw-product-fields input[type=text] {
    background-color: #fdfdfd;
    border-radius: 10px;
    border-width: 2px !important;
    border-color: #f1f1f1 !important;
}

.ovabrw-modern-product #booking_form {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    flex-direction: column;
}

.ovabrw-modern-product #booking_form .ovabrw-product-fields {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    flex-direction: row;
}

.ovabrw-modern-product #booking_form button.submit, .ovabrw-modern-product #request_booking button.submit {
	width: 100%;
}

.woocommerce div.product .woocommerce-tabs {
        border: 1px solid var(--global-gray-400);
        margin-bottom: 0em;
        background-color: white;
				padding: 3em;
    }

.ovabrw-modern-product .woocommerce-tabs ul.tabs li.active:after {
    opacity: 1;
    right: 10px;
    color: var(--ovabrw-primary-color);
}
.woocommerce div.product .woocommerce-tabs li {
	background-color: white;
	font-family: 'Plus Jakarta Sans';
    font-size: 14px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid var(--global-gray-400);
    background-color: var(--global-palette8);
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 3px 3px 0 0;
    margin: 0 2px;
    width: 25%;
}
.ovabrw-modern .ovabrw-related-products .head-related {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 25px;
    background-color: white;
}

.ovabrw-modern .ovabrw-related-products {
    margin-bottom: 0px !important;
}
	
	}




