/* Receptarna – osnovni videz nad temo Blocksy. */

body {
	font-family: var(--rp-font-body);
	color: var(--rp-brown);
	background-color: var(--rp-paper);
}

h1, h2, h3, h4,
.entry-title,
.site-title {
	font-family: var(--rp-font-heading);
	color: var(--rp-brown);
}

h1, .entry-title, .site-title { font-weight: 800; letter-spacing: -0.01em; }
h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }

/* Slogan: "kjer so dobri recepti doma" */
.rp-slogan,
.site-description {
	font-family: var(--rp-font-slogan);
	font-style: italic;
	font-weight: 400;
	color: var(--rp-brown);
}

/* Povezave v besedilu: temnejša oranžna zaradi kontrasta na svetlem ozadju. */
.entry-content a:not(.wp-block-button__link):not(.button) {
	color: var(--rp-orange-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.entry-content a:not(.wp-block-button__link):not(.button):hover { color: var(--rp-brown); }

/* Gumbi (CTA): oranžno ozadje, temno besedilo. */
.wp-block-button__link,
.ct-button,
button[type="submit"],
input[type="submit"],
.button,
.wc-block-components-button:not(.is-link) {
	background-color: var(--rp-orange);
	color: var(--rp-brown);
	border-radius: var(--rp-radius-sm);
	font-weight: 700;
	border: 0;
}
.wp-block-button__link:hover,
.ct-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background-color: var(--rp-brown);
	color: var(--rp-white);
}

/* Sekundarni gumb */
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--rp-brown);
	border: 2px solid var(--rp-brown);
}

/* Viden fokus za tipkovnico (WCAG 2.2). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--rp-orange-dark);
	outline-offset: 2px;
}

/* Razdelki na kremnem ozadju */
.rp-section--cream {
	background: var(--rp-cream);
	border-radius: var(--rp-radius);
	padding: calc(var(--rp-space) * 2);
}

/* Bloki "kartice" (recepti, članki) */
.rp-card {
	background: var(--rp-white);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
	overflow: hidden;
}

/* Oznaka "Preizkušeno v Receptarni" (izpis: vtičnik Receptarna Core) */
.rp-tested-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.3em 0.8em;
	border-radius: 999px;
	background: var(--rp-brown);
	color: var(--rp-white);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.3;
}
.rp-tested-badge svg { width: 1em; height: 1em; fill: currentColor; }

/*
 * Noga in pas "Trenutno priljubljeno" – temna (kot na produkciji), v toplih tonih CGP: temno rjava
 * #1E120B, beli naslovi, svetlo bež povezave. Blocksy barve besedila v nogi jemlje iz palete, ki jo ta tema zamenja z barvami
 * Receptarne (rjava, karamelna), zato jih tu nastavimo neposredno.
 */
.ct-footer,
.ct-footer [data-row] {
	--theme-text-color: #D8C7B2 !important;
	--theme-link-initial-color: #D8C7B2 !important;
	--theme-link-hover-color: var(--rp-orange) !important;
	--theme-heading-color: #ffffff !important;
	color: #D8C7B2;
}
.ct-footer {
	background-color: #1E120B;
}
.ct-footer [data-row="middle"] {
	padding-block: 2rem;
}
/* Blocksy adds its own row spacing (~70px) on top of ours – the first text sat far below the band. */
.ct-footer [data-row="middle"] > div {
	--container-spacing: 0px;
	padding-block: 0 !important;
}
.ct-footer [data-row="middle"] .widget:first-child .widget-title { margin-top: 0; }
.ct-footer .widget-title {
	color: #ffffff !important;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}
.ct-footer .textwidget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ct-footer .textwidget li {
	margin: 0 0 0.45em;
}
.ct-footer .textwidget a {
	color: #D8C7B2;
	text-decoration: none;
	transition: color 0.2s ease;
}
.ct-footer .textwidget a:hover,
.ct-footer .textwidget a:focus-visible {
	color: var(--rp-orange);
}
.ct-footer .textwidget a[href^="mailto:"] {
	color: #ffffff;
	font-weight: 600;
}
.ct-footer [data-row="middle"] [data-column]:not(:last-child) {
	border-inline-end-color: #3A2618 !important;
}
.ct-footer [data-row="bottom"] {
	background-color: #160D08 !important;
	color: #B9A48C;
}
.ct-trending-block {
	--theme-heading-color: #ffffff !important;
	--theme-link-initial-color: #ffffff !important;
	--theme-link-hover-color: var(--rp-orange) !important;
	background-color: #160D08 !important;
	color: #ffffff;
}
.ct-trending-block .ct-module-title,
.ct-trending-block a {
	color: #ffffff;
}
.ct-trending-block a:hover {
	color: var(--rp-orange);
}
.ct-trending-block .ct-media-container,
.ct-trending-block img {
	border-radius: 50%;
}

/*
 * Band with tabs above the footer (receptarna-core RP_Showcase, O33): Trenutno priljubljeno · Sezonsko ·
 * Priporočamo · Novo. Replaces Blocksy's band (hidden while ours is printed); a row that scrolls with the arrows.
 */
.rp-has-showcase .ct-trending-block { display: none; }
.rp-showcase { background: #160D08; color: #fff; }
body.single-recipe .rp-showcase { margin-top: clamp(2rem, 4vw, 3.5rem); }
.rp-showcase__inner { max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; padding: 1.5rem clamp(16px, 4vw, 2.5rem) 1.75rem; }
.rp-showcase__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.rp-showcase__tabs { display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
.rp-showcase__tabs::-webkit-scrollbar { display: none; }
.rp-showcase__tabs button {
	flex: none;
	padding: 0.45rem 1rem;
	border: 1px solid #4A3426;
	border-radius: 999px;
	background: transparent;
	color: #D8C7B2;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}
.rp-showcase__tabs button:hover { color: #fff; border-color: #D8C7B2; }
.rp-showcase__tabs button[aria-selected="true"] { background: #F4E3CC; border-color: #F4E3CC; color: #2B1A10; }
.rp-showcase__nav { display: flex; gap: 0.4rem; flex: none; }
.rp-showcase__nav button {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid #4A3426;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}
.rp-showcase__nav button:hover:not(:disabled) { background: #F4E3CC; color: #2B1A10; }
.rp-showcase__nav button:disabled { opacity: 0.35; cursor: default; }
.rp-showcase button:focus-visible { outline: 3px solid #F4E3CC; outline-offset: 2px; }
.rp-showcase__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, calc((100% - 3 * 1.5rem) / 4));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.rp-showcase__list::-webkit-scrollbar { display: none; }
.rp-showcase__list li { scroll-snap-align: start; }
.rp-showcase__list a { display: flex; align-items: center; gap: 1rem; color: #fff; font-weight: 600; line-height: 1.35; text-decoration: none; }
.rp-showcase__list a:hover span { color: var(--rp-orange); }
.rp-showcase__list img,
.rp-showcase__noimg { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #3A2618; }
@media (max-width: 689px) {
	.rp-showcase__head { flex-wrap: wrap; }
	.rp-showcase__nav { display: none; }
	.rp-showcase__list { grid-auto-columns: 78%; }
}

/* Moj račun (faza 4): priljubljeni recepti, moji recepti, moji podatki */
.rp-account-recipes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1.25rem;
}
.rp-account-recipes a {
	display: grid;
	gap: 0.5rem;
	color: var(--rp-brown);
	font-weight: 600;
	text-decoration: none;
}
.rp-account-recipes img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--rp-radius);
}
.rp-account-recipes a:hover span { color: var(--rp-orange-dark); }

/* Kaj imam doma? (O36) */
.rp-pantry-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.rp-pantry-fields input { width: 100%; }
.rp-pantry-limit, .rp-pantry-note { font-size: 0.9rem; }
.rp-pantry-note { color: var(--rp-caramel); margin-top: 0.5rem; }
.rp-pantry-msg { padding: 0.6rem 0.9rem; background: var(--rp-cream); border-radius: var(--rp-radius); }
.rp-pantry-group { margin: 1.75rem 0 0.75rem; }
.rp-pantry-missing { display: block; margin-top: 0.25rem; color: var(--rp-caramel); }
.rp-pantry-teaser { margin: 2rem 0 0; }
.rp-pantry-teaser .button { margin-right: 0.5rem; }
.rp-pantry-how { margin: 0 0 1rem 1.25rem; }

/* Moja kuhinja – prva stran Mojega računa (O38) */
.rp-kitchen-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rp-kitchen-head h2 { margin: 0 0 0.2rem; font-size: 1.5rem; }
.rp-kitchen-head p { margin: 0; }
.rp-kitchen-avatar, .rp-avatar-preview { border-radius: 50%; object-fit: cover; }
.rp-tier { padding: 0.05rem 0.55rem; border-radius: 999px; background: var(--rp-cream); color: var(--rp-brown); }
.rp-tier--pro { background: var(--rp-brown); color: var(--rp-white); }
.rp-kitchen-steps { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 2px solid var(--rp-orange); border-radius: var(--rp-radius); }
.rp-kitchen-steps h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.rp-kitchen-steps ol { margin: 0 0 0.5rem 1.25rem; }
.rp-kitchen-steps li.is-done { color: var(--rp-caramel); text-decoration: line-through; }
.rp-link-button { padding: 0; border: 0; background: none; color: var(--rp-caramel); text-decoration: underline; cursor: pointer; font-size: 0.9rem; }
.rp-kitchen-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.rp-kitchen-card { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem; border-radius: var(--rp-radius); background: var(--rp-cream); color: var(--rp-brown); text-decoration: none; }
.rp-kitchen-card:hover { outline: 2px solid var(--rp-orange); }
.rp-kitchen-card h3 { margin: 0; font-size: 1.05rem; }
.rp-kitchen-card p { margin: 0; flex: 1; font-size: 0.95rem; }
.rp-kitchen-cta { font-weight: 700; color: var(--rp-orange-dark); }
.rp-kitchen-card.is-locked { background: var(--rp-white); border: 1px dashed var(--rp-caramel); }
.rp-kitchen-pro { margin-top: 1.75rem; padding: 1.25rem; border-radius: var(--rp-radius); background: var(--rp-brown); color: var(--rp-white); }
.rp-kitchen-pro h3 { margin: 0 0 0.5rem; color: var(--rp-white); }
.rp-kitchen-pro ul { margin: 0 0 1rem 1.25rem; }
.rp-login-note { padding: 0.75rem 1rem; border-radius: var(--rp-radius); background: var(--rp-cream); font-weight: 600; }
.rp-avatar-field { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid var(--rp-cream); border-radius: var(--rp-radius); }
.rp-status {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: 600;
	background: var(--rp-cream);
	color: var(--rp-brown);
}
.rp-status--publish { background: var(--rp-cream); color: var(--rp-brown); }
.rp-status--pending { background: #FBEAD3; color: var(--rp-orange-dark); }
.rp-account-privacy {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rp-cream);
}
.rp-privacy-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.rp-button-danger { background: transparent !important; color: #A33A1E !important; border: 1.5px solid #A33A1E !important; }
.rp-register-consent a { color: var(--rp-orange-dark); }

/*
 * Moj račun – oblika v slogu strani: prijava in registracija kot dve kartici, polja z robom v karamelni barvi,
 * za prijavljene stranski meni zavihkov. Pas »Trenutno priljubljeno« na straneh računa ne sodi.
 */
body.woocommerce-account .ct-trending-block { display: none; }
.woocommerce-account .woocommerce { --rp-field-border: var(--rp-caramel); }
.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}
.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after { display: none; }
.woocommerce-account #customer_login > .u-column1,
.woocommerce-account #customer_login > .u-column2,
.woocommerce-account .woocommerce-ResetPassword {
	width: auto;
	float: none;
	margin: 0;
	padding: 1.75rem;
	background: var(--rp-white);
	border: 1px solid var(--rp-cream);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
}
.woocommerce-account #customer_login h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.woocommerce-account #customer_login form { margin: 0; padding: 0; border: 0; }
.woocommerce-account .woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce-account .woocommerce form .form-row label { font-weight: 600; color: var(--rp-brown); }
.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea,
.rp-shopping-own input {
	width: 100%;
	padding: 0.7rem 0.9rem;
	background: var(--rp-white);
	border: 1px solid var(--rp-field-border, var(--rp-caramel));
	border-radius: var(--rp-radius-sm);
	color: var(--rp-brown);
}
.woocommerce-account .woocommerce input.input-text:focus,
.woocommerce-account .woocommerce select:focus,
.woocommerce-account .woocommerce textarea:focus { border-color: var(--rp-orange); box-shadow: 0 0 0 3px rgba(229, 139, 32, 0.18); }
.woocommerce-account .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-weight: 400 !important; }
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit { width: 100%; padding: 0.8rem 1rem; }
.woocommerce-account .lost_password { margin: 0.75rem 0 0; font-size: 0.92em; }
.woocommerce-account .lost_password a { color: var(--rp-orange-dark); }
.woocommerce-account .rp-register-consent label { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400 !important; }
.woocommerce-account .rp-register-consent input { margin-top: 0.3em; }

/*
 * Prijavljen: Blocksy postavi meni (.ct-acount-nav) in vsebino v vrsto (flex od 690 px) – postavitev ostane
 * Blocksyjeva, spremenimo samo videz. Ikone pisave »woo« so manjše in v barvi strani.
 */
.ct-woo-account { gap: 2rem; }
.ct-woo-account .ct-acount-nav {
	flex: 0 0 240px;
	width: 240px;
	min-width: 0;
	margin-inline-end: 0;
	background: var(--rp-white);
	border: 1px solid var(--rp-cream);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
}
.ct-woo-account .woocommerce-MyAccount-content { flex: 1 1 auto; min-width: 0; width: auto; float: none; }
.ct-woo-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0.35rem; list-style: none; font-size: 15px; }
.ct-woo-account .woocommerce-MyAccount-navigation ul li { margin: 0; }
.ct-woo-account .woocommerce-MyAccount-navigation ul li a {
	height: auto;
	min-height: 44px;
	padding: 0.55rem 0.85rem;
	border-radius: var(--rp-radius-sm);
	border-bottom: 0 !important;
	color: var(--rp-brown);
	font-weight: 600;
	text-decoration: none;
}
.ct-woo-account .woocommerce-MyAccount-navigation ul li a::before { font-size: 14px; width: 18px; margin-inline-end: 10px; color: var(--rp-caramel); }
.ct-woo-account .woocommerce-MyAccount-navigation ul li:hover a { background: var(--rp-paper); color: var(--rp-orange-dark); }
.ct-woo-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--rp-cream); color: var(--rp-brown); }
.ct-woo-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: #A33A1E !important; font-weight: 500; }
.ct-woo-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.ct-account-welcome { padding: 1rem 1rem 0.5rem; }
.ct-account-welcome img { width: 40px !important; height: 40px !important; border-radius: 50%; }

@media (max-width: 768px) {
	.woocommerce-account #customer_login { grid-template-columns: 1fr; }
}
@media (max-width: 689.98px) {
	.ct-woo-account .ct-acount-nav { width: auto; }
}

/*
 * Oddaj recept – obrazec WP Delicious Pro v slogu strani: razdelki kot kartice, enotna polja,
 * vrstica sestavine (Sestavina | Količina | Enota | Opomba).
 */
.dr-form__section {
	margin: 0 0 1.5rem;
	padding: 1.5rem;
	background: var(--rp-white);
	border: 1px solid var(--rp-cream);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
}
.dr-form-sec__title {
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--rp-cream);
	font-family: var(--rp-font-heading);
	font-size: 1.25rem;
	color: var(--rp-brown);
}
.dr-form__field > label,
.dr-form__field-row > label,
.dr-repeater-col label,
.wpdelicious-table th label { font-weight: 600; color: var(--rp-brown); }
.dr-form__info p { margin: 0.35rem 0 0; font-size: 0.88em; color: #7A6455; }
.dr-form__section input[type="text"],
.dr-form__section input[type="number"],
.dr-form__section input[type="url"],
.dr-form__section select,
.dr-form__section textarea {
	width: 100%;
	padding: 0.6rem 0.8rem;
	background: var(--rp-white);
	border: 1px solid var(--rp-caramel);
	border-radius: var(--rp-radius-sm);
	color: var(--rp-brown);
	font: inherit;
}
.dr-form__section input:focus,
.dr-form__section select:focus,
.dr-form__section textarea:focus { border-color: var(--rp-orange); box-shadow: 0 0 0 3px rgba(229, 139, 32, 0.18); }
.dr-react-select [class$="-control"] { border-color: var(--rp-caramel); border-radius: var(--rp-radius-sm); min-height: 44px; }
.dr-react-select [class$="-multiValue"] { background: var(--rp-cream); border-radius: 999px; }
/* Focus and highlighted option use the brand colours set in the form script (no CSS overrides – keyboard focus stays visible). */
.dr-react-select [class$="-control"]:focus-within { box-shadow: 0 0 0 3px rgba(229, 139, 32, 0.18); }
.dr-form-error-msg { margin-top: 0.3rem; color: #A33A1E; font-size: 0.88em; }
.dr-ud__ingredients-fields .wpdelicious-table { width: 100%; border-collapse: separate; border-spacing: 0 0.4rem; }
.dr-ud__ingredients-fields .wpdelicious-table th { text-align: left; padding: 0 0.35rem; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.04em; }
.dr-ud__ingredients-fields .wpdelicious-table td { padding: 0 0.35rem; vertical-align: middle; }
.dr-ud__ingredients-fields .dr-ingre-row td { padding-top: 0.75rem; }
.dr-form__section .rp-temp-unit { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.5rem; font-weight: 700; }
.dr-form__section .dr-input-wrap:has(.rp-yield-select) { display: flex; gap: 0.5rem; align-items: flex-start; }
.dr-form__section .rp-yield-select { flex: 0 0 auto; width: auto; }
.dr-add-ingredient-section-btn,
.dr-button-group button[type="button"] {
	padding: 0.55rem 1rem;
	background: transparent;
	color: var(--rp-brown);
	border: 1.5px solid var(--rp-brown);
	border-radius: var(--rp-radius-sm);
	font-weight: 600;
	cursor: pointer;
}
.dr-add-ingredient-section-btn:hover,
.dr-button-group button[type="button"]:hover { background: var(--rp-brown); color: var(--rp-white); }
.dr-button-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.dr-form__section .delete-btn { background: none; border: 0; color: #A33A1E; cursor: pointer; }
.dr-ud__submit-recipe-wrapper { display: flex; justify-content: flex-end; gap: 0.75rem; }

@media (max-width: 768px) {
	.dr-form__section { padding: 1rem 0.75rem; }
	/* The wrapper holds the whole form, not only the buttons: as a flex row it kept the form at its widest
	   content and pushed it past the left edge. */
	.dr-ud__submit-recipe-wrapper { display: block; }
	.dr-form__fields-wrapper { min-width: 0; }
	/* WP Delicious (dashboardPortal.css) strips padding and border from the first section ("Podrobnosti recepta"). */
	#dr-pro-submit-recipe .dr-form__section:first-child { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--rp-cream); }
	.dr-form__section { margin-bottom: 1rem; }
	/* Number and its unit (minutes/hours, °C, €) side by side. */
	.dr-form__field-inner-row { display: flex; gap: 0.5rem; }
	.dr-form__field-inner-row > .dr-form__field-wrap { flex: 1 1 0; min-width: 0; }
	/* Video: the address across, the button below it. */
	#dr-recipe-vid-url { flex: 1 1 100%; width: 100%; border-radius: var(--rp-radius-sm) !important; } /* WPD squares it with !important */
	.dr-add-btn-wrap { margin-top: 0.5rem; }

	/* Ingredients: one card per row instead of a five-column table. */
	.dr-ud__ingredients-fields .wpdelicious-table,
	.dr-ud__ingredients-fields .wpdelicious-table tbody { display: block; width: 100%; }
	.dr-ud__ingredients-fields .wpdelicious-table thead { display: none; }
	.dr-ud__ingredients-fields .dr-ingre-row {
		display: grid;
		grid-template-columns: 6.5rem minmax(0, 1fr) 36px;
		gap: 0.4rem 0.5rem;
		margin-bottom: 0.5rem;
		padding: 0.6rem;
		background: var(--rp-white);
		border: 1px solid var(--rp-cream);
		border-radius: var(--rp-radius-sm);
	}
	.dr-ud__ingredients-fields .dr-ingre-row td { display: block; padding: 0; min-width: 0; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(1) { grid-column: 3; grid-row: 1; align-self: end; justify-self: center; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(3) { grid-column: 1; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(4) { grid-column: 2; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(5) { grid-column: 1 / -1; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(6) { grid-column: 3; grid-row: 2; align-self: end; justify-self: center; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(2):not([colspan])::before { content: "Sestavina"; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(3)::before { content: "Količina"; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(4)::before { content: "Enota"; }
	.dr-ud__ingredients-fields .dr-ingre-row td:nth-child(5)::before { content: "Opomba"; }
	.dr-ud__ingredients-fields .dr-ingre-row td::before {
		display: block;
		margin-bottom: 0.2rem;
		white-space: nowrap;
		font-size: 0.8em;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--rp-brown);
	}
	/* Section title row (Testo, Nadev …): title across, "Odstrani razdelek" below it. */
	.dr-ud__ingredients-fields .dr-ingre-row td[colspan] { grid-column: 1 / 3; grid-row: 1; }
	.dr-ud__ingredients-fields .dr-ingre-row td[colspan] + td { grid-column: 1 / -1; grid-row: 2; justify-self: start; align-self: start; }
	.dr-ud__ingredients-fields .dr-ingre-row td[colspan] + td::before { content: none; }
}

/*
 * Nakupovalni seznam (faza 4b): gumb pod sestavinami recepta in zavihek v »Moj račun«.
 */
.rp-shopping-cta { margin: 1rem 0 1.5rem; }
.rp-shopping-done { margin-top: 0.5rem; color: var(--rp-brown); font-weight: 600; }
.rp-shopping-own { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; max-width: 32rem; }
.rp-shopping-own input { flex: 1; min-width: 0; }
.rp-shopping-list h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; }
.rp-shopping-list ul { list-style: none; margin: 0; padding: 0; }
.rp-shopping-list li button {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding: 0.5rem 0;
	background: none !important;
	border: 0;
	border-bottom: 1px solid var(--rp-cream);
	color: var(--rp-brown) !important;
	text-align: left;
	font: inherit;
	cursor: pointer;
}
.rp-check {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid var(--rp-caramel);
	border-radius: 4px;
}
.rp-shopping-list li.is-done .rp-check { background: var(--rp-orange); border-color: var(--rp-orange); }
.rp-shopping-list li.is-done .rp-text { text-decoration: line-through; opacity: 0.6; }
.rp-shopping-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.rp-shopping-recipes { margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: var(--rp-paper); border-radius: var(--rp-radius); }
.rp-shopping-recipes h3 { margin-top: 0; }
.rp-shopping-recipes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.rp-shopping-recipes a { color: var(--rp-brown); font-weight: 600; }
.rp-shopping-remove { margin-left: 0.5rem; min-height: 1.75rem; padding: 0.2rem 0.7rem !important; background: transparent !important; color: #A33A1E !important; border: 1px solid currentColor !important; font-size: 0.8em !important; font-weight: 500 !important; }
.rp-shopping-hint { margin: 0 0 0.5rem; font-size: 0.9em; color: #7A6455; }
.rp-shopping-list .rp-from { margin-left: auto; font-size: 0.8em; color: #7A6455; white-space: nowrap; }

/*
 * Slike v obrazcu: predogled naložene slike je bil v polni velikosti fotografije (tudi več tisoč pikslov) –
 * zdaj sličica v okvirju, brez raztega.
 */
.dr__recipe-upload-img img,
.dr-img-wrap img,
.dr-image-upload-wrap img,
.dr-instruction-repeater-row img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 220px !important;
	object-fit: contain;
	margin: 0.5rem 0;
	border-radius: var(--rp-radius-sm);
}
.dr-img-wrap { max-width: 260px; }

/* Glavna slika recepta je od teme 0.1.29 v glavi čez vso širino (postavitev C, recipe.css); povzetek v kartici
   recepta (slika, časi, gumbi) je skrit, ker je to ponavljal. */

/* Slike korakov priprave: bile so v polni velikosti fotografije (do 1672 px) – zdaj zmerna sličica ob koraku. */
.direction-step-image,
.dr-instructions img,
.directions-list img {
	display: block;
	width: auto !important;
	max-width: min(100%, 520px) !important;
	height: auto !important;
	max-height: 380px;
	object-fit: cover;
	margin: 0.75rem 0;
	border-radius: var(--rp-radius-sm);
}

/*
 * Recepti v barvah Receptarne (CGP): WP Delicious ima privzeto zeleno (#2db68d) in modro (#279bc2).
 * Spremenljivki na <body> prepišeta tisti na :root (nastavitev WP Delicious popravi tudi korak nastavitve).
 */
body {
	--primary-color: #E58B20 !important;
	--primary-color-rgb: 229, 139, 32 !important;
	--secondary-color: #4A2A1A !important;
	--secondary-color-rgb: 74, 42, 26 !important;
}

/* Gumbi recepta: oranžno z rjavim besedilom, »Natisni« rjavo, »Dodaj med priljubljene« kremno (prej roza). */
.dr-buttons .dr-btn1,
.dr-buttons .wpdelicious-btn-jump-to-recipe { background: var(--rp-orange) !important; color: var(--rp-brown) !important; border-color: var(--rp-orange) !important; }
.dr-buttons .dr-btn2,
.dr-buttons .dr-print-trigger,
.dr-button-group .dr-print-trigger { background: var(--rp-brown) !important; color: var(--rp-white) !important; border-color: var(--rp-brown) !important; }
.dr-add-to-wishlist-single .dr_wishlist__recipe,
.dr-buttons .dr-recipe-wishlist .dr_wishlist__recipe {
	background: var(--rp-cream) !important;
	color: var(--rp-brown) !important;
	border: 1.5px solid var(--rp-caramel) !important;
}
.dr-add-to-wishlist-single .dr_wishlist__recipe:hover { border-color: var(--rp-orange) !important; }
.dr-wishlist-is-bookmarked { color: var(--rp-orange-dark) !important; }
.dr-buttons .dr-recipe-wishlist .dr_wishlist__recipe.dr-wishlist-is-bookmarked { background: var(--rp-orange-dark) !important; border-color: var(--rp-orange-dark) !important; color: var(--rp-white) !important; }
/* Povezave in vrednosti v kartici recepta (prej modre). */
.dr-single-recipe .dr-summary-holder a:not(.dr-btn-link):not(.button),
.dr-single-recipe .dr-sim-metaa b,
.dr-single-recipe .post-navigation a,
.dr-single-recipe .post-navigation .dr-recipe-fig + * { color: var(--rp-brown) !important; }
.dr-single-recipe .dr-summary-holder a:not(.dr-btn-link):hover { color: var(--rp-orange-dark) !important; }
.dr-single-recipe svg [fill="#2db68d"], .dr-single-recipe svg [fill="#279bc2"] { fill: var(--rp-orange) !important; }

/* Nasveti: kremni okvir z oranžnim robom, brez belih pasov. */
.dr-single-recipe .dr-note {
	margin: 1.5rem 0 !important;
	padding: 1.25rem 1.5rem !important;
	background: var(--rp-cream) !important;
	border: 0 !important;
	border-left: 4px solid var(--rp-orange) !important;
	border-radius: var(--rp-radius) !important;
	box-shadow: none !important;
}
.dr-single-recipe .dr-note .dr-title { margin: 0 0 0.6rem !important; font-size: 1.25rem; color: var(--rp-brown); }
.dr-single-recipe .dr-note ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.dr-single-recipe .dr-note li { position: relative; margin: 0 0 0.45rem !important; padding-left: 1.4rem !important; }
.dr-single-recipe .dr-summary-holder > .dr-note::before,
.dr-single-recipe .dr-summary-holder > .dr-note::after { content: none !important; display: none !important; }
.dr-single-recipe .dr-note li::before {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0.55em !important;
	width: 0.5rem !important;
	height: 0.5rem !important;
	border-radius: 50%;
	background: var(--rp-orange) !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
}
.dr-single-recipe .dr-note li::marker { content: ""; }
.dr-single-recipe .dr-note li svg, .dr-single-recipe .dr-note li img { display: none !important; }
.dr-single-recipe .dr-note-wrap, .dr-single-recipe .dr-notes-wrap { background: none !important; padding: 0 !important; }

/* Stran Recepti: vse kategorije in recepti po sestavini (abeceda, »Pokaži vse sestavine«). */
.dr-archive-all-categories,
.dr-archive-recipe-ingrd { margin-top: 2.5rem; }
.dr-archive-all-categories .dr-title,
.dr-archive-recipe-ingrd .dr-title { font-family: var(--rp-font-heading); font-size: 1.35rem; font-weight: 700; color: var(--rp-brown); margin-bottom: 0.75rem; }
.dr-archive-cat-wrap ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.dr-archive-cat-wrap li { margin: 0; }
.dr-archive-cat-wrap li a {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	border: 1.5px solid var(--rp-caramel);
	border-radius: 999px;
	background: var(--rp-white);
	color: var(--rp-brown) !important;
	font-weight: 600;
	text-decoration: none;
}
.dr-archive-cat-wrap li a:hover { border-color: var(--rp-orange); background: var(--rp-cream); }
.dr-archive-recipe-ingrd ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.dr-archive-recipe-ingrd li { margin: 0; }
.dr-archive-recipe-ingrd .dr-link,
.dr-archive-recipe-ingrd .dr-link-disabled {
	display: inline-grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: var(--rp-radius-sm);
	font-weight: 700;
}
.dr-archive-recipe-ingrd .dr-link { background: var(--rp-orange); color: var(--rp-brown) !important; text-decoration: none; }
.dr-archive-recipe-ingrd .dr-link:hover { background: var(--rp-brown); color: var(--rp-white) !important; }
.dr-archive-recipe-ingrd .dr-link-disabled { background: var(--rp-cream); color: var(--rp-caramel); }
.dr-archive-recipe-by-alph .dr-title-alpha { color: var(--rp-orange-dark) !important; font-family: var(--rp-font-heading); font-weight: 700; font-size: 1.2rem; scroll-margin-top: 140px; }
.dr-archive-recipe-by-alph li::marker { color: var(--rp-caramel); }
.dr-archive-recipe-by-alph a { color: var(--rp-brown); }
.dr-archive-recipe-by-alph .dr-recp-count { color: #7A6455; }
details.rp-ingredients-more > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
	padding: 0.6rem 1.1rem;
	border: 1.5px solid var(--rp-brown);
	border-radius: var(--rp-radius-sm);
	color: var(--rp-brown);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
details.rp-ingredients-more > summary::-webkit-details-marker { display: none; }
details.rp-ingredients-more > summary::after { content: "▾"; }
details.rp-ingredients-more[open] > summary { display: none; }

/* Seznam člankov: brez avtorja (članke piše ekipa). */
.entries .entry-meta .meta-author { display: none !important; }

/*
 * Stran »Recepti« (arhiv WP Delicious) v slogu »Novih receptov« na naslovnici: slika 4 : 3 z zaobljenimi robovi,
 * naslov pod sliko; znak za shranjevanje ostane v kotu slike.
 */
.dr-archive-list-gridwrap { gap: 2rem 1.5rem; }
.dr-archive-single { background: none; box-shadow: none; text-align: left; }
.dr-archive-single .wpdr-feat-thumb {
	position: relative;
	margin: 0 0 0.75rem;
	border-radius: 16px;
	overflow: hidden;
}
.dr-archive-single .wpdr-feat-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	transition: transform 0.3s ease;
}
.dr-archive-single .wpdr-feat-thumb a:hover img { transform: scale(1.03); }
.dr-archive-single .dr-archive-details { padding: 0 !important; margin-top: 0 !important; text-align: left !important; }
.dr-archive-single .dr-archive-list-title { margin: 0 0 0.35rem !important; padding: 0 !important; font-size: 1.15rem; line-height: 1.3; text-align: left; }
.dr-archive-single .dr-archive-list-title a { color: var(--rp-brown); }
.dr-archive-single .dr-archive-list-title a:hover { color: var(--rp-orange-dark); }
.dr-archive-single .dr-entry-meta { justify-content: flex-start !important; gap: 1rem; padding: 0.15rem 0 0.35rem !important; font-size: 0.85rem; }
.dr-archive-single { padding-bottom: 0.5rem; }
/*
 * Ikoni časa in zahtevnosti: WP Delicious (wpdGlobal.css) jima da filter drop-shadow. Telefoni (Chrome na Androidu)
 * filter na SVG ikoni z <use> izrišejo z barvnimi progami, ki segajo čez naslov in čas – senca je bila komaj vidna.
 */
.dr-entry-meta .icon,
.dr-entry-meta svg,
.entry-footer > span .icon,
.entry-meta > span svg { filter: none !important; }

/* Galerija fotografij pod receptom (receptarna-core RP_Recipe_Gallery). */
.rp-recipe-gallery { margin: 2rem 0; }
.rp-recipe-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.rp-recipe-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rp-radius-sm); }

/* Obrazec: gumb »Odstrani razdelek« in ikone v gumbih (vlečenje, brisanje) v pravi velikosti. */
.rp-section-remove { padding: 0.3rem 0.7rem; background: transparent; color: #A33A1E; border: 1px solid currentColor; border-radius: var(--rp-radius-sm); font-size: 0.85em; cursor: pointer; white-space: nowrap; }
.dr-form__section .move-btn-wrap svg,
.dr-form__section .delete-btn svg { width: 20px !important; height: 20px !important; }
.dr-form__section .move-btn-wrap button,
.dr-form__section .delete-btn { padding: 0.25rem !important; background: none !important; border: 0 !important; line-height: 0; }

@media print {
	body.woocommerce-account header,
	body.woocommerce-account footer,
	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .rp-shopping-own,
	body.woocommerce-account .rp-shopping-actions,
	body.woocommerce-account .entry-header { display: none !important; }
	body.woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
	.rp-shopping-list li button { padding: 0.25rem 0; }
}

/*
 * Iskalno okno v glavi (Blocksy, čez celo stran). Blocksy barve polja jemlje iz palete, zato je bilo
 * vpisano besedilo belo na svetlem ozadju. Svetlo ozadje Receptarne, temno besedilo, oranžni gumb.
 */
#search-modal {
	--theme-form-text-initial-color: var(--rp-brown) !important;
	--theme-form-text-focus-color: var(--rp-brown) !important;
	--theme-form-field-border-initial-color: var(--rp-caramel) !important;
	--theme-form-field-border-focus-color: var(--rp-orange) !important;
	--theme-link-initial-color: var(--rp-brown) !important;
	--theme-link-hover-color: var(--rp-orange-dark) !important;
	--theme-text-color: var(--rp-brown) !important;
	background-color: rgba(247, 243, 232, 0.98) !important;
	color: var(--rp-brown);
}
#search-modal input[type="search"] {
	color: var(--rp-brown) !important;
	font-size: clamp(1.3rem, 3vw, 2rem);
	font-weight: 600;
	border-bottom: 2px solid var(--rp-caramel);
}
#search-modal input[type="search"]:focus {
	border-bottom-color: var(--rp-orange);
}
#search-modal input[type="search"]::placeholder {
	color: rgba(74, 42, 26, 0.5);
	font-weight: 500;
}
#search-modal .ct-search-results a {
	border-radius: var(--rp-radius);
	color: var(--rp-brown);
	font-weight: 600;
	transition: background-color 0.2s ease;
}
#search-modal .ct-search-results a:hover,
#search-modal .ct-search-results a:focus-visible {
	background-color: var(--rp-cream);
	color: var(--rp-brown);
}
#search-modal .ct-toggle-close {
	--theme-icon-color: var(--rp-brown) !important;
	--theme-icon-hover-color: var(--rp-orange) !important;
}

/*
 * Izbira jezika (Polylang, izpustni seznam): izbrani jezik je "tableta" z zastavico,
 * drugi jezik se odpre pod njo. Razreda: .pll-parent-menu-item (izbrani), .lang-item (seznam).
 */
.pll-parent-menu-item > .ct-menu-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	height: auto;
	padding: 0.4em 0.9em;
	border: 1.5px solid var(--rp-caramel);
	border-radius: 999px;
	background: var(--rp-white);
	color: var(--rp-brown);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pll-parent-menu-item:hover > .ct-menu-link,
.pll-parent-menu-item:focus-within > .ct-menu-link {
	border-color: var(--rp-orange);
	box-shadow: 0 0 0 3px rgba(229, 139, 32, 0.15);
	color: var(--rp-brown);
}
.pll-parent-menu-item .ct-toggle-dropdown-desktop svg {
	transition: transform 0.2s ease;
}
.pll-parent-menu-item:hover .ct-toggle-dropdown-desktop svg,
.pll-parent-menu-item:focus-within .ct-toggle-dropdown-desktop svg {
	transform: rotate(180deg);
}
.pll-parent-menu-item > .sub-menu {
	min-width: 170px;
	padding: 0.4em;
	border-radius: var(--rp-radius);
	background: var(--rp-white);
	box-shadow: 0 8px 24px rgba(74, 42, 26, 0.14);
}
.pll-parent-menu-item .lang-item > .ct-menu-link {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.55em 0.8em;
	border-radius: var(--rp-radius-sm);
	color: var(--rp-brown);
	font-weight: 500;
}
.pll-parent-menu-item .lang-item > .ct-menu-link:hover,
.pll-parent-menu-item .lang-item > .ct-menu-link:focus-visible {
	background: var(--rp-cream);
	color: var(--rp-brown);
}
.pll-parent-menu-item img,
.lang-item img {
	width: 18px !important;
	height: auto !important;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(74, 42, 26, 0.15);
}
/*
 * Lepljiva glava (ob pomikanju): Blocksy tam menijske povezave obarva belo in jim da višino vrstice – tableta je
 * bila bela brez napisa in previsoka.
 */
header [data-sticky] .pll-parent-menu-item > .ct-menu-link,
header .pll-parent-menu-item > .ct-menu-link {
	height: auto !important;
	min-height: 0 !important;
	color: var(--rp-brown) !important;
	background: var(--rp-white) !important;
}
header [data-sticky] .pll-parent-menu-item .lang-item > .ct-menu-link { color: var(--rp-brown) !important; }
/* Mobilni meni: seznam brez tablete, a z zastavicami. */
#offcanvas .pll-parent-menu-item > .ct-menu-link {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

/* Zmanjšano gibanje */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Prejšnji / naslednji recept pod receptom: rjavo besedilo, slika z zaobljenimi robovi. */
.post-navigation .nav-links article *:not(img):not(svg):not(path) { color: var(--rp-brown) !important; }
.post-navigation .nav-links .dr-recipe-fig img { border-radius: var(--rp-radius-sm); }

/*
 * Tedenski jedilnik (Moj račun → Jedilnik, gumb na receptu): dnevi kot kartice, v njih obroki; recept kot kartica s
 * sliko, časom in porcijami; orodja v meniju »⋯«; prazen obrok »+ Dodaj«. Na telefonu obroki pod seboj.
 */
.rp-meal-cta { margin: -0.5rem 0 1.5rem; }
.rp-meal-add { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: flex-end; }
.rp-meal-add label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85em; font-weight: 600; color: var(--rp-brown); }
.rp-meal-add select { max-width: 17rem; }
.rp-meal-add-title { flex-basis: 100%; margin: 0; font-weight: 700; color: var(--rp-brown); }
.rp-meal-add input[type="number"] { width: 5rem; }
.rp-meal-locked { font-size: 0.92em; color: var(--rp-brown); background: var(--rp-cream); border-radius: var(--rp-radius-sm); padding: 0.6rem 0.9rem; }

.rp-meal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.75rem; }
.rp-meal-nav { display: flex; align-items: center; gap: 0.5rem; }
.rp-meal-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--rp-brown); color: var(--rp-brown); font-size: 1.4rem; line-height: 1; text-decoration: none; }
.rp-meal-arrow:hover { background: var(--rp-orange); border-color: var(--rp-orange); color: var(--rp-white); }
.rp-meal-range { font-weight: 700; font-size: 1.15rem; color: var(--rp-brown); min-width: 11rem; text-align: center; }
.rp-meal-thisweek { font-size: 0.85rem; font-weight: 600; color: var(--rp-orange-dark); }
.rp-meal-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rp-meal-stats li { margin: 0; color: var(--rp-brown); font-size: 0.85rem; background: var(--rp-cream); padding: 0.25rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.rp-meal-stats li:first-child { font-weight: 700; }
.rp-meal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.rp-meal-primary { background: var(--rp-orange) !important; border-color: var(--rp-orange) !important; color: var(--rp-white) !important; }
.rp-meal-primary[disabled] { opacity: 0.5; }

.rp-meal-days { display: grid; gap: 0.9rem; }
.rp-meal-day { background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius); box-shadow: var(--rp-shadow); overflow: hidden; }
.rp-meal-day.is-today { border: 2px solid var(--rp-orange); }
.rp-meal-day.is-past { opacity: 0.72; }
.rp-meal-dayhead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0.6rem 1rem; background: var(--rp-paper); border-bottom: 1px solid var(--rp-cream); }
.rp-meal-dayhead h3 { margin: 0; font-size: 1.05rem; color: var(--rp-brown); }
.rp-meal-badge { background: var(--rp-orange); color: var(--rp-white); font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.rp-meal-daysum { margin-left: auto; font-size: 0.85rem; color: var(--rp-brown); opacity: 0.85; }
.rp-meal-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; padding: 0.75rem; }
.rp-meal-slot { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.rp-meal-slot h4 { margin: 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rp-orange-dark); }
.rp-meal-add-slot { display: flex; align-items: center; justify-content: center; min-height: 3.2rem; border: 1.5px dashed var(--rp-caramel); border-radius: var(--rp-radius-sm); color: var(--rp-brown); font-size: 0.85rem; font-weight: 600; text-decoration: none; opacity: 0.75; }
.rp-meal-add-slot:hover { opacity: 1; border-color: var(--rp-orange); background: #FBEEDC; }
.rp-meal-slot:not(.is-empty) .rp-meal-add-slot { min-height: 2rem; font-size: 0.8rem; }

.rp-meal-item { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.5rem; padding: 0.45rem; background: var(--rp-paper); border-radius: var(--rp-radius-sm); border: 1px solid var(--rp-cream); }
.rp-meal-thumb { display: block; width: 3.4rem; height: 3.4rem; border-radius: 6px; overflow: hidden; background: var(--rp-cream); }
.rp-meal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-meal-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; padding-right: 1.4rem; }
.rp-meal-title { font-weight: 600; font-size: 0.88rem; line-height: 1.25; color: var(--rp-brown); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-meal-title:hover { color: var(--rp-orange-dark); }
.rp-meal-meta { font-size: 0.75rem; color: var(--rp-brown); opacity: 0.75; }
.rp-meal-servings { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--rp-brown); }
.rp-meal-servings button { border: 1px solid var(--rp-caramel); background: var(--rp-white); color: var(--rp-brown); border-radius: 999px; width: 1.75rem; height: 1.75rem; line-height: 1; padding: 0; cursor: pointer; font-size: 0.9rem; }
.rp-meal-servings button:disabled { opacity: 0.4; cursor: default; }
.rp-meal-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; }
.rp-meal-servings > span { white-space: nowrap; }
.rp-meal-item .rp-meal-swap { border: 0; background: none; border-radius: 0; padding: 0.1rem 0; color: var(--rp-orange-dark); font-size: 0.78rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.rp-meal-item .rp-meal-swap:hover, .rp-meal-item .rp-meal-swap:focus-visible { background: none; color: var(--rp-brown); }
.rp-meal-item:focus, .rp-meal-slot:focus { outline: 3px solid var(--rp-orange-dark); outline-offset: 2px; }
.rp-meal-item:focus:not(:focus-visible), .rp-meal-slot:focus:not(:focus-visible) { outline-color: var(--rp-orange); }
.rp-meal-item[draggable="true"] { cursor: grab; }
.rp-meal-item.is-dragging { opacity: 0.45; }
.rp-meal-slot.is-drop { outline: 2px dashed var(--rp-orange); outline-offset: 3px; border-radius: var(--rp-radius-sm); background: #FBEEDC; }
.rp-meal.is-busy .rp-meal-days { opacity: 0.6; cursor: progress; transition: opacity 0.15s; }

/* Prazen teden: »Napolni« z enim klikom in predlogi (priljubljeni, sezonski, priljubljeni ta mesec). */
.rp-meal-ideas { margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: var(--rp-paper); border: 1px solid var(--rp-cream); border-left: 4px solid var(--rp-orange); border-radius: var(--rp-radius); }
.rp-meal-ideas h3 { margin: 0 0 0.25rem; font-size: 1.15rem; color: var(--rp-brown); }
.rp-meal-ideas-head p { margin: 0 0 0.75rem; }
.rp-meal-ideas-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.rp-meal-ideas-cta a { color: var(--rp-orange-dark); font-weight: 600; }
.rp-meal-big { font-size: 1.05rem !important; padding: 0.7rem 1.4rem !important; }
.rp-meal-ideas-group h4 { margin: 1rem 0 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rp-orange-dark); }
.rp-meal-ideas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.5rem; }
.rp-meal-idea { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; margin: 0; padding: 0.4rem; background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius-sm); }
.rp-meal-idea .rp-meal-thumb { width: 3rem; height: 3rem; }
.rp-meal-idea .rp-meal-idea-add { border: 1.5px solid var(--rp-orange); background: var(--rp-white); color: var(--rp-orange-dark); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rp-meal-idea .rp-meal-idea-add:hover, .rp-meal-idea .rp-meal-idea-add:focus-visible { background: var(--rp-orange); color: var(--rp-white); }
.rp-meal-more { position: absolute; top: 0.2rem; right: 0.2rem; }
.rp-meal-more summary { list-style: none; cursor: pointer; width: 1.75rem; height: 1.75rem; line-height: 1.6rem; text-align: center; border-radius: 50%; color: var(--rp-brown); font-weight: 700; }
.rp-meal-more summary::-webkit-details-marker { display: none; }
.rp-meal-more summary:hover, .rp-meal-more[open] summary { background: var(--rp-cream); }
.rp-meal-menu { position: absolute; right: 0; top: 1.8rem; z-index: 20; width: 15rem; background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius-sm); box-shadow: 0 8px 24px rgba(74, 42, 26, 0.15); padding: 0.75rem; display: grid; gap: 0.5rem; }
.rp-meal-menu label { display: grid; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--rp-brown); }
.rp-meal-menu select { font-size: 0.85rem; }
.rp-meal-menu .rp-shopping-remove { justify-self: start; }

.rp-meal-fill { background: var(--rp-cream); border-radius: var(--rp-radius); margin-top: 1.25rem; }
.rp-meal-fill summary { cursor: pointer; padding: 0.9rem 1.25rem; color: var(--rp-brown); }
.rp-meal-fill summary span { opacity: 0.8; font-size: 0.9rem; }
.rp-meal-fill form { padding: 0 1.25rem 1.1rem; }
.rp-meal-fill p { margin: 0 0 0.75rem; }
.rp-meal-chips { border: 0; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rp-meal-chips legend { font-weight: 700; margin-bottom: 0.35rem; }
.rp-meal-chips label { cursor: pointer; }
.rp-meal-chips input { position: absolute; opacity: 0; }
.rp-meal-chips span { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--rp-brown); background: var(--rp-white); color: var(--rp-brown); font-weight: 600; font-size: 0.88rem; }
.rp-meal-chips input:checked + span { background: var(--rp-brown); color: var(--rp-white); }
.rp-meal-chips input:focus-visible + span { outline: 3px solid var(--rp-orange-dark); outline-offset: 2px; }
.rp-meal-fill-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; align-items: center; }
.rp-meal-fill-row input[type="number"] { width: 4.5rem; }
.rp-meal-fill-row { margin-top: 0.25rem; }
.rp-meal-field { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; max-width: 100%; }
.rp-meal-field input[type="text"] { width: 14rem; max-width: 100%; }
.rp-meal-chips--small span { padding: 0.25rem 0.75rem; font-size: 0.82rem; border-width: 1px; }
.rp-meal-hint { flex-basis: 100%; margin: 0.25rem 0 0 !important; font-size: 0.8rem; color: #7A6455; }

/* Predogled za Free (tabela). */
.rp-meal-grid { width: 100%; border-collapse: separate; border-spacing: 0.35rem; table-layout: fixed; }
.rp-meal-grid th { font-size: 0.85em; color: var(--rp-brown); text-align: left; padding: 0.3rem; }
.rp-meal-grid td { background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius-sm); padding: 0.35rem; }
.rp-meal-preview { position: relative; filter: blur(1px); opacity: 0.55; pointer-events: none; margin-top: 1rem; }
.rp-meal-preview .rp-meal-grid tbody th { width: 5.5rem; }
.rp-meal-ghost { display: block; height: 2.4rem; border-radius: 4px; background: linear-gradient(90deg, var(--rp-cream), var(--rp-paper)); }
.rp-meal-invite { background: var(--rp-cream); border-left: 4px solid var(--rp-orange); border-radius: var(--rp-radius-sm); padding: 1rem 1.25rem; }
.rp-meal-invite h3 { margin-top: 0; }

@media (max-width: 1100px) {
	.rp-meal-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.rp-meal-slots { grid-template-columns: 1fr; }
	.rp-meal-daysum { margin-left: 0; flex-basis: 100%; }
	.rp-meal-range { min-width: 0; font-size: 1rem; }
}
@media print {
	body.woocommerce-account .rp-meal-nav a,
	body.woocommerce-account .rp-meal-actions,
	body.woocommerce-account .rp-meal-fill,
	body.woocommerce-account .rp-meal-more,
	body.woocommerce-account .rp-meal-add-slot,
	body.woocommerce-account .rp-meal-stats,
	body.woocommerce-account .rp-meal-ideas,
	body.woocommerce-account .rp-meal-swap,
	body.woocommerce-account .rp-meal-servings button { display: none !important; }
	.rp-meal-day { box-shadow: none; break-inside: avoid; opacity: 1 !important; }
	.rp-meal-slots { grid-template-columns: repeat(4, 1fr); }
	.rp-meal-thumb { width: 2.4rem; height: 2.4rem; }
	.rp-meal-item { grid-template-columns: 2.4rem 1fr; }
}

/*
 * Gumbi recepta ob »Dodaj med priljubljene« (RP_Recipe_Actions): mere kot gumbi WP Delicious (.dr-btn-link),
 * vsak svoja barva (seznam belo, jedilnik svetlo oranžno, knjiga obroba); izbran = temno oranžen s kljukico.
 * !important, ker Blocksy in WP Delicious gumbom in povezavam v .dr-buttons dajeta svoje barve in robove.
 */
.dr-buttons .rp-recipe-actions,
.dr-buttons .rp-action-form { display: contents; }
.rp-recipe-actions .rp-action {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	box-sizing: border-box; min-height: 0 !important; height: auto !important;
	margin: 0 15px 16px 0 !important; padding: 9px 24px !important;
	border: 1.5px solid var(--rp-caramel) !important; border-radius: 4px !important;
	background: var(--rp-white) !important; color: var(--rp-brown) !important; box-shadow: none !important;
	font-family: inherit !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.75 !important;
	letter-spacing: normal !important; text-transform: none !important; text-decoration: none !important;
	cursor: pointer; opacity: 1 !important; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.rp-recipe-actions .rp-action::after { display: none !important; }
.rp-recipe-actions .rp-action--plan { background: #FBE6CA !important; border-color: var(--rp-orange) !important; }
.rp-recipe-actions .rp-action--book { background: transparent !important; border-color: var(--rp-brown) !important; }
.rp-recipe-actions .rp-action:hover,
.rp-recipe-actions .rp-action:focus-visible { border-color: var(--rp-orange-dark) !important; color: var(--rp-orange-dark) !important; }
.rp-recipe-actions .rp-action.is-done,
.rp-recipe-actions .rp-action.is-done:hover {
	background: var(--rp-orange-dark) !important; border-color: var(--rp-orange-dark) !important; color: var(--rp-white) !important;
}
.rp-action-icon, .rp-action-check { flex: none; }
.rp-action-note { flex-basis: 100%; order: 99; margin: -6px 0 16px; font-size: 0.9rem; color: var(--rp-brown); }
.rp-action-note a { color: var(--rp-orange-dark); font-weight: 600; }
.rp-meal-cta { margin: 1.5rem 0; }
.rp-tier-badge { padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--rp-brown); color: var(--rp-white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; }
.rp-card-actions { position: absolute; top: 16px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 0.4rem; }
.rp-card-actions form { margin: 0; }
.rp-card-action {
	display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
	border-radius: 50%; background: var(--rp-white); color: var(--rp-brown); border: 0;
	box-shadow: var(--rp-shadow); cursor: pointer;
}
.rp-card-action:hover, .rp-card-action:focus-visible { color: var(--rp-orange-dark); }
.rp-card-action.is-done { background: var(--rp-orange); color: var(--rp-white); }
@media print { .rp-recipe-actions, .rp-card-actions { display: none !important; } }

/* Moja knjiga (kuharska knjiga PDF, Pro). */
.rp-cookbook-cta { margin: -0.5rem 0 1.5rem; }
.rp-cookbook-head { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.rp-cookbook-head input[type="text"] { min-width: 16rem; }
.rp-cookbook-list { margin: 1rem 0; padding-left: 1.5rem; }
.rp-cookbook-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--rp-cream); }
.rp-cookbook-list a { color: var(--rp-brown); font-weight: 600; text-decoration: none; }
.rp-cookbook-tools { float: right; display: inline-flex; gap: 0.3rem; }
.rp-cookbook-tools button { border: 1px solid var(--rp-caramel); background: var(--rp-white); color: var(--rp-brown); border-radius: var(--rp-radius-sm); padding: 0.05rem 0.5rem; cursor: pointer; }
.rp-cookbook-pdf { background: var(--rp-orange) !important; border-color: var(--rp-orange) !important; color: var(--rp-white) !important; }

/* Oddaj recept v načinu urejanja (Moji recepti → Uredi). */
.rp-edit-head { background: var(--rp-cream); border-left: 4px solid var(--rp-orange); border-radius: var(--rp-radius-sm); padding: 0.6rem 1rem; font-weight: 600; color: var(--rp-brown); }
.rp-mine-actions { white-space: nowrap; }
.rp-mine-actions .button { margin-left: 0.4rem; padding: 0.3rem 0.8rem; }
.rp-mine-note { font-size: 0.85em; color: var(--rp-brown); opacity: 0.8; }

/*
 * Ikona računa v glavi: gumb z besedilom »Prijava« oz. imenom uporabnika (besedilo vklopi korak »Meni, noga …«),
 * na telefonu večja ikona s površino za dotik 44 px.
 */
.ct-header-account .ct-account-item {
	display: inline-flex !important;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.35rem 0.9rem;
	border: 1.5px solid var(--rp-brown);
	border-radius: 999px;
	color: var(--rp-brown) !important;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ct-header-account .ct-account-item:hover,
.ct-header-account .ct-account-item:focus-visible {
	background: var(--rp-orange);
	border-color: var(--rp-orange);
	color: var(--rp-white) !important;
}
.ct-header-account .ct-account-item .ct-icon { width: 20px !important; height: 20px !important; fill: currentColor; }
.ct-header-account .ct-account-item img { width: 26px !important; height: 26px !important; border-radius: 50%; }
.ct-header-account .ct-account-item .ct-label { max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 689.98px) {
	.ct-header-account .ct-account-item { padding: 0; width: 44px; justify-content: center; border-width: 0; }
	.ct-header-account .ct-account-item .ct-icon { width: 26px !important; height: 26px !important; }
	.ct-header-account .ct-account-item img { width: 30px !important; height: 30px !important; }
}

/* Članstvo: izbira paketa Free / Plus / Pro. */
.rp-plans-current { background: var(--rp-cream); border-radius: var(--rp-radius-sm); padding: 0.6rem 1rem; }
.rp-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.rp-plan { background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius); padding: 1.25rem; display: flex; flex-direction: column; box-shadow: var(--rp-shadow); }
.rp-plan h3 { margin: 0; font-size: 1.4rem; color: var(--rp-brown); }
.rp-plan-price { font-size: 1.1rem; font-weight: 700; color: var(--rp-orange-dark); margin: 0.25rem 0 0.75rem; }
.rp-plan ul { margin: 0 0 1rem; padding-left: 1.1rem; flex: 1; }
.rp-plan li { margin: 0.3rem 0; }
.rp-plan li em { color: var(--rp-caramel); }
.rp-plan--plus { border-color: var(--rp-caramel); }
.rp-plan--pro { border: 2px solid var(--rp-orange); }
.rp-plan.is-current { outline: 3px solid var(--rp-orange); outline-offset: 2px; }
.rp-plan-buy { background: var(--rp-orange) !important; border-color: var(--rp-orange) !important; color: var(--rp-white) !important; text-align: center; }
.rp-plan .button.disabled { opacity: 0.6; cursor: default; text-align: center; }
.rp-plan-mine { font-weight: 700; color: var(--rp-brown); text-align: center; margin: 0; }

/* Statistika receptov (Moj račun → Statistika). */
/* Statistika ogledov (Moj račun → Statistika): obdobja, povzetki, graf z osjo, tabela s stolpci in trendom. */
.rp-stats-periods { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; margin-bottom: 1rem; background: var(--rp-cream); border-radius: 999px; }
.rp-stats-periods a { padding: 0.35rem 0.95rem; border-radius: 999px; color: var(--rp-brown); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.rp-stats-periods a:hover { background: var(--rp-white); }
.rp-stats-periods a.is-current { background: var(--rp-brown); color: var(--rp-white); }
.rp-stats-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.rp-stats-card { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius); box-shadow: var(--rp-shadow); min-width: 0; }
.rp-stats-card strong { font-size: 1.7rem; line-height: 1.1; color: var(--rp-brown); }
.rp-stats-top a { font-weight: 700; color: var(--rp-orange-dark); line-height: 1.25; overflow-wrap: anywhere; }
.rp-stats-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rp-orange-dark); }
.rp-stats-small { font-size: 0.78rem; color: var(--rp-brown); opacity: 0.75; }
.rp-trend { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.rp-trend.is-up { color: #2F7D4A; }
.rp-trend.is-down { color: #B3412E; }
.rp-trend.is-flat, .rp-trend.is-none { color: var(--rp-caramel); }
.rp-stats-figure { margin: 0 0 1.25rem; padding: 0.9rem 1rem 0.6rem; background: var(--rp-white); border: 1px solid var(--rp-cream); border-radius: var(--rp-radius); }
.rp-stats-figure figcaption { font-weight: 700; color: var(--rp-brown); margin-bottom: 0.5rem; }
.rp-stats-chart { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 1.2rem; border-bottom: 2px solid var(--rp-cream); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), var(--rp-paper) calc(25% - 1px) 25%); }
.rp-stats-max { position: absolute; top: 0; left: 0; font-size: 0.7rem; color: var(--rp-caramel); }
.rp-stats-bar { position: relative; flex: 1; min-width: 2px; background: var(--rp-orange); border-radius: 3px 3px 0 0; }
.rp-stats-bar:hover { background: var(--rp-orange-dark); }
.rp-stats-bar.is-zero { background: var(--rp-cream); }
.rp-stats-bar i { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--rp-brown); }
.rp-stats-bar:hover i { display: block; }
.rp-stats-axis { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--rp-caramel); padding-top: 0.25rem; }
.rp-stats-table .num { text-align: right; white-space: nowrap; }
.rp-stats-cell { position: relative; min-width: 7rem; }
.rp-stats-rowbar { position: absolute; right: 0.5rem; top: 50%; height: 0.5rem; max-width: calc(100% - 3.5rem); transform: translateY(-50%) translateX(-2.5rem); background: #F6D5AE; border-radius: 999px; }
.rp-stats-cell b { position: relative; }
.rp-stats-lang { font-size: 0.7em; font-weight: 700; color: var(--rp-caramel); border: 1px solid var(--rp-cream); border-radius: 4px; padding: 0 0.25rem; }
@media (max-width: 900px) { .rp-stats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rp-stats-card strong { font-size: 1.4rem; } .rp-stats-cell { min-width: 0; } .rp-stats-rowbar { display: none; } }

/* Prehrana in alergije. */
.rp-diet-notice { background: var(--rp-cream); border-left: 4px solid var(--rp-orange); border-radius: var(--rp-radius-sm); padding: 0.6rem 1rem; margin: 0 0 1.25rem; }
.rp-diet-warning { background: #FBEEDC; border-left: 4px solid var(--rp-orange-dark); border-radius: var(--rp-radius-sm); padding: 0.6rem 1rem; font-weight: 600; color: var(--rp-brown); }
.rp-diet-form fieldset { border: 1px solid var(--rp-cream); border-radius: var(--rp-radius-sm); padding: 0.75rem 1rem; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.4rem 1rem; }
.rp-diet-form legend { font-weight: 700; padding: 0 0.3rem; }
.rp-diet-disclaimer { font-size: 0.88em; color: var(--rp-brown); opacity: 0.85; }

/* Jedilnik: samo glavni gumb oranžen; pod izpolnjenim obrokom diskreten »+ Dodaj«. */
.rp-meal-actions .button:not(.rp-meal-primary):not(.rp-button-danger) { background: var(--rp-white) !important; color: var(--rp-brown) !important; border: 1.5px solid var(--rp-brown) !important; }
.rp-meal-slot:not(.is-empty) .rp-meal-add-slot { border: 0; min-height: 0; justify-content: flex-start; padding: 0.1rem 0.25rem; font-size: 0.8rem; color: var(--rp-orange-dark); background: none; }

/* Filtri receptov (iskanje, /recepti/, stran avtorja): iskalno polje + razpiraj »Filtri«. */
/* Blocksy's --theme-container-width is the content width (90vw on small screens), not a padding. Inside the type-1
   title (search, /recepti/) it resolves to 100% of the list; below a type-2 title (author page) to the container. */
.rp-filters { width: var(--theme-container-width, 90vw); max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto 1.5rem; padding: 0; box-sizing: border-box; }
.rp-filters__search { display: flex; gap: 0.5rem; }
.rp-filters__search input[type="search"] { flex: 1; min-width: 0; }
.rp-filters__more { margin-top: 0.6rem; background: var(--rp-cream); border-radius: var(--rp-radius); padding: 0.5rem 1rem; }
.rp-filters__more summary { cursor: pointer; font-weight: 700; color: var(--rp-brown); padding: 0.25rem 0; }
.rp-filters__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.6rem 1rem; margin-top: 0.6rem; }
.rp-filters__field { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; font-weight: 600; color: var(--rp-brown); }
.rp-filters__field select { width: 100%; background: var(--rp-white); }
.rp-filters__diet { grid-column: 1 / -1; border: 1px solid var(--rp-caramel); border-radius: var(--rp-radius-sm); padding: 0.5rem 0.9rem; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.3rem 1rem; }
.rp-filters__diet legend { font-weight: 700; padding: 0 0.3rem; color: var(--rp-brown); }
.rp-filters__actions { margin: 0.8rem 0 0.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.rp-filters__actions a { color: var(--rp-orange-dark); }
@media (max-width: 480px) { .rp-filters__search .button { padding-inline: 0.9rem; } }

/* Recepti: Blocksy's title band replaces WP Delicious' own archive heading (inc/archive.php). */
.rp-has-title-band .dr-entry-header { display: none; }

/* Touch screens: small controls get a 44 px target (WCAG 2.5.5); look unchanged. */
@media (pointer: coarse) {
	.rp-meal-servings button, .rp-meal-more summary { width: 2.75rem; height: 2.75rem; line-height: 2.6rem; }
	.rp-shopping-remove { min-height: 2.75rem; }
}
