/*
 Theme Name:   buch.one
 Description:  Child-Theme von GeneratePress für buch.one. Nachbau des bisherigen Kalium-Designs (kalium-child).
 Author:       Ritter & Wagner
 Template:     generatepress
 Version:      0.2.0
 Requires PHP: 7.4
 Text Domain:  buchone
*/

/* ==========================================================================
   Grundlagen: Schrift und Überschriften wie bei Kalium
   ========================================================================== */

body,
button,
input,
select,
textarea {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Ohne die Graustufen-Glättung von GeneratePress (wirkt sonst dünner als bei Kalium) */
body {
	font-size: 15px;
	line-height: 20px;
	color: var(--contrast);
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

/* Blöcke in voller Breite (100vw samt Scrollbalken) erzeugen sonst einen waagrechten Scrollbalken */
html {
	overflow-x: hidden;
}

p {
	margin-bottom: 9.5px;
	color: var(--contrast-2);
}

b,
strong {
	font-weight: 600;
}

/* Größen und Abstände aus Kaliums Bootstrap (h1 wie im kalium-child auf 25 px) */
h1, h2, h3, h4, h5, h6 {
	color: var(--contrast);
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 9.5px;
}

h1, h2, h3 {
	margin-top: 19px;
}

h4, h5, h6 {
	margin-top: 9.5px;
}

h1 { font-size: 25px; }
h2 { font-size: 32px; }
h3 { font-size: 26px; }
h4 { font-size: 19px; }
h5 { font-size: 15px; }
h6 { font-size: 13px; }

/* Titel ohne Abstand nach oben (für Überschriften in Textblöcken siehe css/bloecke.css) */
.entry-title,
.page-title,
.widget-title,
.woocommerce div.product .product_title {
	margin-top: 0;
}

ul,
ol {
	margin: 0 0 9.5px 20px;
}

li {
	color: var(--contrast-2);
}

a:focus {
	color: var(--accent);
}

/* ==========================================================================
   Kopf: Logo, Menü, Warenkorb und Login
   ========================================================================== */

.inside-header {
	position: relative;
}

.main-navigation .main-nav ul li a {
	font-size: 16px;
}

/* Grüne Linie unter dem aktiven bzw. überfahrenen Menüpunkt */
.main-navigation .main-nav > ul > li > a {
	position: relative;
}

.main-navigation .main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	right: 20px;
	bottom: 8px;
	left: 20px;
	height: 1px;
	background-color: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s ease;
}

.main-navigation .main-nav > ul > li > a:hover::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.main-navigation .menu-bar-items {
	align-items: center;
}

.main-navigation .menu-bar-item.account-button > a,
.main-navigation .menu-bar-item.buchone-cart > a {
	display: flex;
	align-items: center;
	padding: 0 0 0 2px;
	line-height: 1;
}

.account-button img {
	width: 34px;
	height: 34px;
}

.buchone-cart > a {
	position: relative;
	margin-right: 14px;
	color: var(--contrast);
}

.buchone-cart__count {
	position: absolute;
	top: -6px;
	right: -10px;
	min-width: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background-color: var(--accent);
	color: var(--base-3);
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}

/* Login-Formular unter dem Konto-Symbol */
#login-popup {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 10001;
	display: none;
	width: 350px;
	max-width: calc(100vw - 30px);
	border: 1px solid var(--base);
	background-color: var(--base-3);
	box-shadow: 4px 4px 0 rgba(238, 238, 238, 0.8);
	text-align: left;
}

#login-popup form > div {
	padding: 5px 15px;
}

#login-popup .login-inputs {
	display: table;
	width: 100%;
}

#login-popup .login-inputs > label {
	display: table-row;
}

#login-popup .login-inputs > label > span {
	display: table-cell;
	padding: 5px;
}

#login-popup .login-inputs input {
	width: 100%;
}

#login-popup .buttons {
	display: flex;
	justify-content: space-between;
	padding: 10px 15px;
	border-top: 1px solid var(--base);
}

#login-popup .buttons .button {
	height: auto;
	padding: 10px 20px;
	font-size: 15px;
	line-height: 20px;
}

/* Hinweisbanner aus dem Shop-Plugin */
.green-banner {
	background-color: var(--accent);
	color: var(--base-3);
	line-height: 1.1;
}

.green-banner p {
	margin: 9.5px 0;
	color: var(--base-3);
	text-align: center;
}

/* Menü-Schalter mobil: nur das Symbol, ohne Fläche, schwarz und 24 px breit wie bei Kalium
   (drei Striche, je gut 2 px stark) */
.main-navigation .menu-toggle,
.main-navigation.mobile-menu-control-wrapper .menu-toggle,
.main-navigation.mobile-menu-control-wrapper .menu-toggle:hover,
.main-navigation.mobile-menu-control-wrapper .menu-toggle:focus {
	background-color: transparent;
	color: #000000;
}

/* top: auf die Mitte des Login-Symbols daneben ausgerichtet */
.main-navigation .menu-toggle .gp-icon svg {
	top: 7px;
	width: 24px;
	height: 24px;
}

.menu-toggle .mobile-menu {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Inhalt
   ========================================================================== */

/* Seiten enden wie bei Kalium ohne eigenen Abstand vor dem Fuß, die letzten Zeilen bringen ihren
   Rand mit (auf der Startseite stößt die Newsletter-Leiste an den Fuß). Warenkorb und Kasse
   behalten den Abstand von GeneratePress, dort lag er bei Kalium ebenfalls darüber. */
.page:not(.woocommerce-cart):not(.woocommerce-checkout) .site-content,
.post-type-archive-product .site-content,
.tax-product_cat .site-content,
.error404 .site-content {
	padding-bottom: 0;
}

.btn.btn-primary:hover {
	background-color: var(--accent-2);
}

/* Formularfelder (wie kalium-child, wichtig auch für den Konfigurator) */
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	height: 30px;
	padding: 1px 0 0 10px;
	border: 1px solid var(--contrast-3);
	border-radius: 0;
	box-shadow: none;
	background-color: var(--base-3);
	background-image: url(img/arrowdown.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	font-size: 15px;
}

select::-ms-expand {
	display: none;
}

input,
textarea {
	border: 1px solid var(--base);
}

input[type="number"],
input[type="text"],
input[type="password"],
input:not([type]) {
	height: 30px;
	padding: 2px 2px 6px 10px;
}

textarea {
	width: 100%;
	padding: 5px 5px 5px 10px;
	background-color: var(--base-3);
	line-height: 20px;
}

select:hover,
input:hover,
textarea:hover,
select:focus,
input:focus,
textarea:focus {
	border-color: var(--contrast-2);
}

/* Spezifischer als „html input[type=submit]“ von GeneratePress, sonst gilt dessen Innenabstand */
.wpcf7-form .wpcf7-submit {
	height: 46px;
	margin: 5px 0 20px;
	padding: 0 20px;
	border-color: var(--accent-3);
	background-color: var(--accent-3);
	color: var(--base-2);
	line-height: 46px;
}

.wpcf7-submit:hover {
	border-color: var(--accent-2);
	background-color: var(--accent-2);
}

.grecaptcha-badge {
	visibility: hidden;
}

/* Hilfsklassen aus dem Inhalt (kalium-child) */
#show_calc,
.versteckt {
	display: none;
}

.textdrueber {
	position: absolute;
	top: 25px;
	width: 100%;
	padding-right: 20px;
	text-align: center;
}

.textdrueber span.klein {
	display: block;
	color: var(--contrast-2);
	font-size: 13px;
	line-height: 15px;
}

.gross {
	font-size: 18px;
}

.gruenoben {
	border-top: 5px solid #57991d !important;
}

.weissoben {
	border-top: 5px solid var(--base-2) !important;
}

/* Aus dem „Custom CSS“ der Kalium-Optionen (laborator_custom_css) */
.free-shipping {
	text-align: center;
}

.featured-product .product {
	width: 100%;
}

.woocommerce .order-info {
	background: transparent;
}

.woocommerce .order-info mark {
	padding: 0;
	background-color: transparent !important;
	color: inherit;
	font-weight: bold;
}

/* Startseite: Kacheln unter dem Slider. Kalium setzte jeden Link im Inhalt auf relative/inline-block,
   die Leiste „Buch konfigurieren“ hängt daran. */
.start-square-container {
	display: inline-block;
	position: relative;
}

.start-square-container img {
	width: 100%;
}

.start-square-container::after {
	display: none !important;
}

.start-square {
	position: relative;
	top: 0;
	z-index: 1;
	transition: all 0.3s ease-in-out;
}

.heading-wrapper {
	display: table;
	position: absolute;
	top: 0;
	width: 100%;
	height: 50%;
	text-align: center;
	transition: all 0.3s ease-in-out;
}

.heading-wrapper .big {
	display: table-cell;
	color: var(--accent);
	font-size: 12px;
	vertical-align: middle;
}

.heading-wrapper .small {
	display: block;
	color: var(--contrast-2);
	font-size: 13px;
	line-height: 15px;
}

.konf-button {
	display: block;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 25px;
	background-color: var(--accent);
	color: var(--base-3);
	font-size: 12px;
	line-height: 25px;
	text-align: center;
	transition: all 0.3s ease-in-out;
}

.hover-container {
	position: absolute;
	overflow: hidden;
}

.hover-display {
	width: 2000px;
	height: 100%;
}

.hover-display img {
	height: 100%;
}

.left-view {
	width: 26vw;
	max-width: 400px;
	height: 100%;
	padding-top: 5vw;
	padding-left: 4vw;
}

.left-view .title {
	color: #333333;
	font-size: 24px;
}

.left-view .subtitle,
.left-view .price {
	margin-top: 20px;
	color: var(--contrast-2);
	font-size: 19px;
}

.left-view .price {
	margin-top: 50px;
}

@media (min-width: 687px) {
	.start-square-container:hover .start-square {
		top: -25px;
	}

	.start-square-container:hover .heading-wrapper {
		top: 8.333px;
	}

	.heading-wrapper .big {
		font-size: 14px;
	}
}

@media (max-width: 991px) {
	.left-view {
		position: absolute;
	}
}

@media (min-width: 992px) {
	.left-view {
		float: left;
		background: #eaeae9;
	}

	.left-view .title {
		font-size: 27px;
	}

	.left-view .subtitle,
	.left-view .price {
		font-size: 22px;
	}

	.heading-wrapper .big {
		font-size: 16px;
	}
}

@media (min-width: 1140px) {
	.left-view .title {
		font-size: 30px;
	}

	.left-view .subtitle,
	.left-view .price {
		font-size: 25px;
	}

	.heading-wrapper .big {
		font-size: 18px;
	}
}

/* Newsletter-Leiste (Snippet „newsletter-subscribe“) */
.nlrow {
	border-top: 1px solid var(--base-3);
}

#newsletter-subscribe-box {
	overflow: hidden;
	padding: 3px 20px 3px 30px;
}

#newsletter-subscribe-header {
	padding-top: 14px;
	padding-bottom: 0;
}

#newsletter-subscribe-header h2 {
	margin-top: 0;
	margin-bottom: 3px;
	font-size: 27px;
}

.newsletter-subscribe-title {
	font-size: 15px;
}

.newsletter-subscribe-button {
	float: right !important;
	margin-right: 40px !important;
	padding: 17px 24px;
	border: 1px solid var(--accent);
	border-radius: 0;
	background-color: var(--base-3);
	color: var(--accent);
}

.newsletter-subscribe-button:hover {
	background-color: var(--accent);
	color: var(--base-3);
}

#newsletter-open-button {
	margin-top: -38px !important;
}

#newsletter-subscribe-form {
	display: none;
	overflow: hidden;
	padding-top: 11px;
}

#newsletter-subscribe-form > * {
	margin: 2px 0;
}

#newsletter-subscribe-form > .newsletter-subscribe-button {
	margin-top: -11px !important;
}

#newsletter-subscribe-form select {
	display: inline;
	width: 171px;
}

#newsletter-subscribe-form select:invalid {
	color: rgb(158, 158, 158);
}

#newsletter-subscribe-success,
#newsletter-subscribe-error,
.newsletter-subscribe-form-error {
	display: none;
}

.newsletter-subscribe-form-error {
	color: red;
}

@media (max-width: 1200px) {
	#newsletter-subscribe-form > select,
	#newsletter-subscribe-form > input {
		display: block;
		width: 185px;
	}

	#newsletter-subscribe-form > .newsletter-subscribe-button {
		float: none !important;
		margin-top: 5px !important;
	}
}

@media (max-width: 992px) {
	#newsletter-subscribe-box {
		text-align: center;
	}

	#newsletter-open-button {
		float: none !important;
		margin-top: 5px !important;
	}

	#newsletter-subscribe-header > span {
		margin-right: 15px;
	}

	#newsletter-subscribe-form > select,
	#newsletter-subscribe-form > input {
		margin: 2px auto !important;
	}

	.newsletter-subscribe-button {
		margin-right: 0 !important;
	}
}

/* 404-Seite (content-404.php) */
.buchone-404 {
	margin: 30px 0;
	padding-bottom: 40px;
	background-color: var(--base-3);
	text-align: center;
}

.buchone-404__box {
	position: relative;
	width: 309px;
	height: 309px;
	margin: 0 auto;
	background-color: var(--accent);
}

.buchone-404__box span {
	position: absolute;
	right: 23px;
	bottom: 0;
	color: var(--base-3);
	font-size: 156px;
	line-height: 112px;
	letter-spacing: -30px;
}

.buchone-404 .buchone-404__title {
	margin: 0;
	color: var(--accent);
	font-size: 53px;
	letter-spacing: -1.5px;
	text-transform: uppercase;
}

.buchone-404 p {
	margin-top: 40px;
	font-size: 18px;
}

@media (max-width: 480px) {
	.buchone-404__box {
		width: 200px;
		height: 200px;
	}

	.buchone-404__box span {
		font-size: 100px;
		line-height: 75px;
		letter-spacing: -18px;
	}

	.buchone-404 .buchone-404__title {
		font-size: 34px;
	}
}

/* ==========================================================================
   Konfigurator (/konfigurator/): Grundstile, die bisher aus Kaliums Bootstrap kamen
   ========================================================================== */

/* Ohne Seitenrahmen wie bei Kalium: graue Bänder der App laufen über die volle Breite */
.buchone-konfigurator .site.grid-container {
	max-width: none;
}

/* Block statt Flexbox, sonst schrumpft #konfigurator auf seinen Inhalt und steht links */
.buchone-konfigurator.one-container .site-content {
	display: block;
	padding: 0;
}

/* GeneratePress färbt im Ein-Container-Layout jedes .container mit der Inhaltsfarbe (gemeint ist nur #page) */
.one-container .container:not(.site) {
	background-color: transparent;
}

/* Feste Breiten der Bootstrap-3-Container (inc/konfigurator.php) */
@media (min-width: 768px) {
	.buchone-konfigurator .container:not(.site) {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.buchone-konfigurator .container:not(.site) {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.buchone-konfigurator .container:not(.site) {
		width: 1170px;
	}
}

/* Spezifität wie die alten Bootstrap-Elementregeln (:where zählt nicht), damit das CSS der App gewinnt */
:where(.buchone-konfigurator) h1,
:where(.buchone-konfigurator) h2,
:where(.buchone-konfigurator) h3 {
	margin-top: 19px;
}

:where(.buchone-konfigurator) label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
}

:where(.buchone-konfigurator) input[type="radio"],
:where(.buchone-konfigurator) input[type="checkbox"] {
	margin: 4px 0 0;
	line-height: normal;
}

/* ==========================================================================
   Portfolio-Raster (Seite „Inspirationen“, template-parts/portfolio-grid.php)
   ========================================================================== */

.buchone-portfolio .portfolio-root-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.buchone-portfolio .portfolio-root-categories a {
	color: var(--contrast-2);
	text-decoration: none;
}

.buchone-portfolio .portfolio-root-categories a:hover,
.buchone-portfolio .portfolio-root-categories .active a {
	color: #333333;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 5px;
}

.buchone-portfolio .portfolio-holder {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.buchone-portfolio .item-box {
	display: block;
	color: var(--contrast);
	text-decoration: none;
}

.buchone-portfolio .item-box img {
	display: block;
	width: 100%;
	aspect-ratio: 6 / 5;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.buchone-portfolio .item-box:hover img {
	opacity: 0.85;
}

.buchone-portfolio .item-box h3 {
	margin: 15px 0 0;
	color: var(--contrast);
	font-size: 15px;
	line-height: 20px;
}

@media (max-width: 991px) {
	.buchone-portfolio .portfolio-holder {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.buchone-portfolio .portfolio-holder {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Blog: Übersicht als Kacheln in zwei Spalten, Seitenleiste „Themen“
   ========================================================================== */

.buchone-blog-header {
	padding-top: 20px;
}

.buchone-blog-header .page-title {
	margin-bottom: 15px;
	font-size: 25px;
}

.blog .site-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	align-items: start;
}

.blog .site-main > :not(article) {
	grid-column: 1 / -1;
}

.blog.one-container .site-main > article {
	margin-bottom: 0;
}

.blog .inside-article {
	border: 1px solid var(--base);
}

.blog .post-image {
	margin: 0;
}

.blog .post-image img {
	display: block;
	width: 100%;
}

.blog .entry-header,
.blog .entry-summary {
	padding: 0 30px;
}

.blog .entry-header {
	margin-top: 30px;
}

.blog .entry-summary {
	margin-top: 15px;
	padding-bottom: 30px;
}

.blog .entry-title {
	font-size: 24px;
	line-height: 1.2;
}

.blog .entry-title a {
	color: var(--contrast);
}

.blog .entry-summary p {
	margin: 0;
}

.is-right-sidebar .widget {
	padding: 0;
	font-size: 15px;
}

.is-right-sidebar .widget-title {
	margin-bottom: 15px;
	color: var(--contrast);
	font-size: 25px;
	font-weight: 400;
}

.is-right-sidebar .widget ul {
	margin: 0;
	list-style: none;
}

.is-right-sidebar .widget li {
	margin-bottom: 12px;
}

.is-right-sidebar .widget a {
	color: var(--contrast);
}

.is-right-sidebar .widget a:hover {
	color: var(--accent);
}

@media (max-width: 768px) {
	.blog .site-main {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Fuß: Linkspalten (Widget-Area footer_sidebar)
   ========================================================================== */

.site-footer {
	background-color: var(--contrast);
}

.buchone-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 30px;
	padding-top: 50px;
	padding-bottom: 5px;
}

.buchone-footer .widget {
	margin-bottom: 35px;
}

.buchone-footer h3,
.buchone-footer h3 a {
	margin: 0 0 9.5px;
	color: var(--base-3);
	font-size: 22px;
	line-height: 1.1;
}

.buchone-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Ohne den unteren Rand, den GeneratePress Listenpunkten in Widgets gibt (0,5em): Zeilenabstand 32 px wie bei Kalium */
.buchone-footer .widget li {
	margin: 0;
	padding: 6px 0;
}

.buchone-footer a {
	color: #eaeae9;
}

.buchone-footer a:hover,
.buchone-footer a:focus {
	color: var(--base-3);
}

/* Nur solange vier Spalten nebeneinander stehen, sonst passt „Digitaldruck-Bücher“ nicht in die
   Spalte; auf dem Handy wie bei Kalium 22 px */
@media (min-width: 769px) and (max-width: 999px) {
	.buchone-footer h3,
	.buchone-footer h3 a {
		font-size: 17px;
	}
}

/* ==========================================================================
   Feste Info-Leiste am linken Rand (template-parts/fixed-info.php)
   ========================================================================== */

#fixed-info {
	position: fixed;
	top: 50%;
	left: -1px;
	z-index: 9999;
	transform: translate(0, -50%);
}

#fixed-info .info-square {
	display: block;
	position: relative;
	z-index: 99999;
	width: 46px;
	height: 46px;
	margin-top: -1px;
	border: 1px solid var(--contrast-3);
	background-color: var(--base-3);
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.info-square-beratung { background-image: url(img/beratung.png); }
.info-square-info { background-image: url(img/info_gruen.png); }
.info-square-sprache { background-image: url(img/sprache.png); }
.info-square-fb { background-image: url(img/fb.png); }
.info-square-ig { background-image: url(img/ig.png); }

.info-square-sprache > span {
	display: none;
	height: 100%;
	color: var(--base-3);
	font-size: 0.7em;
	line-height: 44px;
	text-align: center;
	text-transform: uppercase;
}

#fixed-info:hover .info-square-sprache {
	background-image: url(img/sprachen-back.png);
}

#fixed-info:hover .info-square-sprache > span {
	display: block;
}

#fixed-info-popout {
	display: none;
	position: absolute;
	top: 0;
	left: 46px;
	width: 200px;
}

#fixed-info:hover #fixed-info-popout {
	display: block;
}

#fixed-info-popout > a,
#fixed-info-popout > div {
	display: block;
	width: max-content;
	height: 46px;
	margin-top: -1px;
	padding: 10px;
	border: 1px solid var(--contrast-3);
	border-left: none;
	background-color: var(--base-3);
	color: var(--accent);
	line-height: 26px;
}

@media (max-width: 999px) {
	#fixed-info {
		display: none !important;
	}
}

/* ==========================================================================
   WooCommerce (Buchhandlung)
   ========================================================================== */

.woocommerce div.product .product_title {
	margin-bottom: 9.5px;
	color: #333333;
	font-size: 26px;
}

.woocommerce div.product .summary p {
	color: var(--contrast-2);
	font-size: 16px;
}

.woocommerce div.product .summary p.price {
	margin: 40px 0;
	color: var(--contrast-2);
	font-size: 16px;
}

.woocommerce div.product .summary p.price .amount {
	color: var(--accent);
	font-size: 22px;
}

/* Beschreibung als graues Feld mit grauem Reiter, ohne die runden WooCommerce-Reiter */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	margin: 0 1px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--base);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 15px 20px;
	color: #333333;
	font-weight: 400;
	line-height: 15px;
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin-bottom: 40px;
	padding: 25px;
	background-color: var(--base);
}

/* Produktlisten: Titel und Preis nebeneinander, kein Warenkorb-Button (inc/woocommerce.php) */
.woocommerce ul.products li.product {
	position: relative;
}

/* Mit „a“ so spezifisch wie die Regel von WooCommerce (display: block), die sonst das Raster aufhebt */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 10px;
	align-items: start;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link > img {
	grid-column: 1 / -1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	color: var(--contrast);
	font-size: 18px;
	line-height: 1.2;
}

.woocommerce ul.products li.product .price {
	margin: 2px 0 0;
	color: var(--accent);
	font-size: 15px;
}

.buchone-out-of-stock {
	display: flex;
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 4px;
	border-radius: 50%;
	background-color: #222222;
	color: var(--base-3);
	font-size: 11px;
	line-height: 1.15;
	text-align: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	border-radius: 0;
	background-color: var(--accent);
	color: var(--base-3);
	font-weight: 400;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background-color: var(--accent-2);
	color: var(--base-3);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--accent);
}

.woocommerce .shop_table .shipping th {
	color: inherit;
}

.woocommerce .woocommerce-tabs {
	padding-top: 40px;
}

.woocommerce .bordered-block .payment_methods li .payment_method_paypal a {
	display: none;
}

.about_paypal {
	margin-top: 10px;
}

.single-product .summary .woo-paypalplus-checkout-button {
	max-width: 202.39px;
	margin-top: 4em !important;
	margin-left: 110px;
}

/* ==========================================================================
   Kleinere Bildschirme
   ========================================================================== */

/* Unter 1180 px Seitenränder statt randloser Inhalte (GeneratePress hat oberhalb 768 px keine) */
@media (max-width: 1180px) {
	.inside-header,
	.buchone-blog-header,
	.buchone-footer__columns {
		padding-right: 20px;
		padding-left: 20px;
	}

	.one-container .site-content {
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media (max-width: 768px) {
	.inside-header {
		padding-right: 15px;
		padding-left: 15px;
	}

	/* Logo so groß wie möglich, Platz für Konto-Symbol und Menü-Schalter lassen */
	.site-header .header-image {
		max-width: calc(100vw - 150px);
	}

	.buchone-footer__columns {
		grid-template-columns: repeat(2, 1fr);
		padding-right: 15px;
		padding-left: 15px;
	}

	#login-popup {
		right: 15px;
	}
}

@media (max-width: 480px) {
	.buchone-footer__columns {
		grid-template-columns: 1fr;
	}
}
