/* Hermes II – handlekurv-ikon i headeren */
.hii-cart-item { display: flex; align-items: center; }

.hii-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #283c8c;            /* dyp blå, matcher menyen */
	padding: 0 0.4em;
	line-height: 1;
}
.hii-cart:hover { color: #c0322a; }   /* rød ved hover */

.hii-cart-ico { display: block; }

.hii-cart-count {
	position: absolute;
	top: -6px;
	right: -4px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: #c0322a;       /* rød CTA */
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	box-sizing: border-box;
}
.hii-cart-count.hii-empty { display: none; }

/* I mobil-nedtrekksmenyen: vis ikon med tekst-bredde, venstrejustert */
nav.elementor-nav-menu--dropdown .hii-cart-item .hii-cart {
	justify-content: flex-start;
	padding: 0.6em 1em;
	width: 100%;
}

/* === Mini-handlekurv (skuff) ============================================= */
.hii-drawer-backdrop{
	position:fixed; inset:0; background:rgba(28,43,51,.5); z-index:99998;
	opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.hii-drawer-backdrop.is-open{ opacity:1; visibility:visible; }
.hii-drawer{
	position:fixed; top:0; right:0; height:100%; width:384px; max-width:90vw; z-index:99999;
	background:#fff; box-shadow:-12px 0 44px rgba(20,30,60,.18);
	transform:translateX(100%); visibility:hidden;
	transition:transform .3s cubic-bezier(.3,.7,.3,1), visibility .3s ease;
	display:flex; flex-direction:column;
}
.hii-drawer.is-open{ transform:none; visibility:visible; }
.hii-drawer__head{
	display:flex; align-items:center; justify-content:space-between;
	padding:22px 24px; border-bottom:1px solid #ece7e0; flex:0 0 auto;
}
.hii-drawer__title{
	font-family:"gin","Times New Roman",serif; font-weight:900; text-transform:uppercase;
	letter-spacing:.02em; color:#283c8c; font-size:1.3rem;
}
.hii-drawer__close{
	background:none; border:0; font-size:26px; line-height:1; color:#6b7a82; cursor:pointer;
	width:34px; height:34px; border-radius:50%; padding:0;
}
.hii-drawer__close:hover{ color:#1c2b33; background:#f4f2ec; }
.hii-drawer__body{ flex:1 1 auto; overflow-y:auto; padding:6px 24px 24px; }

/* WC mini-cart i skuffen, brand-stylet */
.hii-drawer .woocommerce-mini-cart{ list-style:none; margin:0; padding:0; }
.hii-drawer .woocommerce-mini-cart__empty-message{
	color:#6b7a82; font-family:"Cormorant Garamond","Georgia",serif; font-size:1.15rem; padding:26px 0;
}
.hii-drawer li.woocommerce-mini-cart-item{
	display:flex; align-items:center; gap:0; padding:16px 22px 16px 0;
	border-bottom:1px solid #f0ece5; position:relative;
}
/* Stort produktbilde helt til venstre */
.hii-drawer li.woocommerce-mini-cart-item img{
	width:64px !important; height:80px !important; object-fit:cover; border-radius:3px;
	margin:0; float:none; flex:none;
}
/* Bilde + navn i samme lenke -> gjør lenka til flex (bilde venstre, navn etter) */
.hii-drawer li.woocommerce-mini-cart-item a:not(.remove){
	display:flex; align-items:center; gap:14px; flex:1 1 auto; min-width:0;
	color:#1c2b33; text-decoration:none; font-family:"Cormorant Garamond","Georgia",serif;
	font-size:1.12rem; line-height:1.3;
}
/* Pris høyrestilt, dyttes helt til høyre av flex:1 på lenka over */
.hii-drawer .woocommerce-mini-cart-item .quantity{
	flex:none; margin-left:14px; text-align:right; white-space:nowrap;
	color:#1c2b33; font-family:"freight-sans-pro",-apple-system,"Helvetica Neue",Arial,sans-serif; font-size:.9rem; font-weight:600; letter-spacing:.01em;
}
/* Evt. variantinfo (f.eks. Størrelse) under navnet */
.hii-drawer li.woocommerce-mini-cart-item dl.variation{ margin:3px 0 0; font-size:11px; color:#6b7a82; }
.hii-drawer a.remove{
	position:absolute; top:14px; right:0; color:#b3b6ac !important; font-size:16px; line-height:1; background:none !important;
}
.hii-drawer a.remove:hover{ color:#c0322a !important; background:none !important; }
.hii-drawer .woocommerce-mini-cart__total{
	display:flex; justify-content:space-between; align-items:center; padding:18px 0 14px; margin-top:6px;
	border-top:1px solid #ece7e0; font-family:"freight-sans-pro","Arial",sans-serif; text-transform:uppercase;
	letter-spacing:.08em; font-size:12px; color:#1c2b33;
}
.hii-drawer .woocommerce-mini-cart__total strong{ font-weight:600; }
.hii-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount{
	font-family:"freight-sans-pro",-apple-system,"Helvetica Neue",Arial,sans-serif; font-size:1.15rem; font-weight:700; letter-spacing:.01em; text-transform:none;
}
.hii-drawer .woocommerce-mini-cart__buttons{ display:flex; flex-direction:column; gap:10px; margin:8px 0 0; padding:0; }
.hii-drawer .woocommerce-mini-cart__buttons a{
	display:block; text-align:center; padding:1em; border-radius:5px; text-decoration:none; margin:0;
	font-family:"freight-sans-pro","Arial",sans-serif; font-weight:600; letter-spacing:.08em; text-transform:uppercase; font-size:12px;
}
.hii-drawer .woocommerce-mini-cart__buttons a.button:not(.checkout){ background:#fff; color:#283c8c; border:1.5px solid #283c8c; }
.hii-drawer .woocommerce-mini-cart__buttons a.checkout{ background:#c0322a; color:#fff; border:0; }
.hii-drawer .woocommerce-mini-cart__buttons a.checkout:hover{ background:#a52a23; }
@media (max-width:480px){ .hii-drawer{ width:100%; } }
