/**
Theme Name: amplivital child theme
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Custom Astra mod
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amplivital-child-theme
Template: astra
*/

.hidden {
	display:none !important;
}

p a, 
li a, 
td a {
	text-decoration: none;
    border-bottom: 1px dashed #d7e1f7; 
}
p a:hover, 
p a:focus,
li a:hover, 
li a:focus,
td a:hover, 
td a:focus {
    border-bottom: 2px dotted #c8d7f7;
}
.ast-woocommerce-container a,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, header a {
    border-bottom: none !important;
}
.ast-woocommerce-container a,
h1 a:hover, h2 a:hover, h3 a:hover, header a:hover, h1 a:focus, h2 a:focus, h3 a:focus, header a:focus {
    border-bottom: none !important;
}

.custom-logo {
	cursor: pointer;
    user-select: none;
}

/* Produktsida Läs mer/Dölj */
.read-more-text, .read-less-text{
	display:flex;
	cursor:pointer;
}

.read-more {
    color: #33558f;
    font-weight: 600;
    margin: 15px 0;
    user-select: none;
}
.read-more img {
    transition: transform 0.2s ease;
}

.read-more:hover {
    color: #23457f;
}

.read-more:hover .read-more-text img {
    transform: translateY(3px);
}

.read-more:hover .read-less-text img {
    transform: translateY(-3px);
}

.av-fadeout.fadeout{
	position: relative;
	max-height:150px;
	overflow:hidden;
	transition: max-height 0.3s ease-in-out;
}
.av-fadeout.fadeout::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.av-fadeout {
    max-height: 10000px;
    transition: max-height 0.4s ease-in-out;
}

.av-fadeout.fadeout:not(.fadeout)::after {
    opacity: 0;
}

.eu-list div{
	padding: 0 0 6px 15px;
	text-indent: -15px;
}


.ampli-menu-text {
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
}

.ast-desktop-header-content{
	left: 0;
	right: 0;
	margin-inline: auto; 
	max-width: 1200px;
	
}

@media (max-width:543px){
	.ast-header-account {display: none;}
}

/* posts */
.ast-post-social-sharing {
	flex-direction: row;
	gap: 25px;
	align-items: end;
	margin-bottom: 35px;
}
.ast-post-social-sharing h3 {
	font-size: 1rem;
	line-height: 1rem;
	margin: 0 !important;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	color: var(--ast-global-color-3);
}
@media (max-width: 921px){
	.ast-post-social-sharing h3 {
		font-size: 0.933rem;
		line-height: 0.933rem;
	}
}

header div[class*="astra-advanced-hook"], .margin0 {
	margin: 0 !important;
}
header h1 {
	margin-bottom: 10px;
}

/* artikelbilder */
@media (max-width:781px){
	.side-image{transform: rotate(-90deg);}
}
.mirror-image{
	transform: scaleX(-1);
}

/* DRI-tabell produktsidor */
.dri-table {
	width: fit-content
}
.dri-table tr{
	background-color: #DBEDFF
}
.dri-table tr:nth-child(odd) {
  background-color: #E5E6E0
}
.dri-table td, .dri-table th {
	padding: .2em .6em;
	text-align: left;
}

/* rank math toc wcag */
.wp-block-rank-math-toc-block div:has(a)  {
	margin-top: 3px !important;
}

/* list items utan punkt */
.no-bullet{
	list-style-type: none;
}

/* fixed images */
.has-parallax{
	position: relative;
  height: 450px;
  clip-path: inset(0);
}

.has-parallax div[role="img"]{
  object-fit: cover;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* columns */
.columns-low-gap {
	gap: 8px;
}

.inline-video{
	text-align: center;
}
.inline-video video {
	max-width: 600px;
}

/* fixed header image home */
.ast-advanced-headers-vertical-center{
	background-attachment: fixed;
}

.group-aprikos,
.group-beige,
.group-blue,
.group-green,
.group-platinum,
.group-vanilla{
	padding: 18px !important;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.group-aprikos h2, .group-aprikos h3,
.group-beige h2, .group-beige h3,
.group-blue h2, .group-blue h3,
.group-green h2, .group-green h3,
.group-platinum h2, .group-platinum h3,
.group-vanilla h2, .group-vanilla h3 {
	text-align:left;
}
.group-aprikos h2, .group-aprikos h3,
.group-aprikos{
	background-color: #FFF5FA;
	color: #64025C;		
}
.group-beige h2, .group-beige h3,
.group-beige{
	background-color: oldlace;
	color: #1F2F18;
}
.group-blue h2, .group-blue h3,
.group-blue{
	background-color: aliceblue;
	color: #433328;
}
.group-green h2, .group-green h3,
.group-green{
	background-color: #F3FFF3;
	color: #32373E;
}
.group-platinum h2, .group-platinum h3,
.group-platinum{
	background-color: whitesmoke;
	color: #6B0000;
}
.group-vanilla h2, .group-vanilla h3,
.group-vanilla{
	background-color: ivory;
	color: #080842;
}
.align-center{align-content:center}

h2 + h3 { margin-top: 0 !important; }

.max-width-800{
	max-width: 800px;
	margin: auto;
}
@media (max-width:840px){
	.max-width-800 {margin: 0 20px;}
}

/* footer */
footer,
.ast-footer-copyright {
	font-size: 14px;
}
footer p{
	padding: 0;
	margin: 0;
}
footer h2.widget-title {
	color: #444;
	font-size: 15px;
	font-weight: 300;
	margin: 0;
}
footer nav li {
	margin-top: 3px !important;
}
.site-primary-footer-wrap,
.site-below-footer-wrap{
	padding: 10px 20px;
}

.site-footer-primary-section-3 {
  margin: 0 !important;
}

/* products */
.usp-list {
    list-style: none;
    padding-left: 7px;
    margin: 1.5em 0;
}

.usp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.usp-list li::before {
    content: "";
    flex-shrink: 0;
    width: 15px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 27'%3E%3Cpath fill='%23000' d='M6.6 6.5c.8-.3 1.4-1.1 1.4-2v-2l-.5.6C6.7 4.1 5.5 4.7 4.2 4.7h-.3V7h.3c.8 0 1.6-.2 2.4-.5zm.4 5.2c.6-.4 1-1.1 1-1.8V7.3l-.5.8c-1.2 1.7-3.1 2.8-5.2 2.8h-.3v2.3h.3c1.7 0 3.3-.5 4.7-1.5zm.2 5.8c.5-.4.7-1 .7-1.6v-3.2l-.5.9c-1.5 2.5-4.2 4.1-7.1 4.1H0v2.3h.3c2.5 0 5-.9 7.2-2.6zm12.5 2.6h.3v-2.3h-.3c-4.2 0-7.7-3.2-8.2-7.3 1.6 1.7 3.9 2.7 6.3 2.7h.3V10.9h-.3c-3.2 0-5.8-2.3-6.3-5.4 1.2 1 2.7 1.5 4.3 1.5h.3V4.7h-.3c-2.4 0-4.4-2-4.4-4.4V0H9.3l-.6 23.6c-2.6.1-5.6.4-8.2 1l-.2.1v2.3l.3-.1c3.2-.7 6.3-1 9.4-1 3.1 0 6.3.3 9.4 1l.3.1V24.6l-.2-.1c-2.6-.6-5-1-7.7-1l-.2-7.2c2 2.4 5 3.8 8.1 3.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.product-logo{
	margin: 0 0 3px 3px;
}

.entry-summary h1{
	font-size: 2rem;
	text-transform: uppercase;
}

.wc-block-product,
.astra-shop-summary-wrap{
	height: 100%;
	display:flex;
	flex-direction:column;
}
.astra-shop-summary-wrap .price {order: 3;}
.astra-shop-summary-wrap .add_to_cart_button,
.wc-block-product .wp-block-button{
	order: 4;
	margin-top: auto !important;
}
.product .button { text-align:center; }

.ast-woocommerce-container h1,
.ast-woocommerce-container h2 {
	margin-top: 5px;
	margin-bottom: 12px
}
.ast-woocommerce-container h4,
.ast-woocommerce-container h5 {
	margin-top: 7px;
	margin-bottom: 7px;
}

.wp-block-woocommerce-product-collection h2.wp-block-heading {
	font-size: 26px;
}

/* accordion */

.amplivital-details summary {
	list-style: none; 
    display: block; /* Viktigt för positionering */
    position: relative;
    padding: 15px 0 15px 30px;
	
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	line-height: 1.3em;
	font-size: 2rem;
	cursor: pointer;
	
	background-image: url("https://amplivital.se/wp-content/uploads/2026/05/plus7.svg");
    background-repeat: no-repeat;
    background-position: left center; 
}
}
@media (max-width: 544px) {
    .amplivital-details summary {
        font-size: 1.533rem;
    }
}
.amplivital-details summary::-webkit-details-marker {
    display: none;
}

.amplivital-details[open]>summary {
	background-image: url("https://amplivital.se/wp-content/uploads/2026/05/x7.svg");
}

/* rundade hörn på featured image */
.ast-single-post-featured-section img {
	border-radius: 15px;
}

/* mobile specific */
.show-on-mobile { display: none !important; }
@media (max-width:544px){
	.wp-block-column { margin-bottom: 0 !important; }
	.show-on-mobile { display: flex !important; }
	.wp-block-woocommerce-checkout { margin: 0 !important;}
}

/* home */
.pb200 {
	padding-bottom: 200px;
}
.ico figure {
	display:flex !important;
	height: 100%;
}
.ico-col{
	gap: 5%;
	justify-content: center;
}

.ico-cols{
	gap: 10px;
}

/* latest post - varannan högerställd */
.wp-block-post {
	margin: 20px 0 !important;
}

.wp-block-post>div {
	gap: 12px;
	row-gap: 18px;
}
@media (min-width:782px){
	.wp-block-post:nth-child(even)>div>div:first-child {
		order:1
	}
}

/* blockquote */
blockquote::before {
	content: open-quote;
}
blockquote::after {
	content: close-quote;
}
blockquote:before,
blockquote:after {
	color: #64025C;
	font-size: 32px;	
}

blockquote {
	quotes: "“" "”" "‘" "’";
	padding: 0 20px;
	border-left: 5px solid #FAE8E3 !important;
}
.wp-block-pullquote
{
	padding: 10px 20px;
}

/* img-disp - produktdisplay */
.img-disp h4{
	text-shadow: 2px 2px #eee;
	color: black;
}
.img-disp img{
	transition: transform .5s;
}
.img-disp div:hover img{
	transform: scale(1.1);
}

.no-bullet li { list-style-type: none; }
.service_points_map {display: none;}

/* mailpoet - form i posts */
.mailpoet_form_below_posts form {
	padding: 0 !important;
	width: 50% !important;
}
@media (max-width:782px){
	.mailpoet_form_below_posts form {
		width: 100% !important;
	}
}
/* kommentarer i posts */
.comment-respond {
	padding: 0 !important;
	border: 0 !important;
}

.comment-reply-title {
	font-size: 2rem !important;
	font-weight: 600 !important;
	font-family: 'Montserrat', sans-serif !important;
	line-height: 1.3em !important;
}

@media (max-width:782px){
	.comment-reply-title {
		font-size: 1.53rem !important;
	}
}
