/*
Theme Name: Izza's Cakes
Theme URI: https://getinweb.in
Author: getinweb
Author URI: https://getinweb.in
Description: A warm, premium theme for Izza's Cakes, a home bakery in Kerala. Deep forest green, antique gold and cream, with ordering on WhatsApp. Includes designed templates for Home, About, Products, Brownies, Special Occasions and Contact, a Bakes post type, customer reviews, Customizer settings and a one-click setup. Works with the block editor, Elementor and other page builders, WooCommerce, SEO, form and caching plugins.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: izza-cakes
Tags: food-and-drink, e-commerce, one-column, two-columns, right-sidebar, custom-logo, custom-menu, editor-style, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */

:root {
	--font-brand-serif: "Cormorant Garamond", Georgia, serif;
	--font-brand-script: "Allura", cursive;
	--font-brand-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--forest-dark: oklch(20.5% 0.039 167);
	--forest: oklch(24.5% 0.035 168);
	--forest-muted: oklch(43% 0.031 162);
	--gold: oklch(74.6% 0.116 82);
	--gold-dark: oklch(60.8% 0.111 77);
	--gold-light: oklch(83% 0.083 88);
	--sage: oklch(79% 0.049 163);
	--cream: oklch(95.6% 0.021 91);
	--ivory: oklch(98.2% 0.012 91);
	--green-light: oklch(90% 0.036 161);
	--border: oklch(86.2% 0.031 88);
	--muted-foreground: oklch(45% 0.03 159);

	--izza-content: 760px;
	--izza-wide: 1160px;
	--izza-gutter: clamp(20px, 6vw, 48px);
}

/* Browsers without oklch() get the hex values from the brand document. */
@supports not (color: oklch(50% 0.1 100)) {
	:root {
		--forest-dark: #0b221b;
		--forest: #0f2a22;
		--forest-muted: #4a6158;
		--gold: #c9a24a;
		--gold-dark: #a27d2a;
		--gold-light: #e0c88a;
		--sage: #8fc1a9;
		--cream: #f7f2e8;
		--ivory: #fcf9f3;
		--green-light: #d4e8dd;
		--border: #e3d9c4;
		--muted-foreground: #4f655c;
	}
}

/* -------------------------------------------------------------------------
   Base. Everything uses :where() (zero specificity) so plugin styles
   always win over the theme's defaults.
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--forest);
	font-family: var(--font-brand-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

:where(img, video, iframe, embed, object) {
	max-width: 100%;
}

:where(img) {
	height: auto;
}

:where(h1, h2, h3, h4, h5, h6) {
	color: var(--forest);
	font-family: var(--font-brand-serif);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

:where(a) {
	color: var(--forest);
}

:where(a:hover) {
	color: var(--gold-dark);
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

/* Scoped reset for the theme's own designed sections (class "izza-ui").
   Content from the editor, page builders and plugins is never inside it. */
:where(.izza-ui),
:where(.izza-ui) * {
	box-sizing: border-box;
}

:where(.izza-ui) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd) {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	font-family: inherit;
}

:where(.izza-ui) :where(ul, ol) {
	list-style: none;
}

:where(.izza-ui) :where(a) {
	color: inherit;
	text-decoration: inherit;
}

:where(.izza-ui) :where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0 solid var(--border);
	margin: 0;
	padding: 0;
}

:where(.izza-ui) :where(button) {
	cursor: pointer;
}

:where(.izza-ui) :where(img) {
	display: block;
	max-width: 100%;
}

.izza-ui [hidden] {
	display: none !important;
}

.izza-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* -------------------------------------------------------------------------
   WordPress core classes
   ------------------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--ivory);
	clip: auto !important;
	clip-path: none;
	color: var(--forest);
	display: block;
	font-size: 14px;
	font-weight: 600;
	height: auto;
	left: 6px;
	padding: 14px 22px;
	top: 6px;
	width: auto;
	z-index: 100000;
}

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption-text,
.gallery-caption {
	color: var(--muted-foreground);
	font-size: 13px;
	margin-top: 8px;
	text-align: center;
}

.sticky,
.bypostauthor {
	/* Styled in assets/css/wordpress.css. */
	position: relative;
}
