@charset "utf-8";

:root {
  --bg-color: #ECE2EC;
  --bg-color-dark: #E3D4E3;
  --bg-color-light: #F1E9F1;
  --font-color: #1E202B;
  --white: #FFF;
  --main-clr: #A26FA2;
  --second-clr: #A78300;
  --gray: #9D9C9C;
	
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-7: 80px;
	
  --fs-default: 16px;
  --fs-mini: 0.8em;
  --fs-small: 1.25em;
  --fs-medium: 1.5em;
  --fs-big: 1.75em;
	
  --head-height: 150px;
  --radius: 6px;
  --radius-maxi: 42px;
}

@font-face { font-family: "Basic-Regular"; src: url("../fonts/Poppins/Poppins-Regular.ttf"); }
@font-face { font-family: "Basic-Medium"; src: url("../fonts/Poppins/Poppins-Medium.ttf"); }
@font-face { font-family: "Basic-SemiBold"; src: url("../fonts/Poppins/Poppins-SemiBold.ttf"); }
@font-face { font-family: "Special-Regular"; src: url("../fonts/SquarePeg/SquarePeg-Regular.ttf"); }
@font-face { font-family: "Exo-Regular"; src: url("../fonts/Exo2/Exo2-Light.ttf"); }
@font-face { font-family: "Joan-Regular"; src: url("../fonts/Joan/Joan-Regular.ttf"); }

/* CSS Document */
html, body { height: 100%; }
body { padding: 0; margin: 0; color: var(--font-color); font-family: 'Basic-Regular', sans-serif; font-size: var(--fs-default); background: var(--bg-color); }

/*body>div.packet { height: auto; }*/
*, :after, :before { box-sizing: border-box; }

/* -------- BASIC CSS -------- */
h1, h2, h3, h4 { font-family: 'Basic-Medium', sans-serif; font-weight: normal; color: var(--main-clr); }
h5, h6 { font-family: 'Basic-Medium', sans-serif; font-weight: normal; }
h1 { font-size: 3.25em; margin: 0 0 var(--space-2); padding: 0; }
h2 { font-size: 3em; margin: 0 0 var(--space-2) 0; padding: 0; }
h3 { font-size: 1.75em; margin: var(--space-2) 0 var(--space-1) 0; padding: 0; }
h4 { font-size: 1.15em; padding: 0; margin: var(--space-3) 0 var(--space-2) 0; text-transform: uppercase; }
h5 { font-size: 1em; padding: 0; margin: var(--space-1) 0; }
h6 { font-size: var(--fs-default) }

p { font-size: var(--fs-small); line-height: 1.5em; padding: 0; margin: var(--space-3) 0; }

a { color: var(--font-color); text-decoration: underline; }
a:hover, .button:hover { text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none;  }

img { max-width: 100%; }
iframe { width: 100% !important; }

button { cursor: pointer; border: none; background: var(--main-clr); color: var(--white); font-family: 'Basic-Medium', sans-serif; font-size: var(--fs-small); transition: 0.4s all ease; padding: var(--space-3) var(--space-4); }
button:hover { background: var(--bg-color-dark); color: var(--font-color); }
.button { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); text-decoration: none; color: var(--main-clr); background-color: var(--second-clr); border-radius: var(--radius); font-family: 'Basic-Medium', sans-serif; text-transform: uppercase; transition: background-color .3s ease; }

.cleaner { clear: left; }
.align-center { text-align: center; }
.align-right { text-align: right; width: 100%; }
.noscroll { overflow: hidden; touch-action: none; }
.desktop-hide { display: none; }
.without-spaces { padding: 0 !important; }

.light-bcg { background-color: var(--bg-color-light); }
.dark-bcg { background-color: var(--bg-color-dark); padding: var(--space-5) 0; }
.bigger { font-size: var(--fs-small); }

.breadcrumbs { font-size: var(--fs-mini); margin-bottom: var(--space-4); }

.table-wrapper { width: 100%; overflow-x: auto; }

.special-text { color: var(--white); font-family: 'Special-Regular', sans-serif; font-size: 2.5em; }

/* -------- LAYOUT -------- */
.packet { min-height: 100vh; display: flex; flex-direction: column; position: relative; margin: 0; padding: 0; }
main { flex: 1; }

.content { position: relative; width: 100%; min-height: 200px; margin: 0; padding: 0; }
.wrapper-in, .content-in, .footer-in { box-sizing: border-box; max-width: 1280px; min-height: 10px; margin: 0 auto; padding: 0 var(--space-3);  }
.wrapper-in { position: relative; padding-top: var(--space-6); padding-bottom: var(--space-5); }

.bg-content { position: relative; z-index: 0; padding-bottom: 386px; }
.bg-content::before { content: ""; position: absolute; opacity: 0.75; inset: auto 0 0 0; height: 520px; background: url("../img/bg-crystals.jpg") center bottom / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%), linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%), linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; z-index: -1; }

/* -------- FOOTER -------- */
footer { width: 100%; background: var(--bg-color); }
.footer-nav, .footer-nav a { color: var(--main-clr); }
.footer-nav { padding: var(--space-5) 0 var(--space-2) 0; }
.footer-copy { display: flex; font-size: var(--fs-mini); align-items: center; justify-content: center; margin: var(--space-3) 0; }

/* -------- HEAD & MENU -------- */
header { position: sticky; top: 0; width: 100%; height: var(--head-height); box-sizing: border-box; z-index: 1000; background-color: var(--bg-color-dark);  }
.head-content { max-width: 1280px; display: flex; align-items: center; flex-direction: row; margin: 0 auto; padding: 0 var(--space-3); height: 112px; }

.topbar { height: 38px; background: var(--main-clr); color: var(--white); font-size: var(--fs-mini); }
.topbar .container { max-width: 1280px; margin: auto; padding: 0 var(--space-3); height: 100%; display: flex; align-items: center; }
.topbar-left { flex: 1; }
.topbar-contact { display: flex; align-items: center; justify-content: center; gap: var(--space-3); }
.topbar-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: var(--space-4); }
.topbar a { color: var(--white) !important; }
.topbar a:hover { text-decoration: underline !important; }

.phone, .email, .open { display: inline-flex; align-items: center; gap: var(--space-2); }
.phone::before, .email::before, .open::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background-color: currentColor; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; mask-repeat: no-repeat; mask-position: center; mask-size: contain; }
.phone::before { -webkit-mask-image: url("../ico/phone.svg"); mask-image: url("../ico/phone.svg"); }
.email::before { -webkit-mask-image: url("../ico/email.svg"); mask-image: url("../ico/email.svg"); }
.open::before { -webkit-mask-image: url("../ico/open.svg"); mask-image: url("../ico/open.svg"); }

.cart { position: relative; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cart img, .second-nav img { display: block; width: 24px; height: 24px; }
.cart-count { position: absolute; top: -4px; right: -6px; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #26A739; color: var(--white); font-size: 10px; line-height: 1; font-family: 'Basic-Medium', sans-serif; }

.lang-bar, .second-nav { position: relative; }
.lang-menu-dropdown, .second-menu-dropdown { display: none; position: absolute; top: 31px; z-index: 100; padding: var(--space-2) var(--space-1); }
.lang-menu-dropdown { background: var(--bg-color-light); width: 60px; right: 0; }
.second-menu-dropdown { background: var(--bg-color-light); right: 0; width: 192px; color: var(--main-clr); }
.current-value { display: flex; align-items: center; cursor: pointer; justify-content: flex-end; }
.lang-menu-dropdown a { display: block; width: 100%; text-align: center; margin: var(--space-2) 0; }
.lang-menu-dropdown a img, .lang-flag img { height: 18px; width: auto; vertical-align: middle; }
.second-menu-dropdown ul { margin-bottom: var(--space-3); }
.second-menu-dropdown a { color: var(--main-clr) !important; }
.second-nav h5, .nav-mobile h5 { text-transform: uppercase; }

header a, .footer-nav a { text-decoration: none; }
header a:hover, .footer-nav a:hover { text-decoration: underline; }

.logo { flex: 0 0 360px; }
.menu { flex: 0 0 auto; }

.logo a { display: inline-block; transition: transform .3s ease; }
.logo a:hover { transform: scale(1.05); }
.logo img { display: block; height: 60px; width: auto; user-select: none; -webkit-user-drag: none; -webkit-user-select: none; }

nav { display: block; margin: 0; padding: 0; width: 100%; } 
.nav-desktop ul { display: flex; column-gap: var(--space-4); }
.nav-desktop ul li { display: inline-flex; align-items: center; font-family: 'Basic-Medium', sans-serif; } 
.nav-desktop ul li::before { content: ""; width: 35px; height: 35px; margin-right: 8px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; }
.nav-desktop ul li a, .nav-mobile nav ul li a { color: var(--main-clr); }

.nav-desktop .nav-small::before { background-image: url("../ico/candle-small.svg"); }
.nav-desktop .nav-medium::before { background-image: url("../ico/candle-medium.svg"); }
.nav-desktop .nav-large::before { background-image: url("../ico/candle-large.svg"); }
.nav-desktop .nav-harmony::before { background-image: url("../ico/candle-harmony.svg"); }

@media screen and (min-width: 981px) {
	.nav-buttons-mobile, .nav-mobile { display: none !important; }
}

/* -------- HERO -------- */
.hero-hp { background: url("../img/hero.jpg"); aspect-ratio: 3 / 1; }
.hero-bovis { background: url("../img/bovis.jpg"); height: 800px; }

.hero { position: relative; overflow: visible; width: 100%; display: flex; align-items: center; background-repeat: no-repeat !important; background-size: cover !important; background-position: center !important; }
.hero .wrapper-in { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; height: 100%; }
.hero-in { flex: 0 0 50%; color: var(--font-color); text-align: center; }
.hero-in img { width: 80%; }
.hero h1 { color: var(--font-color); font-size: var(--fs-big); margin: var(--space-1) 0 var(--space-2) 0; }

/* -------- HP -------- */
.services { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr 1px 1fr; align-items: start; }
.service { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--space-3); } 
.service img { height: 62px; width: auto; }
.service p { font-size: var(--fs-mini); margin: 0 !important; }
.divider { margin-top: 80px; width: 0; border-left: 1px solid var(--main-clr); height: 110px; justify-self: center; }

/* -------- PRODUKTY -------- */
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-4); }
.product-list-item { display: flex; flex-direction: column; }
.product-list-image { display: block; overflow: hidden; aspect-ratio: 1 / 1.25; }
.product-list-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-list-item:hover .product-list-image img { transform: scale(1.05); }
.product-list-info { margin-top: var(--space-2); }
.product-list-top { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: var(--fs-small); color: var(--main-clr); font-family: 'Basic-SemiBold', sans-serif; }
.detail { font-size: var(--fs-mini); }

.main-img { width: 80%; height: auto; }
.product-info h2 { font-size: var(--fs-medium); }
.product-code { color: var(--gray); }
.product-properties { margin: var(--space-4) 0 var(--space-5) 0; }
.product-properties p { font-size: var(--fs-default); line-height: 1.75em; }
.product-price { color: var(--main-clr); font-family: 'Basic-SemiBold', sans-serif; font-size: var(--fs-big); }

.buy-form { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.qty { position: relative; width: 96px; height: 63px; border: 1px solid var(--main-clr); display: flex; align-items: center; justify-content: center; }
.qty input[type="number"] { width: 40px; font-size: 1.1em; outline: none; border: none; background: transparent; -moz-appearance: textfield; }
.qty input[type="number"]::-webkit-outer-spin-button, .qty input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"] { -moz-appearance: textfield; }
.qty-btn { position: absolute; right: 14px; width: 22px; height: 22px; padding: 0; cursor: pointer; border: none; background-color: var(--main-clr); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.qty-up { top: 4px; -webkit-mask-image: url("../ico/arrow_up.svg"); mask-image: url("../ico/arrow_up.svg"); }
.qty-down { bottom: 4px; -webkit-mask-image: url("../ico/arrow_down.svg"); mask-image: url("../ico/arrow_down.svg"); }
.qty-btn:hover { background-color: var(--gray); }
.qty-btn.disabled { background-color: var(--gray) !important; cursor: default; pointer-events: none; }

.other-product-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); width: 80%; margin-top: var(--space-3); }

/* -------- PAGE -------- */
.editor-content ul { font-size: var(--fs-small); }
.editor-content ul li { background-image: url(../ico/dot.svg); padding-left: var(--space-4); padding-bottom: var(--space-2); background-repeat: no-repeat; background-position: left 10px; background-size: 10px auto; }

.editor-content table { border-collapse: collapse; width: 100%; }
.editor-content table tr td { border-bottom: 1px solid var(--main-clr); padding: var(--space-3) var(--space-2); }
.editor-content table .td-item { width: 30%; font-family: 'Basic-Medium', sans-serif; }

/* -------- PAGES -------- */
.without-spaces .grid-50 { margin-bottom: 0; }
.about .special-text { color: var(--main-clr); margin-top: var(--space-3); }
.about h3 { color: var(--font-color); margin-top: 0 !important; }

.citation { max-width: 820px; margin: 0 auto; font-family: 'Joan-Regular', sans-serif; font-size: var(--fs-big); }
.citation-author { font-family: 'Exo-Regular', sans-serif; text-transform: uppercase; margin-top: var(--space-5); letter-spacing: 3px; }
.quote-ico { height: 90px; width: auto; margin-bottom: var(--space-3); }

.contact-address img { max-height: 130px; width: auto; }
.contact-info { border-top: 1px solid var(--main-clr); margin: var(--space-4) 0 var(--space-6) 0; padding: var(--space-4) 0 var(--space-6) 0; }
.contact-info .phone::before, .contact-info .email::before, .contact-info .open::before { background-color: var(--main-clr); }
.contact-info .phone, .contact-info .email, .contact-info .open { font-family: 'Basic-Medium', sans-serif; }

.contact-form, .contact-address { max-width: 600px; }
.contact-form label { display: block; margin: var(--space-3) 0 var(--space-1) 0; }
.contact-form input, textarea { width: 100%; padding: var(--space-2); background: var(--bg-color-light); border: 1px solid var(--main-clr); font-size: 0.9em; }
.contact-form input:focus, .contact-form textarea:focus { outline: none !important; }
.contact-form .align-right { margin-top: var(--space-3); }

/* -------- GRIDS -------- */
.grid-50, .grid-25, .grid-33, .grid-about { display: grid; margin-bottom: var(--space-5); }
.grid-50 { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); row-gap: var(--space-2); }
.grid-25 { grid-template-columns: repeat(4, 1fr); column-gap: 2%; row-gap: 1.25em; }
.grid-33 { grid-template-columns: repeat(3, 1fr); column-gap: 2%; row-gap: 1.25em; }
.grid-about { margin-top: var(--space-6); grid-template-columns: repeat(6, 1fr); gap: var(--space-2); }

/* -------- ALERST -------- */
.alert-success, .alert-warning { width: 100%; padding: 10px 15px; margin-bottom: 16px; }
.alert-success { background: #e9f6d8; color: var(--font-color); }
.alert-warning { background: #f6d8d8; color: var(--font-color); }

/* -------- RESPONSIVITY -------- */
@media screen and (max-width: 1150px) {
	.logo { flex: 0 0 240px; }
	.logo img { height: 42px; }
	.nav-desktop ul { column-gap: var(--space-3); }
}

@media screen and (max-width: 1024px) {
	.topbar-left { display: none; }
	
	.service h4 { font-size: var(--fs-default); }
	.service img { height: 36px; width: auto; }
	
	.product-price { flex: 0 0 100%; }
}

@media screen and (max-width: 980px) {
	:root {
		--head-height: 100px;
	}
	
	header { height: var(--head-height); }
	.head-content { height: 62px; }
	
	.logo { flex: 0 0 200px; }
	.logo img { height: 36px; }
	.menu { flex: 1; display: flex; justify-content: flex-end; }
	
	.nav-desktop, .second-nav, .nav-mobile { display: none; }
	
	.nav-buttons-mobile a { height: 62px; width: 40px; }
	.nav-buttons-mobile a span { display: none; }
	.ico-menu { display: block; background: url("../ico/menu.svg"); }
	.ico-menu-close { background: url("../ico/close.svg"); display: none; }
	.ico-menu, .ico-menu-close { content: ""; background-repeat: no-repeat; background-size: auto 40px; background-position: right center; cursor: pointer; }
	
	.nav-mobile { position: fixed; left: 0; right: 0; top: var(--head-height); bottom: 0; background-color: rgba(0, 0, 0, .8); z-index: 500; inset: var(--head-height) 0 0 0; }
	.nav-mobile nav { position: absolute; top: 0; right: 0; width: 0; bottom: 0; background-color: var(--bg-color); padding: var(--space-3) var(--space-3); line-height: 1.75em; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
	.nav-mobile nav ul li { display: block; } 
	.nav-mobile h5 { margin-top: var(--space-4); color: var(--main-clr); }
	
	.grid-33 { grid-template-columns: 1fr; column-gap: 0; }
	.grid-about { grid-template-columns: repeat(3, 1fr); }
	
	.services { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-4); }
    .divider { display: none; } 
}

@media screen and (max-width: 860px) {
	h1 { font-size: 2.5em; }
	h2 { font-size: 2.25em; }
	
	.hero-bovis { background: url("../img/bovis-mobile.jpg"); height: 500px; }
	.hero-bovis .hero-in { display: none; }
	.desktop-hide { display: block; }
	
	.product-list { grid-template-columns: repeat(2, 1fr); }	
	.grid-25 { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 680px) {
	.hero-hp { background: url("../img/hero-mobile.jpg"); align-items: flex-start; aspect-ratio: inherit; height: 800px; }
	.hero .wrapper-in { height: 50%; }
	.hero-in { flex: 0 0 100%; }
	
	.topbar-contact { display: none; }
	
	.services { grid-template-columns: repeat(2, 1fr); }
	.service img { height: 48px; }
	.grid-50 { grid-template-columns: 1fr; column-gap: 0; }
	
	.about { padding: 0 var(--space-3); }
	.product-info h2 { margin-top: var(--space-2); }
}

@media screen and (max-width: 480px) {
	.logo { flex: 0 0 130px; }
	.logo img { height: 24px; }
	
	.services { grid-template-columns: 1fr; }
	.service img { height: 32px; }
	.product-list { grid-template-columns: 1fr; }
	.grid-25 { grid-template-columns: 1fr; column-gap: 0; }
	.grid-about { grid-template-columns: repeat(2, 1fr); }
	
	.main-img, .other-product-images { width: 100%; }
}