/*
Theme Name: Persian Signature
Author: Persian Signature
Description: Light custom theme for persiansignature.com (design 1: white, centred serif headings, thin gold lines, square black buttons). No page builder.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: persiansignature
*/

/* ---------- tokens ---------- */
:root {
	--ps-bg: #ffffff;
	--ps-soft: #faf6f0;
	--ps-ink: #1c1a17;
	--ps-muted: #6f675d;
	--ps-line: #e9e2d8;
	--ps-accent: #9b1c1c;
	--ps-gold: #8a6100;
	--ps-gold-line: #b07d00;
	--ps-hf: Georgia, "Times New Roman", serif;
	--ps-bf: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--ps-wrap: 1120px;
}

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

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

body {
	margin: 0;
	background: var(--ps-bg);
	color: var(--ps-ink);
	font-family: var(--ps-bf);
	font-size: 16px;
	line-height: 1.7;
}

h1,
h2,
h3,
h4 {
	font-family: var(--ps-hf);
	line-height: 1.2;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.entry a,
.ps-textlink {
	color: var(--ps-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

:focus-visible {
	outline: 2px solid var(--ps-accent);
	outline-offset: 3px;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ps-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	background: var(--ps-ink);
	color: #fff;
	padding: 10px 16px;
	z-index: 100;
}

.ps-skip:focus {
	top: 12px;
}

/* ---------- buttons ---------- */
.ps-btn {
	display: inline-block;
	padding: 12px 24px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	background: var(--ps-ink);
	color: #fff;
	border: 1.5px solid var(--ps-ink);
	cursor: pointer;
}

.ps-btn:hover {
	background: #000;
}

.ps-btn--sm {
	padding: 9px 16px;
	font-size: 14px;
}

.ps-link {
	display: inline-block;
	padding: 12px 4px;
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1.5px solid var(--ps-ink);
}

.ps-cta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	align-items: center;
}

.ps-cta--center {
	justify-content: center;
}

/* ---------- labels and section heads ---------- */
.ps-eyebrow {
	color: var(--ps-gold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 12.5px;
	font-weight: 600;
}

.ps-head {
	text-align: center;
	margin-bottom: 30px;
}

/* The gold "zafaran" mark from the jar label, above centred titles. */
.ps-head::before,
.ps-article__head::before {
	content: "";
	display: block;
	width: 30px;
	height: 46px;
	margin: 0 auto 10px;
	background: url(img/zafaran-gold-124.png) center / contain no-repeat;
}

/* Two classes on purpose: WooCommerce's own "img { height: auto }" rule is stronger than one class. */
.ps-product__info .ps-mark {
	height: 54px;
	width: auto;
	max-width: none;
	margin: 0 0 10px;
}

.ps-head h1,
.ps-head h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	margin: 8px 0 0;
}

.ps-head h1::after,
.ps-head h2::after {
	content: "";
	display: block;
	width: 54px;
	height: 2px;
	background: var(--ps-gold-line);
	margin: 16px auto 0;
}

.ps-head p {
	color: var(--ps-muted);
	max-width: 620px;
	margin: 14px auto 0;
}

.ps-section {
	padding: 66px 0;
}

.ps-section--soft {
	background: var(--ps-soft);
}

/* ---------- top bar and header ---------- */
.ps-top {
	font-size: 13px;
	border-bottom: 1px solid var(--ps-line);
	color: var(--ps-muted);
}

.ps-top .ps-wrap {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 7px;
	padding-bottom: 7px;
}

.ps-header {
	border-bottom: 1px solid var(--ps-line);
	background: var(--ps-bg);
	position: sticky;
	top: 0;
	z-index: 60;
}

.admin-bar .ps-header {
	top: 32px;
}

html {
	scroll-padding-top: 96px;
}

.ps-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--ps-ink);
	cursor: pointer;
}

.ps-icon-btn:hover {
	background: var(--ps-soft);
}

.ps-searchbar {
	border-top: 1px solid var(--ps-line);
	padding: 12px 0;
}

.ps-search {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto;
}

.ps-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #8c8275;
	border-radius: 0;
	background: #fff;
	color: var(--ps-ink);
	font: inherit;
}

.ps-search-wrap {
	margin: 0 0 34px;
}

.ps-header .ps-wrap {
	display: flex;
	align-items: center;
	gap: 22px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.ps-logo img {
	height: 50px;
	width: auto;
}

.ps-nav {
	margin-left: auto;
}

.ps-nav ul {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
}

.ps-nav a {
	padding: 6px 0;
	border-bottom: 1.5px solid transparent;
}

.ps-nav a:hover,
.ps-nav .current-menu-item > a,
.ps-nav .current_page_item > a {
	border-bottom-color: var(--ps-ink);
}

.ps-icon-btn.ps-menu-toggle {
	display: none;
}

/* ---------- hero ---------- */
.ps-hero {
	text-align: center;
	padding-top: 70px;
}

.ps-hero__text {
	max-width: 760px;
	margin: 0 auto;
}

.ps-hero__mark {
	height: 92px;
	width: auto;
	margin: 0 auto 16px;
}

.ps-hero h1 {
	font-size: clamp(30px, 4.6vw, 50px);
	margin: 12px 0 14px;
}

.ps-hero p {
	color: var(--ps-muted);
	font-size: 17.5px;
	max-width: 600px;
	margin: 0 auto 24px;
}

.ps-hero__media {
	margin-top: 46px;
}

.ps-hero__media img {
	width: 100%;
	height: 360px;
	object-fit: cover;
}

/* ---------- trust strip ---------- */
.ps-trust {
	border-top: 1px solid var(--ps-line);
	border-bottom: 1px solid var(--ps-line);
}

.ps-trust ul {
	list-style: none;
	margin: 0;
	padding: 16px 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	text-align: center;
	font-size: 14.5px;
}

.ps-trust b {
	display: block;
	font-family: var(--ps-hf);
	font-size: 19px;
}

/* ---------- grids and cards ---------- */
.ps-grid {
	display: grid;
	gap: 44px 28px;
}

.ps-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ps-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.ps-prod {
	text-align: center;
}

.ps-prod img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.ps-prod h3 {
	font-size: 19px;
	margin: 16px 0 0;
}

.ps-prod__meta {
	color: var(--ps-muted);
	font-size: 14px;
	margin: 3px 0 8px;
}

.ps-price b {
	font-family: var(--ps-hf);
	font-size: 23px;
}

.ps-price span {
	color: var(--ps-muted);
	font-size: 13.5px;
	margin-left: 6px;
}

.ps-prod .ps-btn {
	margin-top: 14px;
}

.ps-price del {
	color: var(--ps-muted);
	font-size: 14px;
	margin-right: 6px;
}

.ps-prod__desc {
	color: var(--ps-muted);
	font-size: 14.5px;
	margin: 8px auto 0;
	max-width: 330px;
}

.ps-prod__desc p {
	margin: 0;
}

.ps-prod__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 14px;
}

.ps-prod__actions .ps-btn {
	margin-top: 0;
}

.ps-link--sm {
	padding: 8px 2px;
	font-size: 14px;
}

.ps-feat {
	text-align: center;
	padding: 10px;
}

.ps-feat__num {
	font-family: var(--ps-hf);
	font-size: 28px;
	color: var(--ps-gold);
	line-height: 1;
}

.ps-feat h3 {
	font-size: 18px;
	margin: 10px 0 6px;
}

.ps-feat p {
	margin: 0;
	color: var(--ps-muted);
	font-size: 14.5px;
}

.ps-card img {
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	width: 100%;
}

.ps-card__tag {
	color: var(--ps-gold);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 12px;
}

.ps-card h3 {
	font-size: 18px;
	margin: 6px 0;
}

.ps-card p {
	margin: 0;
	color: var(--ps-muted);
	font-size: 14.5px;
}

/* ---------- story band (black, with the calligraphy and the miniature) ---------- */
.ps-story {
	background: #000;
	color: #fff;
	padding: 56px 0 64px;
}

.ps-story__verse {
	width: 100%;
	max-width: 920px;
	margin: 0 auto 34px;
}

.ps-story__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 44px;
	align-items: center;
}

.ps-story__art {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
}

.ps-story .ps-eyebrow {
	color: #e0b354;
}

.ps-story h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	margin: 8px 0 14px;
}

.ps-story p {
	color: #ddd6ca;
	font-size: 17px;
	margin-bottom: 22px;
}

.ps-btn--light {
	background: #fff;
	color: var(--ps-ink);
	border-color: #fff;
}

.ps-btn--light:hover {
	background: #f1ebe2;
}

/* ---------- grades of saffron (text + diagram) ---------- */
.ps-types {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 44px;
	align-items: center;
}

.ps-types h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin-top: 8px;
}

.ps-types p {
	color: var(--ps-muted);
}

.ps-types__list {
	margin: 0 0 20px;
}

.ps-types__list div {
	padding: 9px 0;
	border-bottom: 1px solid var(--ps-line);
}

.ps-types__list dt {
	font-weight: 600;
}

.ps-types__list dd {
	margin: 0;
	color: var(--ps-muted);
	font-size: 14.5px;
}

.ps-types__img {
	width: 100%;
	background: #fff;
	border: 1px solid var(--ps-line);
}

/* ---------- built pages: wholesale, about, contact ---------- */
.ps-section--top {
	padding-top: 30px;
}

.ps-lede {
	max-width: 780px;
	margin: 0 auto 26px;
	text-align: center;
	font-size: 17px;
	color: var(--ps-muted);
}

.ps-lede--small {
	font-size: 15.5px;
	margin: 36px auto 0;
}

.ps-lang {
	text-align: center;
	font-size: 14px;
	margin: -12px 0 18px;
}

.ps-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 56px;
	align-items: start;
}

.ps-cols--center {
	align-items: center;
}

.ps-cols h2 {
	font-size: clamp(22px, 2.6vw, 28px);
	margin-top: 6px;
}

.ps-cols h3 {
	font-size: 20px;
}

.ps-list,
.ps-steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ps-list li,
.ps-steps li {
	position: relative;
	padding: 10px 0 10px 26px;
	border-bottom: 1px solid var(--ps-line);
}

.ps-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 23px;
	width: 12px;
	height: 2px;
	background: var(--ps-gold-line);
}

.ps-steps {
	counter-reset: ps-step;
}

.ps-steps li {
	counter-increment: ps-step;
	padding-left: 46px;
}

.ps-steps li::before {
	content: counter(ps-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 9px;
	font-family: var(--ps-hf);
	font-size: 20px;
	color: var(--ps-gold);
}

.ps-note {
	font-size: 13.5px;
	color: var(--ps-muted);
	margin: 16px 0 0;
}

.ps-band {
	text-align: center;
}

.ps-band h2 {
	font-size: clamp(24px, 3vw, 32px);
}

.ps-band p {
	color: var(--ps-muted);
	max-width: 660px;
	margin-left: auto;
	margin-right: auto;
}

.ps-band .ps-cta {
	margin: 20px 0 8px;
}

.ps-band--left {
	text-align: left;
}

.ps-band--left p {
	margin-left: 0;
}

.ps-box {
	border: 1px solid var(--ps-line);
	background: #fff;
	padding: 28px 24px;
	text-align: center;
}

.ps-box h2 {
	margin-top: 0;
}

.ps-box p {
	color: var(--ps-muted);
}

.ps-info h2 {
	font-family: var(--ps-bf);
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ps-gold);
	margin: 24px 0 4px;
}

.ps-info h2:first-child {
	margin-top: 0;
}

.ps-info p {
	margin: 0;
}

.ps-info .ps-note {
	margin-top: 18px;
}

.ps-table--wide th,
.ps-table--wide td {
	padding: 14px 12px;
	white-space: nowrap;
}

.ps-table--wide {
	background: #fff;
	border: 1px solid var(--ps-line);
}

.ps-more {
	text-align: center;
	margin: 30px 0 0;
}

/* The buying-guide line under articles and under the shop products. */
.ps-guide-line {
	margin: 28px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--ps-line);
	font-size: 15px;
}

.ps-guide-line a {
	color: var(--ps-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-type-archive-product .ps-guide-line {
	text-align: center;
	margin-top: 40px;
}

/* Contact Form 7 inside the theme. */
.ps-form .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.ps-form p {
	margin: 0 0 14px;
}

.ps-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.ps-form input[type="text"],
.ps-form input[type="email"],
.ps-form input[type="tel"],
.ps-form textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #8c8275;
	border-radius: 0;
	background: #fff;
	color: var(--ps-ink);
	font: inherit;
}

.ps-form textarea {
	height: 150px;
	resize: vertical;
}

.ps-form input[type="submit"] {
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	background: var(--ps-ink);
	color: #fff;
	border: 1.5px solid var(--ps-ink);
	border-radius: 0;
	cursor: pointer;
}

.ps-form input[type="submit"]:hover {
	background: #000;
}

.ps-form .hidden-fields-container {
	border: 0;
	margin: 0;
	padding: 0;
}

.ps-form .wpcf7-not-valid-tip {
	color: var(--ps-accent);
	font-size: 13.5px;
}

.ps-form .wpcf7-response-output {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid var(--ps-line);
	background: #fff;
}

/* ---------- wholesale block and tables ---------- */
.ps-whole {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 30px;
	align-items: center;
}

.ps-whole h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin-top: 8px;
}

.ps-whole p {
	color: var(--ps-muted);
	margin: 10px 0 18px;
}

.ps-table,
.entry table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ps-table th,
.ps-table td,
.entry th,
.entry td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--ps-line);
}

.ps-table-scroll {
	overflow-x: auto;
}

/* ---------- questions ---------- */
.ps-faq {
	max-width: 820px;
	margin: 0 auto;
}

.ps-faq details {
	border-bottom: 1px solid var(--ps-line);
	padding: 14px 0;
}

.ps-faq summary {
	cursor: pointer;
	font-family: var(--ps-hf);
	font-size: 18px;
	font-weight: 700;
}

.ps-faq p {
	margin: 10px 0 2px;
	color: var(--ps-muted);
}

/* ---------- text pages and articles ---------- */
.ps-article {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

.ps-article__head {
	text-align: center;
	padding: 50px 0 26px;
}

.ps-article__head h1 {
	font-size: clamp(30px, 4vw, 42px);
	margin: 12px 0 14px;
}

.ps-article__meta {
	color: var(--ps-muted);
	font-size: 14px;
}

.entry h2 {
	font-size: 26px;
	margin: 34px 0 12px;
}

.entry h3 {
	font-size: 20px;
	margin: 26px 0 10px;
}

.entry ul,
.entry ol {
	padding-left: 20px;
	margin: 0 0 1em;
}

.entry li {
	margin-bottom: 6px;
}

.ps-article__cover {
	margin: 10px 0 30px;
}

.ps-article__cover img {
	width: 100%;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
}

.ps-article__head .ps-eyebrow {
	display: inline-block;
}

/* ---------- tabs, shop list, product page ---------- */
.ps-tabs {
	display: flex;
	justify-content: center;
	gap: 30px;
	font-size: 15px;
	border-bottom: 1px solid var(--ps-line);
	margin-bottom: 38px;
	overflow-x: auto;
	white-space: nowrap;
}

.ps-tabs a {
	padding: 12px 0;
	color: var(--ps-muted);
	border-bottom: 2px solid transparent;
}

.ps-tabs a.is-current {
	color: var(--ps-ink);
	font-weight: 600;
	border-bottom-color: var(--ps-ink);
}

.ps-prod__title,
.ps-card__title {
	font-size: 19px;
	margin: 16px 0 6px;
}

.ps-card__title {
	font-size: 18px;
	margin: 6px 0;
}

.ps-card__meta {
	color: var(--ps-muted);
	font-size: 13.5px;
	margin-bottom: 6px;
}

.ps-tile {
	background: var(--ps-soft);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 30px;
}

.ps-tile h2 {
	font-size: 24px;
	margin: 10px 0;
}

.ps-tile p {
	color: var(--ps-muted);
	margin: 0 0 18px;
}

.ps-crumb {
	font-size: 13.5px;
	color: var(--ps-muted);
	padding: 18px 0;
}

.ps-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
	padding-bottom: 60px;
}

.ps-product__big {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--ps-soft);
}

.ps-product__thumbs a {
	cursor: pointer;
}

.ps-product__thumbs {
	display: flex;
	gap: 12px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.ps-product__thumbs img {
	width: 86px;
	height: 86px;
	object-fit: cover;
	border: 1px solid var(--ps-line);
}

.ps-product__info h1 {
	font-size: clamp(28px, 3.4vw, 36px);
	margin: 10px 0 12px;
}

.ps-price--big b {
	font-size: 32px;
}

.ps-product__points {
	padding-left: 18px;
	margin: 18px 0 24px;
}

.ps-product__points li {
	margin-bottom: 6px;
}

.ps-product__rating {
	font-size: 14.5px;
	color: var(--ps-muted);
	margin: 6px 0 0;
}

.ps-product__rating b {
	color: var(--ps-gold);
}

.ps-product__gone {
	border-left: 3px solid var(--ps-gold-line);
	background: var(--ps-soft);
	padding: 12px 14px;
	margin: 14px 0 20px;
}

/* Discount tag on a product picture. */
.ps-prod > a:first-child,
.ps-prod__img {
	position: relative;
	display: block;
}

.ps-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	background: var(--ps-accent);
	color: #fff;
	font-family: var(--ps-bf);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 8px;
}

.ps-price--big del {
	font-size: 16px;
}

.ps-off {
	display: inline-block;
	background: var(--ps-accent);
	color: #fff;
	font-family: var(--ps-bf);
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 6px;
	margin-left: 4px;
	vertical-align: middle;
}

/* Product cards in lists: a thin frame, lifted a little on hover. */
.ps-grid--prod .ps-prod {
	border: 1px solid var(--ps-line);
	background: #fff;
	padding-bottom: 18px;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ps-grid--prod .ps-prod:hover {
	border-color: #d9cfc0;
	box-shadow: 0 10px 26px rgba(28, 26, 23, 0.08);
}

.ps-grid--prod .ps-prod__title,
.ps-grid--prod .ps-prod h3,
.ps-grid--prod .ps-price,
.ps-grid--prod .ps-prod__meta,
.ps-grid--prod .ps-prod__desc {
	padding-left: 12px;
	padding-right: 12px;
}

/* Trust strip icons. */
.ps-trust svg {
	display: block;
	margin: 0 auto 6px;
	color: var(--ps-gold);
}

/* Questions: a plus that turns into a minus. */
.ps-faq summary {
	list-style: none;
	position: relative;
	padding-right: 36px;
}

.ps-faq summary::-webkit-details-marker {
	display: none;
}

.ps-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: -5px;
	font-family: var(--ps-bf);
	font-size: 26px;
	font-weight: 400;
	color: var(--ps-gold);
}

.ps-faq details[open] summary::after {
	content: "\2212";
}

.ps-nav__extra {
	display: none;
}

/* Product lists: cards of one row end at the same height, with the button at the bottom. */
.ps-grid--prod .ps-prod {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ps-grid--prod .ps-prod > a:first-child {
	display: block;
	width: 100%;
}

.ps-grid--prod .ps-prod > .ps-price,
.ps-grid--prod .ps-prod > .ps-prod__meta,
.ps-grid--prod .ps-prod > .ps-prod__desc {
	margin-bottom: 14px;
}

.ps-grid--prod .ps-prod > .ps-btn,
.ps-grid--prod .ps-prod > .ps-prod__actions {
	margin-top: auto;
}

/* Front-page pack cards and search results. */
.ps-prod__img {
	display: block;
}

.ps-prod__body h3 a:hover,
.ps-result__title a:hover {
	text-decoration: underline;
}

.ps-results {
	max-width: 820px;
	margin: 0 auto;
}

.ps-result {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 20px;
	align-items: start;
	padding: 20px 0;
	border-bottom: 1px solid var(--ps-line);
}

.ps-result__img {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--ps-soft) url(img/zafaran-gold-124.png) center / 26px auto no-repeat;
}

.ps-result__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ps-result .ps-card__tag {
	margin-top: 0;
}

.ps-result__title {
	font-size: 19px;
	margin: 4px 0 6px;
}

.ps-result p {
	margin: 4px 0 0;
	color: var(--ps-muted);
	font-size: 14.5px;
}

.ps-product__note {
	font-size: 13.5px;
	color: var(--ps-muted);
	border-top: 1px solid var(--ps-line);
	margin: 26px 0 0;
	padding-top: 14px;
}

.ps-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}

.ps-two h2 {
	font-size: 24px;
}

.ps-reviews {
	max-width: 780px;
}

/* Reviews: list and form, without WooCommerce's own styles and script. */
.ps-reviews h2 {
	font-size: 24px;
}

.ps-reviews .commentlist {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.ps-reviews .commentlist li {
	border-bottom: 1px solid var(--ps-line);
	padding: 14px 0;
}

.ps-reviews .avatar {
	display: none;
}

.ps-reviews .star-rating {
	color: var(--ps-gold);
	font-weight: 600;
	font-size: 14px;
}

.ps-reviews .meta {
	color: var(--ps-muted);
	font-size: 14px;
	margin: 2px 0 6px;
}

.ps-reviews .comment-reply-title {
	display: block;
	font-family: var(--ps-hf);
	font-size: 20px;
	font-weight: 700;
	margin: 20px 0 10px;
}

.ps-reviews p {
	margin: 0 0 14px;
}

.ps-reviews label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.ps-reviews input[type="text"],
.ps-reviews input[type="email"],
.ps-reviews select,
.ps-reviews textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #8c8275;
	border-radius: 0;
	background: #fff;
	color: var(--ps-ink);
	font: inherit;
}

.ps-reviews select {
	max-width: 260px;
}

.ps-reviews textarea {
	height: 140px;
	resize: vertical;
}

.ps-reviews input[type="submit"] {
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	background: var(--ps-ink);
	color: #fff;
	border: 1.5px solid var(--ps-ink);
	border-radius: 0;
	cursor: pointer;
}

.ps-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ps-reviews .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.ps-related {
	border-top: 1px solid var(--ps-line);
}

.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.nav-links .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--ps-line);
}

.nav-links .current {
	background: var(--ps-ink);
	color: #fff;
	border-color: var(--ps-ink);
}

/* The logo file is white (made for the old dark site); shown dark until a dark file is supplied. */
.ps-logo img {
	filter: brightness(0);
}

/* ---------- footer ---------- */
.ps-footer {
	background: var(--ps-soft);
	border-top: 1px solid var(--ps-line);
	padding: 42px 0 24px;
	font-size: 14.5px;
	color: var(--ps-muted);
}

.ps-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 26px;
}

.ps-footer h2 {
	font-family: var(--ps-bf);
	font-size: 15px;
	color: var(--ps-ink);
	margin-bottom: 10px;
}

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

.ps-footer li {
	margin-bottom: 6px;
}

.ps-footer a:hover {
	color: var(--ps-ink);
	text-decoration: underline;
}

.ps-footer .ps-logo img {
	margin-bottom: 12px;
}

.ps-legal {
	border-top: 1px solid var(--ps-line);
	margin-top: 24px;
	padding-top: 14px;
	font-size: 13px;
}

.ps-social {
	display: flex;
	gap: 6px;
	margin: 14px 0 0 -10px;
}

.ps-social li {
	margin: 0;
}

.ps-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--ps-ink);
}

.ps-footer li a {
	display: inline-block;
	padding: 3px 0;
}

.ps-legal a {
	display: inline-block;
	padding: 6px 0;
}

.ps-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: fixed;
	left: 16px;
	bottom: 16px;
	background: #0f7a39;
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 12px 18px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	font-size: 14.5px;
	z-index: 50;
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
	.ps-icon-btn.ps-menu-toggle {
		display: inline-flex;
	}

	.ps-search-toggle {
		margin-left: auto;
	}

	.ps-header .ps-wrap {
		gap: 4px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.ps-header .ps-logo img {
		height: 42px;
	}

	.admin-bar .ps-header {
		top: 46px;
	}

	html {
		scroll-padding-top: 72px;
	}

	.ps-top .ps-wrap {
		justify-content: center;
	}

	.ps-top__hours {
		display: none;
	}

	.ps-header .ps-btn {
		display: none;
	}

	.ps-nav__extra {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px 18px;
		margin-top: 12px;
		padding-top: 16px;
		border-top: 1px solid var(--ps-line);
	}

	.ps-nav .ps-nav__extra .ps-btn {
		display: inline-block;
		padding: 11px 22px;
		border-bottom: 1.5px solid var(--ps-ink);
	}

	.ps-nav .ps-nav__extra .ps-link {
		display: inline-block;
		padding: 10px 2px;
		border-bottom: 1.5px solid var(--ps-ink);
		font-size: 15px;
	}

	.ps-col-wide {
		display: none;
	}

	.ps-price--big span {
		display: block;
		margin: 2px 0 0;
	}

	.ps-badge {
		top: 6px;
		left: 6px;
		font-size: 11.5px;
		padding: 4px 6px;
	}

	/* Product lists: two columns on a phone. */
	.ps-grid.ps-grid--prod {
		grid-template-columns: 1fr 1fr;
		gap: 30px 14px;
	}

	.ps-grid--prod .ps-prod img {
		max-width: none;
	}

	.ps-grid--prod .ps-prod__title,
	.ps-grid--prod .ps-prod h3 {
		font-size: 15.5px;
		margin: 10px 0 4px;
	}

	.ps-grid--prod .ps-price b {
		font-size: 18px;
	}

	.ps-grid--prod .ps-price span,
	.ps-grid--prod .ps-price del {
		display: block;
		margin: 0;
		font-size: 12.5px;
	}

	.ps-grid--prod .ps-prod__desc {
		display: none;
	}

	.ps-grid--prod .ps-btn {
		padding: 8px 10px;
		font-size: 13px;
		margin-top: 10px;
	}

	.ps-grid--prod .ps-prod__actions {
		flex-direction: column;
		gap: 2px;
		margin-top: 10px;
	}

	.ps-grid--prod .ps-prod__actions .ps-btn {
		margin-top: 0;
	}

	.ps-grid--prod .ps-tile {
		grid-column: 1 / -1;
	}

	/* Front page packs: one compact row per pack on a phone. */
	.ps-grid--rows {
		gap: 0;
	}

	.ps-grid--rows .ps-prod {
		display: grid;
		grid-template-columns: 112px 1fr;
		column-gap: 16px;
		align-items: center;
		text-align: left;
		padding: 16px 0;
		border-bottom: 1px solid var(--ps-line);
	}

	.ps-grid--rows .ps-prod:first-child {
		border-top: 1px solid var(--ps-line);
	}

	.ps-grid--rows .ps-prod img {
		max-width: none;
	}

	.ps-grid--rows .ps-prod h3 {
		margin: 0;
	}

	.ps-grid--rows .ps-prod .ps-btn {
		margin-top: 8px;
	}

	.ps-grid--rows .ps-price span {
		display: block;
		margin: 0;
	}

	.ps-product__thumbs {
		gap: 8px;
	}

	.ps-product__thumbs a {
		width: calc((100% - 24px) / 4);
	}

	.ps-product__thumbs img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.ps-grid--prod .ps-prod > .ps-btn,
	.ps-grid--prod .ps-prod > .ps-prod__actions {
		margin-top: auto;
	}

	.ps-result {
		grid-template-columns: 84px 1fr;
		gap: 14px;
	}

	/* WhatsApp: a round icon on a phone, so it covers less of the page. */
	.ps-wa {
		left: 12px;
		bottom: 12px;
		width: 50px;
		height: 50px;
		padding: 0;
		justify-content: center;
	}

	.ps-wa span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.ps-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--ps-bg);
		border-bottom: 1px solid var(--ps-line);
		padding: 10px 20px 18px;
		z-index: 40;
	}

	.ps-nav.is-open {
		display: block;
	}

	.ps-nav ul {
		flex-direction: column;
		gap: 4px;
		font-size: 17px;
	}

	.ps-nav a {
		display: block;
		padding: 10px 0;
	}

	.ps-story__grid,
	.ps-types,
	.ps-cols,
	.ps-form .row,
	.ps-grid--3,
	.ps-whole,
	.ps-product,
	.ps-two,
	.ps-footer__cols {
		grid-template-columns: 1fr;
	}

	.ps-product {
		gap: 26px;
	}

	.ps-prod img {
		max-width: 340px;
		margin: 0 auto;
	}

	.ps-table--wide th,
	.ps-table--wide td {
		white-space: normal;
		padding: 12px 8px;
		font-size: 14px;
	}

	.ps-tabs {
		justify-content: flex-start;
		gap: 22px;
	}

	.ps-grid--4,
	.ps-trust ul {
		grid-template-columns: 1fr 1fr;
	}

	.ps-section {
		padding: 46px 0;
	}

	.ps-hero {
		padding-top: 46px;
	}

	.ps-hero__media img {
		height: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------- dark mode (added 2026-11-17): light stays the default; the header button sets <html data-theme="dark"> ---------- */
html[data-theme="dark"] {
	--ps-bg: #14110e;
	--ps-soft: #1e1a16;
	--ps-ink: #f2ece3;
	--ps-muted: #b8ad9e;
	--ps-line: #3a332b;
	--ps-accent: #e2675c;
	--ps-gold: #e0b354;
	--ps-gold-line: #c9962c;
	color-scheme: dark;
}

html[data-theme="dark"] body {
	background: var(--ps-bg);
	color: var(--ps-ink);
}

html[data-theme="dark"] .ps-btn,
html[data-theme="dark"] .ps-form input[type="submit"],
html[data-theme="dark"] .ps-reviews input[type="submit"],
html[data-theme="dark"] .nav-links .current,
html[data-theme="dark"] .ps-skip {
	background: #f2ece3;
	color: #14110e;
	border-color: #f2ece3;
}

html[data-theme="dark"] .ps-btn:hover,
html[data-theme="dark"] .ps-form input[type="submit"]:hover,
html[data-theme="dark"] .ps-reviews input[type="submit"]:hover {
	background: #fff;
	color: #14110e;
}

html[data-theme="dark"] .ps-types__img,
html[data-theme="dark"] .ps-box,
html[data-theme="dark"] .ps-table--wide,
html[data-theme="dark"] .ps-grid--prod .ps-prod,
html[data-theme="dark"] .ps-form .wpcf7-response-output {
	background: var(--ps-soft);
}

html[data-theme="dark"] .ps-grid--prod .ps-prod:hover {
	border-color: #5a4f42;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .ps-search input[type="search"],
html[data-theme="dark"] .ps-form input[type="text"],
html[data-theme="dark"] .ps-form input[type="email"],
html[data-theme="dark"] .ps-form input[type="tel"],
html[data-theme="dark"] .ps-form textarea,
html[data-theme="dark"] .ps-reviews input[type="text"],
html[data-theme="dark"] .ps-reviews input[type="email"],
html[data-theme="dark"] .ps-reviews select,
html[data-theme="dark"] .ps-reviews textarea {
	background: #1e1a16;
	color: var(--ps-ink);
	border-color: #6b6257;
}

/* the logo file is white: in dark mode it is shown as it is */
html[data-theme="dark"] .ps-logo img {
	filter: none;
}

html[data-theme="dark"] .ps-badge,
html[data-theme="dark"] .ps-off {
	background: #9b1c1c;
	color: #fff;
}

.ps-theme-toggle .ps-sun,
html[data-theme="dark"] .ps-theme-toggle .ps-moon {
	display: none;
}

html[data-theme="dark"] .ps-theme-toggle .ps-sun {
	display: block;
}

@media (max-width: 860px) {
	.ps-theme-toggle {
		margin-left: auto;
	}

	.ps-theme-toggle + .ps-search-toggle {
		margin-left: 0;
	}
}
/* Front page packs on wide screens: the "per gram" note always sits on its own line, so the three buttons line up. */
@media (min-width: 861px) {
	.ps-grid--rows .ps-price > span {
		display: block;
		margin: 4px 0 0;
	}
}

/* Even-height digits (added 2026-11-17): Georgia's own digits go up and down, so headings and prices take their digits from Cambria or Times New Roman. */
@font-face {
	font-family: "PS Figures";
	src: local("Cambria Bold"), local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT");
	font-weight: 700;
	unicode-range: U+0030-0039;
}

@font-face {
	font-family: "PS Figures";
	src: local("Cambria"), local("Times New Roman"), local("TimesNewRomanPSMT");
	font-weight: 400;
	unicode-range: U+0030-0039;
}

:root {
	--ps-hf: "PS Figures", Georgia, "Times New Roman", serif;
}

/* Buttons placed inside page or article text keep the button look (the text-link colour does not apply). */
.entry a.ps-btn {
	color: #fff;
	text-decoration: none;
}

html[data-theme="dark"] .entry a.ps-btn {
	color: #14110e;
}

/* ---------- logo (changed 2026-11-18): the original stacked logo again, as one picture, with its lettering drawn one and a half times larger so it can be read at header size ---------- */
.ps-logo {
	display: inline-block;
	line-height: 0;
}

.ps-logo img,
.ps-header .ps-logo img {
	display: block;
	height: 80px;
	width: auto;
}

.ps-header .ps-wrap {
	padding-top: 9px;
	padding-bottom: 9px;
}

.ps-footer .ps-logo {
	margin-bottom: 14px;
}

.ps-footer .ps-logo img {
	height: 96px;
	margin-bottom: 0;
}

@media (min-width: 861px) and (max-width: 1100px) {
	.ps-header .ps-header__buy {
		display: none;
	}
}

@media (max-width: 860px) {
	.ps-header .ps-logo img {
		height: 66px;
	}

	.ps-header .ps-wrap {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}
/* Shop and blog tabs wrap onto a second line on phones, so no tab hides past the edge. */
@media (max-width: 860px) {
	.ps-tabs {
		flex-wrap: wrap;
		row-gap: 0;
		overflow-x: visible;
	}
}

/* Corporate gift pictures on the front page. */
.ps-gifts {
	margin-bottom: 30px;
}

.ps-gift {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--ps-ink);
}

.ps-gift img {
	display: block;
	width: 100%;
	height: auto;
}

.ps-gift span {
	display: block;
	margin-top: 10px;
	font-family: var(--ps-hf);
	font-size: 17px;
}

/* ---------- homepage picture (changed 2026-11-18): Ali's own catalogue photo with his logo beside it; always shown whole, never cropped ---------- */
.ps-hero__media img.ps-hero__cup {
	display: block;
	height: auto;
	aspect-ratio: 1080 / 480;
}

@media (max-width: 600px) {
	.ps-hero__media img.ps-hero__cup {
		aspect-ratio: 670 / 446;
	}
}

/* Corporate gifts on phones (changed 2026-11-18): the same compact rows as Retail packs, a small picture at the left and the name beside it. */
@media (max-width: 860px) {
	.ps-gifts {
		gap: 0;
	}

	.ps-gift {
		display: grid;
		grid-template-columns: 112px 1fr;
		column-gap: 16px;
		align-items: center;
		text-align: left;
		padding: 16px 0;
		border-bottom: 1px solid var(--ps-line);
	}

	.ps-gift:first-child {
		border-top: 1px solid var(--ps-line);
	}

	.ps-gift span {
		margin-top: 0;
	}
}

/* Corporate gift rows on phones, second step (2026-11-18): the picture is the same square as the Retail jar pictures, and the name is set like a product name with its contents on a second line. */
.ps-gift strong {
	font-weight: 400;
}

.ps-gift i,
.ps-gift em {
	font-style: normal;
}

@media (max-width: 860px) {
	.ps-gift img {
		width: 112px;
		height: 112px;
		object-fit: cover;
	}

	.ps-gift:nth-child(1) img {
		object-position: 55% 50%;
	}

	.ps-gift:nth-child(2) img {
		object-position: 70% 50%;
	}

	.ps-gift:nth-child(3) img {
		object-position: 0 50%;
	}

	.ps-gift strong {
		display: block;
		font-size: 19px;
		font-weight: 700;
	}

	.ps-gift i {
		display: none;
	}

	.ps-gift em {
		display: block;
		margin-top: 3px;
		font-family: var(--ps-bf);
		font-size: 14px;
		color: var(--ps-muted);
	}
}

/* Corporate gifts, third step (2026-11-18): each set also shows its price for the smallest order and a button, like the Retail packs. */
.ps-gift .ps-gift__name {
	margin-top: 0;
}

.ps-gift .ps-price {
	margin-top: 6px;
	font-size: 16px;
}

.ps-gift .ps-price span {
	display: inline;
	margin: 0 0 0 6px;
	font-family: var(--ps-bf);
	font-size: 13.5px;
	color: var(--ps-muted);
}

.ps-gift .ps-btn {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--ps-bf);
	font-size: 14px;
}

@media (max-width: 860px) {
	.ps-gift .ps-price {
		margin-top: 4px;
	}

	.ps-gift .ps-price span {
		display: block;
		margin: 2px 0 0;
	}

	.ps-gift .ps-btn {
		margin-top: 8px;
	}
}
