/*
Theme Name: Depo
Theme URI: https://tests.depomerch.cz/
Author: DepoMerch
Description: Fanouškovský vzhled DepoMerch podle české městské dopravy. Barvy linek metra, tramvaj a odjezdová tabule.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depo
Tags: e-commerce, full-site-editing, block-theme
*/

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-ext-700-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Sans Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-condensed-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Sans Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-condensed-latin-ext-700-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Sans Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--depo-ink: #16191d;
	--depo-paper: #f3efe4;
	--depo-paper-2: #e7e1d2;
	--depo-night: #101418;
	--depo-line-a: #0b8f45;
	--depo-line-b: #e2a400;
	--depo-line-c: #d0121a;
	--depo-rail: #1d4e89;
	--depo-muted: #5e584e;
	--depo-line: #ddd4c2;
	--depo-max: 1120px;
	--depo-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
	--depo-cond: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
}

body {
	margin: 0;
	background: var(--depo-paper);
	color: var(--depo-ink);
	font-family: var(--depo-sans);
}

.depo-skip {
	position: absolute;
	left: 12px;
	top: 12px;
	transform: translateY(-150%);
	background: #fff;
	color: var(--depo-ink);
	padding: 8px 12px;
	z-index: 20;
}

.depo-skip:focus {
	transform: none;
}

.depo-stripe {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	height: 8px;
}

.depo-stripe span:nth-child(1) { background: var(--depo-line-a); }
.depo-stripe span:nth-child(2) { background: var(--depo-line-b); }
.depo-stripe span:nth-child(3) { background: var(--depo-line-c); }

.depo-topbar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 24px;
	background: var(--depo-night);
	color: #f3efe4;
	font-family: var(--depo-cond);
	font-size: 0.92rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.depo-topbar p {
	margin: 0;
}

.depo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--depo-max);
	margin: 0 auto;
	padding: 18px 24px 14px;
}

.depo-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.depo-marks {
	display: flex;
	gap: 4px;
}

.depo-marks i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #fff;
	font-family: var(--depo-cond);
	font-style: normal;
	font-weight: 700;
	font-size: 0.95rem;
}

.depo-marks i:nth-child(1) { background: var(--depo-line-a); }
.depo-marks i:nth-child(2) { background: var(--depo-line-b); color: #1a1500; }
.depo-marks i:nth-child(3) { background: var(--depo-line-c); }

.depo-word {
	font-family: var(--depo-cond);
	font-weight: 700;
	font-size: 1.7rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
}

.depo-word span {
	color: var(--depo-line-c);
}

.depo-nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.depo-burger {
	display: none;
	border: 1px solid var(--depo-ink);
	border-radius: 999px;
	padding: 6px 14px;
	font-family: var(--depo-cond);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.depo-nav {
	display: flex;
	align-items: center;
	gap: 8px 18px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.depo-nav a {
	color: inherit;
	text-decoration: none;
	font-family: var(--depo-cond);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.depo-nav a:hover {
	color: var(--depo-line-c);
}

.depo-cart {
	border: 1px solid var(--depo-ink);
	border-radius: 999px;
	padding: 6px 12px;
}

.depo-home,
.depo-shop,
.depo-page {
	padding-bottom: 72px;
}

.depo-wrap {
	max-width: var(--depo-max);
	margin: 0 auto;
	padding: 0 24px;
}

.depo-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 36px;
	align-items: end;
	padding-top: 12px;
	padding-bottom: 36px;
}

.depo-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-family: var(--depo-cond);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.92rem;
}

.depo-kicker i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	display: inline-block;
}

.depo-kicker i:nth-child(1) { background: var(--depo-line-a); }
.depo-kicker i:nth-child(2) { background: var(--depo-line-b); }
.depo-kicker i:nth-child(3) { background: var(--depo-line-c); }

.depo-hero h1,
.depo-section h2,
.depo-missing h1,
.woocommerce-products-header__title,
.woocommerce div.product .product_title,
.depo-page h1,
.wp-block-post-title {
	font-family: var(--depo-cond);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 0.92;
	text-transform: uppercase;
}

.depo-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(3.3rem, 7vw, 6.2rem);
}

.depo-lead {
	max-width: 38rem;
	font-size: 1.12rem;
	line-height: 1.5;
	margin: 0 0 22px;
}

.depo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.depo-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--depo-line-c) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 12px 18px !important;
	font-family: var(--depo-cond) !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
}

.depo-btn.ghost,
.woocommerce a.button.alt {
	background: var(--depo-night) !important;
}

.depo-btn.ghost {
	background: transparent !important;
	color: var(--depo-ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--depo-ink);
}

.depo-hero-frame {
	position: relative;
	min-height: 340px;
	border-radius: 18px 18px 6px 18px;
	background: #1b140f url("assets/hero.jpg") center 42% / cover no-repeat;
	overflow: hidden;
}

.depo-stops {
	position: absolute;
	left: 16px;
	bottom: 16px;
	margin: 0;
	padding: 14px 16px 12px;
	list-style: none;
	background: rgba(16, 20, 24, 0.88);
	color: #f3efe4;
	border-radius: 12px;
	min-width: 180px;
}

.depo-stops-label {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--depo-cond);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.78rem;
	color: var(--depo-line-b);
}

.depo-stops li:not(.depo-stops-label) {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 0;
	font-size: 0.95rem;
}

.depo-stops i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--depo-line-a);
	box-shadow: 0 10px 0 0 rgba(243, 239, 228, 0.35);
}

.depo-stops li:last-child i {
	box-shadow: none;
}

.depo-stops .b { background: var(--depo-line-b); }
.depo-stops .c { background: var(--depo-line-c); }

.depo-section {
	padding: 10px 0 28px;
}

.depo-section-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	margin-bottom: 16px;
}

.depo-section-head p,
.depo-index {
	margin: 0;
	font-family: var(--depo-cond);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--depo-muted);
}

.depo-section h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.depo-routes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.depo-route {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 230px;
	padding: 18px 18px 16px;
	background: #fffdf8;
	border: 1px solid var(--depo-line);
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	box-shadow: inset 8px 0 0 var(--depo-line-a);
}

.depo-route.tram { box-shadow: inset 8px 0 0 var(--depo-line-c); }
.depo-route.rail { box-shadow: inset 8px 0 0 var(--depo-rail); }

.depo-route strong {
	font-family: var(--depo-cond);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.86rem;
}

.depo-route h3 {
	margin: 0;
	font-family: var(--depo-cond);
	font-size: 2rem;
	line-height: 0.95;
	text-transform: uppercase;
}

.depo-route p {
	margin: 0;
	color: var(--depo-muted);
}

.depo-board {
	background: var(--depo-night);
	color: #f3efe4;
	border-radius: 16px;
	padding: 22px;
}

.depo-board h2 {
	color: #fff;
}

.depo-board table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.depo-board th,
.depo-board td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid rgba(243, 239, 228, 0.16);
	font-family: var(--depo-cond);
	letter-spacing: 0.04em;
}

.depo-board th {
	color: var(--depo-line-b);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.depo-board td:last-child,
.depo-board th:last-child {
	text-align: right;
}

.depo-note {
	margin: 12px 0 0;
	color: #c9c1b2;
	font-size: 0.92rem;
}

.depo-footer {
	background: var(--depo-night);
	color: #f3efe4;
	padding: 36px 0 28px;
}

.depo-footer a {
	color: inherit;
	text-decoration: none;
}

.depo-footer a:hover {
	color: var(--depo-line-b);
}

.depo-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 24px;
}

.depo-footer h2 {
	margin: 0 0 8px;
	font-family: var(--depo-cond);
	text-transform: uppercase;
	font-size: 1.6rem;
}

.depo-footer p,
.depo-footer li {
	color: #c9c1b2;
}

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

.depo-footer li + li {
	margin-top: 6px;
}

.depo-fine {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid rgba(243, 239, 228, 0.16);
	color: #aea698;
	font-size: 0.88rem;
}

.depo-shop,
.depo-page,
.depo-missing {
	max-width: var(--depo-max);
	margin: 0 auto;
	padding: 12px 24px 72px;
}

.woocommerce-breadcrumb,
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering {
	color: var(--depo-muted);
}

.woocommerce-products-header__title,
.depo-page h1,
.wp-block-post-title {
	font-size: clamp(2.4rem, 5vw, 4rem);
	margin-top: 8px;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 16px 0 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 16px;
	background: #fffdf8;
	border: 1px solid var(--depo-line);
	border-radius: 16px;
	overflow: hidden;
}

.woocommerce ul.products li.product a img {
	margin: 0;
	aspect-ratio: 1;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
	padding-left: 14px;
	padding-right: 14px;
}

.woocommerce span.onsale {
	background: var(--depo-line-b);
	color: #1a1500;
	border-radius: 999px;
	font-family: var(--depo-cond);
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 7px 10px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary {
	float: none !important;
	width: auto !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	display: none;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-no-products-found .woocommerce-info {
	background: #fffdf8;
	border-top: 4px solid var(--depo-line-a);
	color: var(--depo-ink);
}

.depo-missing {
	min-height: 42vh;
}

a:focus-visible,
button:focus-visible,
.depo-btn:focus-visible {
	outline: 3px solid var(--depo-line-b);
	outline-offset: 3px;
}

@media (max-width: 860px) {
	.depo-burger { display: inline-flex; }
	.depo-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 118px;
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 24px 18px;
		background: var(--depo-paper);
		border-bottom: 1px solid var(--depo-line);
	}
	.depo-nav-toggle:checked ~ .depo-nav { display: flex; }
	.depo-header { position: relative; }
	.depo-hero,
	.depo-routes,
	.depo-footer-grid,
	.woocommerce div.product,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
	.depo-topbar { display: none; }
	.depo-hero-frame { min-height: 260px; }
}
