/*
 * Produktsidan i nya stilen (otaifa-produktsida).
 * Marinblått #0B1F4B, guld #E0B94F/#A67C1A, Hanken Grotesk, pillerformade knappar (999px, ägarbeslut 2026-11-20), 8 px kort.
 * Allt ligger under .ops så att inget annat på sajten påverkas.
 */
.ops {
	--natt: #0B1F4B; --guld: #A67C1A; --ljus: #E0B94F; --is: #F4F7FC; --sten: #DCE3F0; --gra: #55607A; --ink: #0B1220;
	--ops-dest: #E0B94F;
	font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: #3a4560; font-size: 15px; line-height: 1.55;
}
.ops *, .ops *::before, .ops *::after { box-sizing: border-box; }
.ops .ops-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ops h1, .ops h2, .ops h3 { font-family: inherit !important; text-transform: none !important; letter-spacing: -.01em !important; color: var(--natt); }
.ops a { color: var(--natt); }
.ops img { max-width: 100%; height: auto; }

/* Knappar (egna, inte temats): pillerform som chipsen på startsidan */
.ops .ops-k {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
	border-radius: 999px !important; border: 2px solid var(--natt) !important; background: var(--natt) !important; color: #fff !important;
	font: 700 15px/1.2 "Hanken Grotesk", system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
	text-decoration: none !important; cursor: pointer; box-shadow: none !important; transition: background .15s, color .15s;
}
.ops .ops-k:hover { background: #142c63 !important; border-color: #142c63 !important; color: #fff !important; }
.ops .ops-k.ops-k-ljus { background: #fff !important; color: var(--natt) !important; }
.ops .ops-k.ops-k-ljus:hover { background: var(--is) !important; color: var(--natt) !important; }
.ops .ops-k.ops-k-guld { background: var(--ljus) !important; border-color: var(--ljus) !important; color: var(--natt) !important; }
.ops .ops-k.ops-k-guld:hover { background: #ecc967 !important; border-color: #ecc967 !important; color: var(--natt) !important; }
.ops .ops-k:focus-visible, .ops button:focus-visible, .ops a:focus-visible { outline: 3px solid var(--ljus); outline-offset: 2px; }

/* 1. Doftband */
.ops .ops-band { background: var(--natt); color: #fff; border-left: 8px solid var(--ops-dest); }
.ops .ops-band-in { display: flex; align-items: center; gap: 24px; min-height: 92px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.ops .ops-dest span { display: block; font-size: 14px; color: rgba(255, 255, 255, .8) !important; }
.ops .ops-dest b { display: block; font-size: 30px; line-height: 1.05; font-weight: 800; font-style: italic; color: #fff; }
.ops .ops-bandtext { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85) !important; max-width: 420px; }
.ops .ops-smulor { margin-left: auto; font-size: 13px; opacity: .85; }
.ops .ops-smulor a { color: #fff !important; text-decoration: none; }
.ops .ops-smulor a:hover { text-decoration: underline; color: var(--ljus) !important; }

/* 2. Köpdelen */
.ops .ops-topp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding-top: 32px; padding-bottom: 36px; }
.ops .ops-bild { background: var(--is); border-radius: 8px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ops .ops-bild img { max-width: 86%; max-height: 92%; width: auto; height: auto; object-fit: contain; }
.ops .ops-tummar { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ops .ops-tumme { width: 68px; height: 68px; padding: 4px; border-radius: 8px !important; background: var(--is) !important; border: 1px solid var(--sten) !important; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 0; }
.ops .ops-tumme.on { border: 2px solid var(--natt) !important; }
.ops .ops-tumme img { max-height: 100%; width: auto; }
.ops .ops-tagg { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--is); color: var(--natt); }
.ops .ops-titel { font-size: 34px !important; line-height: 1.15 !important; margin: 8px 0 10px !important; font-weight: 800 !important; }
.ops .ops-lead { margin: 0 0 18px; }
.ops .ops-lbl { font-size: 13px; font-weight: 700; color: var(--natt); margin: 0 0 8px; }
.ops .ops-format { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ops .ops-fmt { border: 1px solid var(--sten); border-radius: 999px; padding: 9px 18px; text-decoration: none !important; text-align: center; font-weight: 700; font-size: 14px; color: var(--natt) !important; background: #fff; }
.ops .ops-fmt small { display: none; }
.ops a.ops-fmt:hover { border-color: var(--natt); }
.ops .ops-fmt.on { border-color: var(--natt); background: var(--natt); color: #fff !important; }

.ops .ops-kop { border: 1px solid var(--sten); border-radius: 8px; padding: 18px; background: #fff; }
.ops .ops-pris { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ops .ops-pris b, .ops .ops-pris b .amount { font-size: 30px; color: var(--natt); font-weight: 800; }
.ops .ops-pris > span { color: var(--gra); font-size: 13px; }
.ops .ops-kop form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 6px !important; }
.ops .ops-kop form.cart .quantity { margin: 0 !important; }
.ops .ops-kop form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 46px; }
/* Temats köpknapp i köprutan: pillerform även om temats stil säger 2 px */
body.ops-sida .ops .ops-kop :is(.single_add_to_cart_button, .button, button[type="submit"]) { border-radius: 999px !important; }
/* Skapa offert (otaifa-b2b): sekundär pillerknapp. #ops-kop behövs för att slå tema.css (:is(#place_order …):not():not() ger 1,4,1; denna ger 1,4,2). */
html body.ops-sida .ops #ops-kop .ob2b-offertknapp.ob2b-offertknapp {
	display: inline-flex !important; align-items: center; justify-content: center; flex: 0 1 auto; min-height: 46px; margin: 0 !important;
	padding: 10px 20px !important; border-radius: 999px !important; border: 2px solid var(--natt) !important;
	background: #fff !important; color: var(--natt) !important; font-weight: 600; text-decoration: none !important; box-shadow: none !important;
}
html body.ops-sida .ops #ops-kop .ob2b-offertknapp.ob2b-offertknapp:hover { background: var(--is) !important; color: var(--natt) !important; }
.ops .ops-offert { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sten); }
.ops .ops-offert p { margin: 0 0 8px; font-size: 14px; }
.ops .ops-offert form { margin: 0 !important; }
.ops .ops-kop form.variations_form, .ops .ops-kop form.cart table { width: 100%; }
.ops .ops-summa { margin: 6px 0 0; font-size: 13px; color: var(--gra); }
.ops .ops-summa b { color: var(--natt); }
.ops .ops-ut { background: var(--is); border-left: 4px solid var(--ljus); border-radius: 8px; padding: 14px 16px; }
.ops .ops-ut b { color: var(--natt); font-size: 16px; }
.ops .ops-ut p { margin: 4px 0 10px; font-size: 14px; }
.ops .ops-knappar { display: flex; gap: 8px; flex-wrap: wrap; }
.ops .ops-usp { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; }
.ops .ops-usp li { margin: 0; }
.ops .ops-usp li::before { content: "✓ "; color: var(--guld); font-weight: 800; }

/* Sektioner */
.ops .ops-sek { padding: 40px 0; border-top: 1px solid var(--sten); }
.ops .ops-sek h2 { font-size: 26px !important; margin: 0 0 6px !important; font-weight: 800 !important; }
.ops .ops-sub { margin: 0 0 20px; color: var(--gra); }

/* 3. Displayer */
.ops .ops-dg { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ops .ops-dc { border: 1px solid var(--sten); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.ops .ops-di { background: var(--is); height: 210px; display: flex; align-items: center; justify-content: center; }
.ops .ops-di img { max-height: 190px; max-width: 90%; width: auto; object-fit: contain; }
.ops .ops-dt { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ops .ops-ok { color: #2e7d32; font-weight: 700; font-size: 13px; }
.ops .ops-dn { font-weight: 800; color: var(--natt); font-size: 17px; }
.ops .ops-ds { font-size: 13px; color: var(--gra); }
.ops .ops-ds b { color: var(--natt); }
.ops .ops-dt .ops-k { margin-top: auto; }
.ops .ops-dt .ops-ds + .ops-k { margin-top: 12px; }
.ops .ops-bygg { margin-top: 18px; display: flex; align-items: center; gap: 16px; background: var(--natt); color: #fff; border-radius: 8px; padding: 18px 20px; flex-wrap: wrap; }
.ops .ops-bygg p { margin: 0; flex: 1; min-width: 220px; color: rgba(255, 255, 255, .85) !important; }
.ops .ops-bygg b { font-size: 18px; color: #fff; }

/* 4. Flikar och doftpanel */
.ops .ops-infogrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.ops .ops-infogrid.ops-utan-panel { grid-template-columns: 1fr; }
.ops .ops-flikrad { display: flex; gap: 4px; border-bottom: 1px solid var(--sten); margin-bottom: 16px; flex-wrap: wrap; }
.ops .ops-flikrad button {
	background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; padding: 10px 14px; min-height: 0;
	font: 700 15px/1.2 "Hanken Grotesk", system-ui, sans-serif !important; color: var(--gra) !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
.ops .ops-flikrad button[aria-selected="true"] { color: var(--natt) !important; border-bottom-color: var(--ljus) !important; }
.ops .ops-flik { display: none; }
.ops .ops-flik.on { display: block; }
.ops .ops-fliktitel { display: none; }
.ops .ops-flikinnehall > :first-child { margin-top: 0; }
.ops .ops-noter, .ops .ops-specar { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 14px 0 0; font-size: 14px; }
.ops .ops-noter dt, .ops .ops-specar dt { color: var(--gra); font-weight: 500; }
.ops .ops-noter dd, .ops .ops-specar dd { margin: 0; color: var(--natt); font-weight: 600; }
.ops .ops-lista { margin: 0 0 12px; padding-left: 20px; }
.ops .ops-panel { border: 1px solid var(--sten); border-radius: 8px; overflow: hidden; background: #fff; }
.ops .ops-panelbild { height: 160px; background: var(--natt) center / cover no-repeat; position: relative; }
.ops .ops-panelbild span { position: absolute; left: 16px; bottom: 12px; color: #fff; font-weight: 800; font-size: 22px; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.ops .ops-panelin { padding: 16px 18px 18px; }
.ops .ops-hjarta { margin: 0 0 14px; }
.ops .ops-stapel { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; margin: 7px 0; }
.ops .ops-stapel i { display: block; height: 8px; border-radius: 8px; background: var(--is); overflow: hidden; }
.ops .ops-stapel em { display: block; height: 100%; background: var(--ljus); border-radius: 8px; }
.ops .ops-panellank { margin: 14px 0 0; font-size: 14px; }

/* 5. Frågor */
.ops .ops-faq details { border-bottom: 1px solid var(--sten); padding: 14px 0; }
.ops .ops-faq summary { font-weight: 700; color: var(--natt); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ops .ops-faq summary::-webkit-details-marker { display: none; }
.ops .ops-faq summary::after { content: "+"; color: var(--guld); font-weight: 800; font-size: 18px; line-height: 1; }
.ops .ops-faq details[open] summary::after { content: "–"; }
.ops .ops-faq details p { margin: 8px 0 0; }

/* 6. Fler format / fler produkter */
.ops .ops-pg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ops .ops-pc { border: 1px solid var(--sten); border-radius: 8px; overflow: hidden; text-decoration: none !important; background: #fff; display: flex; flex-direction: column; }
.ops .ops-pc:hover { border-color: var(--natt); }
.ops .ops-pcbild { background: var(--is); height: 170px; display: flex; align-items: center; justify-content: center; }
.ops .ops-pcbild img { max-height: 150px; max-width: 80%; width: auto; object-fit: contain; }
.ops .ops-pcnamn { padding: 10px 12px; font-weight: 700; color: var(--natt); font-size: 14px; }
.ops .ops-pcnamn small { display: block; font-weight: 500; color: var(--gra); }

/* Klistrad köpknapp (bara mobil) */
.ops .ops-fast { display: none; }

/* Bygg din display i helskärm */
#ops-ov { position: fixed; inset: 0; z-index: 100000; background: #fff; display: flex; flex-direction: column; }
#ops-ov[hidden] { display: none; }
#ops-ov .ops-ovbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #0B1F4B; color: #fff; font: 700 16px/1.2 "Hanken Grotesk", system-ui, sans-serif; }
#ops-ov .ops-ovx { background: #fff; color: #0B1F4B; border: 0; border-radius: 999px; padding: 8px 16px; font: 700 14px/1 "Hanken Grotesk", system-ui, sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0; }
#ops-ov iframe { flex: 1; width: 100%; border: 0; }

/* Doftbandet direkt under sidhuvudet (temat har 40 px luft ovanför innehållet) */
body.ops-sida #main-content { padding-top: 0 !important; }

/* Temats klistrade köpknapp ersätts av vår */
body.ops-sida .wd-sticky-btn { display: none !important; }

/* Mobil */
@media (max-width: 760px) {
	.ops .ops-wrap { padding: 0 16px; }
	.ops .ops-band-in { min-height: 0; gap: 6px 16px; }
	.ops .ops-dest b { font-size: 24px; }
	.ops .ops-bandtext { font-size: 13px; }
	.ops .ops-smulor { display: none; }
	.ops .ops-topp { grid-template-columns: 1fr; gap: 18px; padding-top: 16px; padding-bottom: 24px; }
	.ops .ops-titel { font-size: 26px !important; }
	.ops .ops-usp { grid-template-columns: 1fr; }
	.ops .ops-sek { padding: 28px 0; }
	.ops .ops-sek h2 { font-size: 22px !important; }
	.ops .ops-dg { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; }
	.ops .ops-dc { flex: 0 0 80%; scroll-snap-align: start; }
	.ops .ops-di { height: 180px; }
	.ops .ops-infogrid { grid-template-columns: 1fr; gap: 20px; }
	.ops .ops-flikrad { display: none; }
	.ops .ops-flik { display: block; border: 1px solid var(--sten); border-radius: 8px; margin-bottom: 8px; }
	.ops .ops-fliktitel {
		display: flex; width: 100%; justify-content: space-between; align-items: center; background: none !important; border: 0 !important; border-radius: 0 !important;
		padding: 14px 16px; min-height: 0; font: 700 16px/1.2 "Hanken Grotesk", system-ui, sans-serif !important; color: var(--natt) !important; text-align: left; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
	}
	.ops .ops-fliktitel::after { content: "+"; color: var(--guld); font-weight: 800; font-size: 18px; }
	.ops .ops-fliktitel[aria-expanded="true"]::after { content: "–"; }
	.ops .ops-flikinnehall { display: none; padding: 0 16px 16px; }
	.ops .ops-flik.open .ops-flikinnehall { display: block; }
	.ops .ops-noter, .ops .ops-specar { grid-template-columns: 120px 1fr; }
	.ops .ops-pg { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; }
	.ops .ops-pc { flex: 0 0 46%; }
	.ops .ops-fast:not([hidden]) {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--sten);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -4px 14px rgba(11, 31, 75, .08);
	}
	.ops .ops-fastnamn { font-size: 13px; line-height: 1.3; color: var(--natt); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	.ops .ops-fastnamn b { font-size: 16px; }
	.ops .ops-fast .ops-k { margin-left: auto; flex: 0 0 auto; min-height: 44px; padding: 8px 14px; }
	body.ops-sida { padding-bottom: 70px; }
}
