/*
 * PhotoSport 2026 brand skin for the legacy storefront.
 * Loaded after Bootstrap and the template styles, so it only overrides.
 */

@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('../fonts/archivo-latin.woff2') format('woff2');
}

:root {
	--ps-ink: #0b0d10;
	--ps-ink-soft: #1b1f24;
	--ps-muted: #5d6672;
	--ps-line: #e5e8ec;
	--ps-paper: #ffffff;
	--ps-soft: #f5f6f8;
	--ps-brand: #1aa6de;
	--ps-brand-deep: #0b7fae;
	--ps-cta: #0a7196;
	--ps-radius: 14px;
	--ps-container: 1200px;
}

body,
.font-alt,
h1, h2, h3, h4, h5, h6,
.site-title,
.module-title,
.btn,
.form-control,
input, select, textarea {
	font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

body {
	background: var(--ps-paper);
	color: var(--ps-ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--ps-ink);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.12;
}

a { color: var(--ps-brand-deep); }
a:hover, a:focus { color: var(--ps-cta); text-decoration: none; }

.container { max-width: var(--ps-container); }

/* Remove the template's loading overlay */
.page-loader { display: none !important; }

/* ---------------------------------------------------------------- Header */
.navbar-custom,
.navbar-custom.navbar-transparent {
	background: rgba(255, 255, 255, .96) !important;
	border-bottom: 1px solid var(--ps-line);
	box-shadow: none !important;
	min-height: 74px;
	margin-bottom: 0;
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.navbar-header { float: none; display: flex; align-items: center; }

.site-title { margin: 0; font-size: 0 !important; line-height: 0; }
.site-title a { display: inline-flex; align-items: center; }
.site-title img.ps-logo { display: block; width: auto; height: 38px; max-width: none; }

.navbar-custom .navbar-nav {
	float: none;
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
}

.navbar-custom .navbar-nav > li { float: none; }

.navbar-custom .navbar-nav > li > a {
	background: none !important;
	color: var(--ps-ink) !important;
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 8px 0;
}

.navbar-custom .navbar-nav > li > a:hover { color: var(--ps-cta) !important; }
.navbar-custom .navbar-nav > li > a::after { display: none !important; }

.navbar-cart {
	display: flex !important;
	align-items: center;
	gap: 12px;
	height: auto !important;
	margin-left: 16px !important;
	padding-left: 0 !important;
	position: static !important;
	width: auto !important;
}
.navbar-cart .header-search-button { color: var(--ps-ink); font-size: 16px; }
.navbar-cart .header-search-button:hover { color: var(--ps-cta); }

.navbar-toggle {
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	padding: 8px 10px;
	margin: 0;
}
.navbar-toggle .icon-bar { background: var(--ps-ink); }

@media (max-width: 991px) {
	.navbar-custom { min-height: 64px; }
	.header-container { min-height: 64px; }
	.navbar-custom .navbar-collapse {
		background: #fff;
		border-top: 1px solid var(--ps-line);
		box-shadow: 0 24px 40px -30px rgba(7, 9, 12, .45);
	}
	.navbar-custom .navbar-nav { display: block; gap: 0; margin: 6px 0; }
	.navbar-custom .navbar-nav > li { border-bottom: 1px solid var(--ps-line); }
	.navbar-custom .navbar-nav > li > a { padding: 14px 2px; font-size: 1rem; }
	.navbar-cart { display: none; }
	.site-title img.ps-logo { height: 32px; }
}

/* Tablet: Bootstrap keeps the menu inline from 768px up, so un-stack it and
   drop the phone-only menu entries that would otherwise crowd the bar. */
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-custom .navbar-collapse {
		background: none;
		border-top: 0;
		box-shadow: none;
	}
	.navbar-custom .navbar-nav {
		display: flex;
		align-items: center;
		gap: 18px;
		margin: 0;
	}
	.navbar-custom .navbar-nav > li { border-bottom: 0; }
	.navbar-custom .navbar-nav > li > a { padding: 0; font-size: .92rem; }
	.navbar-custom .navbar-nav > li.hidden-md.hidden-lg { display: none !important; }
}

/* ---------------------------------------------------------------- Layout */
#latest { padding: clamp(56px, 7vw, 96px) 0; }

.module-title,
.home-prod-title {
	margin: 0 0 12px;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.module-title::after { display: none !important; }

#latest .module-title::before,
.home-prod-title::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	background: var(--ps-brand);
	border-radius: 2px;
	margin-bottom: 18px;
}

#latest .module-title::before { margin-left: auto; margin-right: auto; }

.home-prod-title {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	line-height: 1.05;
}

.home-prod-subtitle,
.module-subtitle {
	color: var(--ps-ink-soft);
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	line-height: 1.75;
	max-width: 70ch;
}

/* ---------------------------------------------------------------- Cards */
ul.products { list-style: none; margin-bottom: 0; }

.product2 { margin-bottom: 24px; }

.prod-img-wrap2 {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	border-radius: var(--ps-radius);
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(11, 13, 16, .05);
	transition: box-shadow .25s ease, transform .25s ease;
}

.product2:hover .prod-img-wrap2 {
	box-shadow: 0 20px 44px -26px rgba(7, 9, 12, .55);
	transform: translateY(-2px);
}

.product2 h3,
.product2 a h3 {
	margin: 12px 0 0;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--ps-ink);
}

.product2 a { text-decoration: none; }

/* ---------------------------------------------------------------- Buttons */
.btn,
.btn-b,
.btn-primary,
.btn-default {
	border-radius: 999px !important;
	border-width: 1px;
	box-shadow: none !important;
	font-weight: 600;
	letter-spacing: .01em;
	padding: 12px 22px;
	text-transform: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.btn-b,
.btn-primary {
	background: var(--ps-cta) !important;
	border-color: var(--ps-cta) !important;
	color: #fff !important;
}

.btn-b:hover,
.btn-primary:hover,
.btn-b:focus,
.btn-primary:focus {
	background: #096a8d !important;
	border-color: #096a8d !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.btn-default {
	background: #fff !important;
	border-color: rgba(11, 13, 16, .18) !important;
	color: var(--ps-ink) !important;
}

.btn-default:hover { background: var(--ps-ink) !important; border-color: var(--ps-ink) !important; color: #fff !important; }

/* ---------------------------------------------------------------- Forms */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
	background: #fff;
	border: 1px solid var(--ps-line) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: var(--ps-ink);
	font-size: .95rem;
	height: auto;
	padding: 10px 12px;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
	border-color: var(--ps-brand) !important;
	box-shadow: 0 0 0 3px rgba(26, 166, 222, .18) !important;
	outline: none;
}

label { font-weight: 600; color: var(--ps-ink-soft); }

/* ---------------------------------------------------------------- Footer */
footer.footer,
.footer.bg-dark,
.shop_isle_footer_sidebar {
	background: var(--ps-soft) !important;
	border-top: 1px solid var(--ps-line);
	color: var(--ps-ink);
}

.footer { padding: clamp(44px, 6vw, 72px) 0 28px; }

.footer .widget-title {
	color: var(--ps-muted);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.footer p,
.footer li,
.footer .textwidget,
.footer .no_markers { color: var(--ps-muted); }

.footer a { color: var(--ps-ink); text-decoration: none; }
.footer a:hover { color: var(--ps-cta); }
.footer .footer-social-links a { color: var(--ps-ink) !important; font-size: 16px; }
.footer .footer-social-links a:hover { color: var(--ps-cta) !important; }

/* ---------------------------------------------------------------- Tables, alerts, misc */
.table > thead > tr > th { border-bottom: 1px solid var(--ps-line); color: var(--ps-muted); font-weight: 700; }
.table > tbody > tr > td { border-top: 1px solid var(--ps-line); }

.breadcrumb { background: transparent; padding: 0; }
.breadcrumb > li + li::before { color: var(--ps-muted); }

.pagination > li > a,
.pagination > li > span { border-color: var(--ps-line); color: var(--ps-ink); }
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus { background: var(--ps-cta); border-color: var(--ps-cta); color: #fff; }

.alert { border-radius: 12px; border-width: 1px; }
.label { border-radius: 999px; font-weight: 600; }

/* ---------------------------------------------------------------- Template overrides */
.navbar-custom { padding: 0 !important; }
.navbar-custom .navbar-nav { margin-left: auto; }
.navbar-custom .navbar-nav > li > a {
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: .9rem !important;
	font-weight: 500 !important;
}

.module-title {
	letter-spacing: -.02em !important;
	text-transform: none !important;
	font-weight: 800 !important;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem) !important;
	line-height: 1.1 !important;
	margin: 0 0 28px !important;
}

.module-title + .module-subtitle { margin-top: 0 !important; }

.font-serif,
.module-subtitle,
.home-prod-subtitle {
	font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif !important;
	font-style: normal !important;
	text-align: left !important;
	font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
	line-height: 1.75 !important;
	color: var(--ps-muted) !important;
	margin: 0 0 20px !important;
}

.home-prod-title {
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: -.03em !important;
	font-size: clamp(2rem, 4.6vw, 3.4rem) !important;
	line-height: 1.05 !important;
	margin: 0 0 20px !important;
}

.product2 h3,
.product2 a h3 {
	text-transform: none !important;
	letter-spacing: -.01em !important;
	font-size: 1.02rem !important;
}

.header-container { justify-content: flex-start; }
.navbar-custom .navbar-nav { margin-left: auto; }
.navbar-cart { margin-left: 26px; }
.product2 h3, .product2 a h3 { font-size: 1rem !important; }

/* Inner pages sit below the fixed header */
body.inner { padding-top: 90px; }

h1, h2, h3 { text-transform: none !important; }

.clearfix > h1 {
	font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important;
	font-weight: 800 !important;
	letter-spacing: -.02em !important;
	margin: 0 0 14px !important;
}

/* Add to cart */
input.add_to_cart,
#item_button_cart,
.add_to_cart {
	background: var(--ps-cta) !important;
	border: 1px solid var(--ps-cta) !important;
	border-radius: 999px !important;
	color: #fff !important;
	cursor: pointer;
	font-size: .9rem !important;
	font-weight: 600 !important;
	padding: 10px 20px !important;
}

input.add_to_cart:hover,
#item_button_cart:hover,
.add_to_cart:hover { background: #096a8d !important; border-color: #096a8d !important; }

/* Catalog thumbnails */
.item_list_img2 img { border-radius: 12px; }
.item_list_text1 a,
.item_list_text2 a,
.item_list_text3 a { color: var(--ps-ink) !important; font-weight: 600; }

.header-container > .navbar-collapse { margin-left: auto; }
.header-container .navbar-nav { margin-left: 0; margin-right: 8px; }
.footer .widget-title { text-transform: uppercase !important; letter-spacing: .14em !important; }

.navbar-custom .navbar-toggle .icon-bar { background: var(--ps-ink) !important; }

.header-menu-wrap { margin-left: auto !important; }
.navbar-cart { margin-left: 24px !important; }
.widget-title {
	text-transform: uppercase !important;
	letter-spacing: .14em !important;
	color: var(--ps-muted) !important;
	font-size: .74rem !important;
	font-weight: 700 !important;
}

/* Find-by-number */
.ps-find-wrap { padding-top: clamp(24px, 4vw, 40px); }
.ps-find {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 620px;
}
.ps-find label {
	color: var(--ps-muted);
	flex: 0 0 100%;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	margin: 0 0 2px;
	text-transform: uppercase;
}
.ps-find input { flex: 1 1 220px; height: 48px; }
.ps-find .btn { height: 48px; padding: 0 24px; }

.ps-find-wrap { padding-top: 110px; }
@media (max-width: 991px) { .ps-find-wrap { padding-top: 84px; } }

.ps-find--gallery { margin: 6px 0 20px; max-width: 520px; }
.ps-find--gallery input, .ps-find--gallery .btn { height: 44px; }

/* Header account call to action */
.ps-account { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; }
.ps-account__link {
	border: 1px solid var(--ps-line);
	border-radius: 999px;
	color: var(--ps-ink);
	display: inline-flex;
	align-items: center;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	padding: 13px 19px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.ps-account__link i { font-size: .95em; margin-right: 7px; }
.ps-account__link:hover, .ps-account__link:focus {
	border-color: var(--ps-ink);
	color: var(--ps-ink);
	text-decoration: none;
}
.ps-account__link--solid { background: var(--ps-ink); border-color: var(--ps-ink); color: #fff; }
.ps-account__link--solid:hover, .ps-account__link--solid:focus {
	background: var(--ps-cta);
	border-color: var(--ps-cta);
	color: #fff;
}
@media (max-width: 1199px) {
	.ps-account__link { font-size: .76rem; padding: 12px 17px; }
}

/* Cart bundle discount line */
.ps-bundle td { color: var(--ps-cta); font-size: .9rem; padding: 6px 0 2px; }

/* Bundle discount promo */
.ps-promo {
	align-items: center;
	background: var(--ps-soft);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	margin: 28px 0 4px;
	padding: 20px 24px;
}
.ps-promo__badge {
	align-items: center;
	background: var(--ps-ink);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	padding: 9px 16px;
	text-transform: uppercase;
	white-space: nowrap;
}
.ps-promo__text {
	color: var(--ps-ink-soft);
	flex: 1 1 320px;
	font-size: 1rem;
	line-height: 1.5;
}
.ps-promo__text strong { color: var(--ps-ink); }
.ps-promo .btn { margin: 0; }
@media (max-width: 767px) {
	.ps-promo { gap: 14px; padding: 18px; }
	.ps-promo .btn { text-align: center; width: 100%; }
}

/* Sign-in / sign-up page */
.ps-auth {
	background: var(--ps-soft);
	border: 1px solid var(--ps-line);
	border-radius: 22px;
	margin: 12px 0 44px;
	padding: clamp(24px, 4vw, 46px);
}
.ps-auth__head { margin: 0 0 26px; max-width: 660px; }
.ps-auth__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; margin: 0 0 10px; }
.ps-auth__head p { color: var(--ps-muted); font-size: 1.05rem; margin: 0; }
.ps-auth__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ps-auth__card {
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	padding: clamp(22px, 3vw, 32px);
}
.ps-auth__card h3 { font-size: 1.3rem; margin: 0 0 18px; }
.ps-auth__label {
	color: var(--ps-muted);
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin: 0 0 6px;
	text-transform: uppercase;
}
.ps-auth__input { height: 54px; margin-bottom: 16px; }
.ps-auth__submit {
	display: inline-flex;
	align-items: center;
	font-size: .95rem;
	height: 54px;
	justify-content: center;
	letter-spacing: .08em;
	text-transform: uppercase;
	width: 100%;
}
a.ps-auth__submit { text-decoration: none; }
a.ps-auth__submit:hover, a.ps-auth__submit:focus { color: #fff; text-decoration: none; }
.ps-auth__link { color: var(--ps-cta); display: inline-block; font-size: .92rem; margin-top: 14px; }
.ps-auth__copy { color: var(--ps-muted); font-size: .97rem; line-height: 1.6; }
.ps-auth__copy p { margin-bottom: 10px; }
.ps-auth__benefits { list-style: none; margin: 20px 0 24px; padding: 0; }
.ps-auth__benefits li { font-size: .95rem; margin-bottom: 11px; padding-left: 26px; position: relative; }
.ps-auth__benefits li::before { color: var(--ps-brand); content: "\2713"; font-weight: 700; left: 0; position: absolute; }
.ps-auth__card--join { background: var(--ps-ink); border-color: var(--ps-ink); color: #fff; }
.ps-auth__card--join h3 { color: #fff; }
.ps-auth__card--join .ps-auth__copy { color: #dfe4ea; }
.ps-auth__card--join .ps-auth__benefits li { color: #eef1f5; }
.ps-auth__card--join .btn-b { background: #fff; border-color: #fff; color: var(--ps-ink); }
.ps-auth__card--join .btn-b:hover, .ps-auth__card--join .btn-b:focus {
	background: var(--ps-brand); border-color: var(--ps-brand); color: #fff;
}
.ps-auth__card--guest { margin-top: 22px; }
.ps-auth__social { border-top: 1px solid var(--ps-line); margin-top: 24px; padding-top: 18px; }
.ps-auth__social p { color: var(--ps-muted); font-size: .82rem; letter-spacing: .1em; margin-bottom: 10px; text-transform: uppercase; }
@media (max-width: 860px) {
	.ps-auth { padding: 22px; }
	.ps-auth__grid { grid-template-columns: 1fr; }
}

/* Mobile menu sign-in */
.ps-menu-auth a { color: var(--ps-cta) !important; font-weight: 700; }

/* ---------------------------------------------------------------- Legibility */
/* Bigger type throughout: assumes older eyes and small laptop screens. */
html { font-size: 18px; }
body { font-size: 1rem; line-height: 1.65; }
p, li, dd, dt, blockquote { font-size: 1.02rem; }

/* Header navigation */
.navbar-custom .navbar-nav > li > a,
.navbar-custom .navbar-nav .dropdown-menu > li > a,
.navbar-nav .sub-menu a,
.navbar-nav .children a { font-size: 1rem !important; line-height: 1.4; }
.navbar-cart .header-search-button,
.header-members .header-search-button { font-size: 20px; }

/* Buttons and form controls */
.btn, .isubmit, .isubmit_orange { font-size: 1rem !important; }
input.add_to_cart, .add_to_cart {
	font-size: 1rem !important;
	height: 52px;
	padding: 0 28px;
}
.form-control, .ibox,
input[type="text"], input[type="password"], input[type="email"],
input[type="search"], input[type="number"], select, textarea { font-size: 1rem; }
.form-control { height: 46px; }

/* Gallery listing */
.item_list_text, .item_list_text a { font-size: 1rem; }
A.ac:link, A.ac:visited, A.ac:active, A.ac:hover,
A.ac2:link, A.ac2:visited, A.ac2:active, A.ac2:hover {
	font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif !important;
	font-size: 1rem !important;
	font-weight: 700;
	text-decoration: none;
}
A.ac:link, A.ac:visited, A.ac:active, A.ac:hover { color: var(--ps-cta); }
A.ac2:link, A.ac2:visited, A.ac2:active, A.ac2:hover { color: #c0392b; }
.iviewed, .idownloaded { color: var(--ps-muted); font-size: .92rem !important; }
.iviewed .glyphicon, .idownloaded .glyphicon { font-size: .85em; }

/* Item page */
.product_title { font-size: clamp(1.8rem, 3.2vw, 2.3rem) !important; }
.table_cart td, .table_cart th {
	font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif !important;
	font-size: 1rem !important;
	font-weight: 400;
}
.table_cart th {
	font-size: .82rem !important;
	font-weight: 700 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.table_cart td { padding: 11px 8px; }
.price, .price span { font-size: 1.05rem !important; }
.price_license, .price_license a, .price_license label { font-size: 1rem !important; }
.nav-tabs > li > a { font-size: 1rem !important; padding: 11px 16px; }
.link_pixels, .link_inches { font-size: .85rem !important; }

/* Tables and panels (cart, checkout, profile) */
.profile_table td, .profile_table th,
table td, table th { font-size: 1rem; }
.profile_table th, table th { font-weight: 700; }

/* Footer and small print */
.footer, .footer p, .footer a, .copyright { font-size: 1rem; }
.widget-title { font-size: 1.1rem !important; }
.textwidget p, .no_markers li, #recentcomments li { font-size: 1rem; }

/* Misc small labels that stay too small even at the larger root size */
.ps-find label, .ps-auth__label { font-size: .8rem; }
.ps-promo__text { font-size: 1.02rem; }
.ps-auth__copy, .ps-auth__benefits li { font-size: 1rem; }

@media (max-width: 991px) {
	html { font-size: 18px; }
}

/* Keep the licence table readable without awkward wrapping */
.table_cart th:first-child, .table_cart td:first-child { white-space: nowrap; width: 27%; }
.table_cart td { line-height: 1.35; }

/* Gallery filter dropdowns need room for the larger type */
#search_sort select, #search_contentmenu select, #search_items select {
	min-width: 120px;
	width: auto !important;
}
#search_items select { min-width: 84px; }

/* Free header space on smaller laptops */
@media (max-width: 1320px) {
	.header-lang { display: none !important; }
	.navbar-cart { margin-left: 12px !important; }
}

/* Find-by-number: label on its own line, input + button beneath */
.ps-find form { align-items: stretch; display: flex; flex-wrap: wrap; gap: 12px; }
.ps-find form input { flex: 1 1 220px; }

/* Sign-up agreement tick box + popup */
.ps-terms {
	background: var(--ps-soft);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	margin: 18px 0;
	padding: 15px 17px;
}
.ps-terms label {
	align-items: flex-start;
	display: flex;
	font-size: 1rem;
	font-weight: 500;
	gap: 11px;
	margin: 0;
}
.ps-terms input[type="checkbox"] {
	flex: 0 0 auto;
	height: 21px;
	margin: 2px 0 0;
	width: 21px;
}
.ps-terms a { color: var(--ps-cta); font-weight: 700; text-decoration: underline; }

/* Single gallery flow layout */
#search_flow_menu { display: none !important; }
#flow_body { column-gap: 18px; column-width: 250px; }
.flow2_box {
	break-inside: avoid;
	display: block !important;
	height: auto !important;
	margin: 0 0 18px !important;
	overflow: visible !important;
	position: static !important;
	width: auto !important;
}
.flow2_box .home_preview {
	display: block;
	height: auto !important;
	margin: 0 !important;
	opacity: 1 !important;
	width: 100% !important;
}
.flow2_cart { margin-top: 8px; position: static; }
.flow2_cart a.ac,
.flow2_cart a.ac:link,
.flow2_cart a.ac:visited {
	background: transparent;
	border: 1px solid var(--ps-line);
	border-radius: 8px;
	color: var(--ps-cta) !important;
	display: inline-block;
	font-size: .78rem !important;
	font-weight: 700;
	line-height: 1;
	padding: 7px 12px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.flow2_cart a.ac:hover, .flow2_cart a.ac:focus {
	background: var(--ps-cta);
	border-color: var(--ps-cta);
	color: #fff !important;
}
.flow2_cart a.ac2,
.flow2_cart a.ac2:link,
.flow2_cart a.ac2:visited {
	background: #f0fbf5;
	border: 1px solid #cfe9dc;
	border-radius: 8px;
	color: #116b4a !important;
	display: inline-block;
	font-size: .78rem !important;
	font-weight: 700;
	line-height: 1;
	padding: 7px 12px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.flow2_cart a.ac2:hover, .flow2_cart a.ac2:focus {
	background: #e2f6ea;
	border-color: #b9dfcc;
	color: #0d5539 !important;
}

/* Member area popup */
.members_menu { padding: 20px; width: 330px; }
.members_menu h4 { color: #fff; font-size: 1.15rem; letter-spacing: 0 !important; margin: 0 0 6px; text-transform: none; }
.members_menu hr { margin: 16px 0; }
.ps-menu-lead {
	color: rgba(255, 255, 255, .75);
	font-size: .92rem;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 0 0 14px;
	text-transform: none;
}
.members_menu .form_field { margin-bottom: 10px; }
.members_menu .form-control { height: 46px; }
.members_menu .btn { font-size: 1rem !important; letter-spacing: 0; text-transform: none; width: 100%; }
.ps-menu-forgot {
	color: rgba(255, 255, 255, .88);
	display: inline-block;
	font-size: .95rem;
	letter-spacing: 0;
	margin-top: 4px;
	text-transform: none;
}
.ps-menu-join { background: #fff; border-radius: 12px; color: var(--ps-ink); padding: 16px; }
.ps-menu-join b { color: var(--ps-ink); display: block; font-size: 1.02rem; letter-spacing: 0; text-transform: none; }
.ps-menu-join p { color: var(--ps-muted); font-size: .92rem; letter-spacing: 0; line-height: 1.45; margin: 5px 0 13px; text-transform: none; }
.ps-menu-seller {
	color: rgba(255, 255, 255, .88) !important;
	display: inline-block;
	font-size: .95rem;
	letter-spacing: 0;
	margin-top: 12px;
	text-transform: none;
}

/* Submenus: same family, calmer size, normal case */
.navbar-custom .sub-menu > li > a,
.navbar-custom .children > li > a,
.navbar-custom .sub-menu a { font-size: .92rem !important; letter-spacing: 0 !important; text-transform: none !important; }
.members_menu a { font-size: 1rem !important; letter-spacing: 0 !important; text-transform: none !important; }

.navbar-custom .sub-menu, .navbar-custom .children { font-size: .92rem !important; }

/* Signup page: fields spread over two columns, actions full width below */
.ps-signup-actions { margin-top: 6px; max-width: 660px; }

/* Cookie notice */
.ps-cookie {
	align-items: center;
	background: var(--ps-ink);
	border-radius: 14px;
	bottom: 18px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	justify-content: space-between;
	left: 18px;
	max-width: 680px;
	padding: 16px 20px;
	position: fixed;
	right: 18px;
	z-index: 2100;
}
.ps-cookie__text { font-size: .92rem; line-height: 1.45; max-width: 470px; }
.ps-cookie__text a { color: #7fd3f2; text-decoration: underline; }
.ps-cookie__text a:hover { color: #fff; }
.ps-cookie__ok { background: #fff; border-color: #fff; color: var(--ps-ink); }
.ps-cookie__ok:hover, .ps-cookie__ok:focus { background: var(--ps-brand); border-color: var(--ps-brand); color: #fff; }
@media (max-width: 600px) {
	.ps-cookie { bottom: 10px; left: 10px; padding: 14px 16px; right: 10px; }
}

body.ps-cookie-open { padding-bottom: 104px; }
@media (max-width: 600px) { body.ps-cookie-open { padding-bottom: 150px; } }

/* Gallery page title: clear, but not shouting */
h1.ps-gallery-title, .clearfix > h1.ps-gallery-title { font-size: clamp(1.35rem, 2.2vw, 1.6rem) !important; line-height: 1.25; }

/* Header cart: icon + count badge */
.navbar-cart-inner {
	display: inline-flex;
	float: none;
	height: auto;
	width: auto;
}
.navbar-cart-inner .cart-contents {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	position: relative;
	text-decoration: none;
}
.navbar-cart-inner .ps-cart-icon {
	color: var(--ps-ink);
	font-size: 22px;
	line-height: 1;
}
.navbar-cart-inner .cart-contents:hover .ps-cart-icon { color: var(--ps-cta); }
.navbar-cart-inner .cart-item-number {
	align-items: center;
	background: var(--ps-cta);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: .72rem !important;
	font-weight: 700;
	height: 20px;
	justify-content: center;
	left: auto;
	min-width: 20px;
	padding: 0 6px;
	position: static;
	top: auto;
}

/* Checkout agreement tick box */
.ps-terms--checkout { margin: 8px 0 16px; max-width: 720px; }

/* My Downloads: order ZIP shortcuts */
.ps-downloads-zips {
	background: var(--ps-soft);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	margin: 4px 0 22px;
	padding: 16px 18px;
}
.ps-downloads-zips__title {
	color: var(--ps-muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin-bottom: 11px;
	text-transform: uppercase;
}
.ps-downloads-zips__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-downloads-zips .ps-zip-btn {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	color: var(--ps-ink);
	display: inline-flex;
	font-size: .92rem !important;
	font-weight: 600;
	gap: 8px;
	line-height: 1.2;
	padding: 10px 14px;
	text-decoration: none;
}
.ps-downloads-zips .ps-zip-btn:hover, .ps-downloads-zips .ps-zip-btn:focus {
	background: var(--ps-cta);
	border-color: var(--ps-cta);
	color: #fff;
	text-decoration: none;
}
.ps-downloads-zips .ps-zip-btn i { color: var(--ps-cta); }
.ps-downloads-zips .ps-zip-btn:hover i { color: #fff; }

/* Member area menu: match the site type */
#profile_menu li a, #profile_menu li a:visited, #profile_menu li a:hover {
	font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif !important;
	font-size: .95rem !important;
	text-decoration: none !important;
}
#profile_menu ul li { padding: 9px 6px; }
#profile_menu ul ul { margin: 2px 0 1px 16px !important; }
#profile_menu ul ul li a { font-size: .9rem !important; }
#profile_menu #profile_photo b { font-size: 1rem; }

/* Home intro text spans the same width as the promo bar */
.home-prod-subtitle { max-width: none; }

/* Home headline spans the container on one line */
.home-prod-title {
	font-size: clamp(1.7rem, 4.2vw, 3.2rem) !important;
	line-height: 1.08;
	white-space: nowrap;
}
@media (max-width: 991px) {
	.home-prod-title { font-size: clamp(1.5rem, 5.4vw, 2.2rem) !important; white-space: normal; }
}

/* About section: closer to the main site's language */
.ps-about { padding: 10px 0 clamp(56px, 7vw, 94px); }
.ps-eyebrow {
	align-items: center;
	color: var(--ps-muted);
	display: inline-flex;
	font-size: .74rem;
	font-weight: 700;
	gap: 10px;
	letter-spacing: .16em;
	margin: 0 0 16px;
	text-transform: uppercase;
}
.ps-eyebrow::before {
	background: var(--ps-brand);
	border-radius: 2px;
	content: "";
	display: block;
	height: 2px;
	width: 28px;
}
.home-prod-title { letter-spacing: -.02em; margin-bottom: 20px !important; }
.ps-chev { color: var(--ps-brand); font-weight: 800; padding: 0 .08em; }
.home-prod-subtitle p {
	color: var(--ps-muted);
	font-size: 1.02rem;
	line-height: 1.7;
	margin: 0 0 16px;
}
.home-prod-subtitle .ps-lede {
	color: #05070a;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	margin-bottom: 18px;
}

/* The About eyebrow already carries the brand rule */
.home-prod-title::before { display: none; }

/* Tighter hand-off from the gallery/promo into the About section */
#latest { padding-bottom: clamp(40px, 4.1vw, 54px) !important; }

/* Item page: calmer file name and size chooser */
.product_title { font-size: clamp(1.15rem, 1.7vw, 1.4rem) !important; line-height: 1.2 !important; }
.price_license, .price_license a, .price_license label { font-size: .88rem !important; }
.table_cart td, .table_cart th { font-size: .82rem !important; }
.table_cart th { font-size: .68rem !important; }
.table_cart td { padding: 8px 6px; }
.price, .price span { font-size: .92rem !important; }

/* Photo page filename label */
.ps-file-label {
	color: var(--ps-muted);
	font-size: .66em;
	font-weight: 700;
	letter-spacing: .09em;
	margin-right: 4px;
	text-transform: uppercase;
	vertical-align: .14em;
}

/* Number search: not-in-this-gallery notice */
.ps-find-note {
	background: #fff4e5;
	border: 1px solid #f3d4a8;
	border-radius: 10px;
	color: #6b4a11;
	font-size: .92rem;
	margin: -4px 0 16px;
	max-width: 520px;
	padding: 10px 13px;
}
.ps-find-note a { color: var(--ps-cta); font-weight: 700; }

.ps-find-note--info {
	background: var(--ps-soft);
	border-color: var(--ps-line);
	color: var(--ps-ink-soft);
}
.ps-find-note--info a { float: right; }

/* Photo page: back to the gallery */
.ps-back-gallery-wrap { margin: 0; }
.ps-back-gallery {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	color: var(--ps-ink) !important;
	display: inline-flex;
	font-size: .9rem !important;
	font-weight: 600;
	gap: 7px;
	padding: 8px 14px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.ps-back-gallery:hover, .ps-back-gallery:focus {
	background: var(--ps-cta);
	border-color: var(--ps-cta);
	color: #fff !important;
	text-decoration: none;
}
.ps-back-gallery i { color: var(--ps-cta); }
.ps-back-gallery:hover i { color: #fff; }

/* Photo page: previous / next */
.next_previous { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ps-pager {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	color: var(--ps-ink) !important;
	display: inline-flex;
	font-size: .86rem !important;
	font-weight: 600;
	gap: 6px;
	line-height: 1.2;
	padding: 8px 12px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.ps-pager:hover, .ps-pager:focus {
	background: var(--ps-cta);
	border-color: var(--ps-cta);
	color: #fff !important;
	text-decoration: none;
}
.ps-pager i { color: var(--ps-cta); }
.ps-pager:hover i { color: #fff; }
@media (max-width: 520px) {
	.next_previous { justify-content: flex-start; }
}

/* Actions row directly under the photo */
.ps-file-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }

/* Gallery pages: keep the footer to Media Stock + Site info */
.ps-gallery-view .ps-footer-customers,
.ps-gallery-view .ps-footer-stats { display: none !important; }

/* -------------------------------------------------------------------------
 * Home: new galleries (2027 onwards) and the Photofrog archive
 * ---------------------------------------------------------------------- */
.ps-gallery-head {
	margin: 0 auto clamp(22px, 3vw, 34px);
	max-width: 700px;
	text-align: center;
}
.ps-gallery-head .ps-eyebrow { margin-bottom: 12px; }
.ps-gallery-title::before { display: none !important; }
.ps-gallery-title {
	font-size: clamp(1.8rem, 3.6vw, 2.6rem) !important;
	letter-spacing: -.03em !important;
	margin: 0 0 12px !important;
}
.ps-gallery-lede {
	color: var(--ps-muted);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}

.ps-archive { padding: 0 0 clamp(44px, 5.4vw, 72px); }
.ps-archive-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	min-height: clamp(290px, 27vw, 360px);
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--ps-radius);
	background: var(--ps-ink);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 18px 44px -34px rgba(7, 9, 12, .55);
	transition: transform .45s ease, box-shadow .45s ease;
}
.ps-archive-card:hover,
.ps-archive-card:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 28px 54px -32px rgba(7, 9, 12, .6);
}
.ps-archive-card__media {
	position: relative;
	z-index: 0;
	min-height: 240px;
	background-image: url('../images/ps-archive.jpg?v=2');
	background-position: center;
	background-size: cover;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.ps-archive-card:hover .ps-archive-card__media { transform: scale(1.04); }
.ps-archive-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	padding: clamp(26px, 3.2vw, 46px);
	background: var(--ps-ink);
}
.ps-archive-card__body .ps-eyebrow { color: rgba(255, 255, 255, .84); margin: 0 0 12px; }
.ps-archive-card__body .ps-eyebrow::before { background: rgba(255, 255, 255, .5); }
.ps-archive-title {
	color: #fff !important;
	text-align: left !important;
	font-size: clamp(1.55rem, 2.5vw, 2.15rem) !important;
	letter-spacing: -.025em !important;
	margin: 0 0 12px !important;
}
.ps-archive-text {
	color: rgba(255, 255, 255, .82);
	font-size: 1rem;
	line-height: 1.55;
	margin: 0 0 20px;
	max-width: 46ch;
}
.ps-archive-btn {
	align-items: center;
	background: #fff;
	border-radius: 999px;
	color: var(--ps-ink);
	display: inline-flex;
	font-size: .93rem;
	font-weight: 700;
	gap: 10px;
	min-height: 44px;
	padding: 11px 20px;
	transition: background .25s ease;
}
.ps-archive-btn span { transition: transform .3s ease; }
.ps-archive-card:hover .ps-archive-btn { background: var(--ps-soft); }
.ps-archive-card:hover .ps-archive-btn span { transform: translateX(4px); }

@media (max-width: 767px) {
	.ps-archive-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.ps-archive-card__media { min-height: 190px; }
	.ps-archive-card__body { padding: 24px 22px 26px; }
	.ps-archive-btn { justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ps-archive-card, .ps-archive-card:hover,
	.ps-archive-card__media, .ps-archive-card:hover .ps-archive-card__media,
	.ps-archive-btn span, .ps-archive-card:hover .ps-archive-btn span { transform: none; }
}

/* -------------------------------------------------------------------------
 * About: editorial two-column block
 * ---------------------------------------------------------------------- */
.ps-about__grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: clamp(26px, 5vw, 70px);
	align-items: start;
}
.ps-about__title {
	color: var(--ps-ink);
	font-size: clamp(2.2rem, 4.8vw, 3.5rem) !important;
	line-height: 1.02 !important;
	letter-spacing: -.04em !important;
	margin: 0 0 18px !important;
}
.ps-about__title span { color: var(--ps-brand); }
.ps-about__statement {
	color: var(--ps-muted);
	font-size: clamp(1.08rem, 1.5vw, 1.28rem);
	line-height: 1.45;
	margin: 0;
	max-width: 26ch;
}
.ps-about__copy p {
	color: var(--ps-ink-soft);
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 0 0 16px;
}
.ps-about__copy p a { color: var(--ps-brand-deep); font-weight: 600; text-decoration: none; }
.ps-about__copy p a:hover { color: var(--ps-cta); }
.ps-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--ps-ink);
	color: #fff;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background .25s ease;
}
.ps-about .ps-about__cta,
.ps-about .ps-about__cta:hover { color: #fff !important; }
.ps-about__cta:hover { background: var(--ps-cta); }
.ps-about__cta span { transition: transform .3s ease; }
.ps-about__cta:hover span { transform: translateX(4px); }
.ps-about__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: clamp(28px, 3.4vw, 42px) 0 0;
	padding: clamp(20px, 2.4vw, 28px) 0 0;
	border-top: 1px solid var(--ps-line);
}
.ps-about__tags li {
	border: 1px solid var(--ps-line);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ps-muted);
}
@media (max-width: 767px) {
	.ps-about__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ps-about__statement { max-width: none; }
	.ps-about__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.ps-about__cta span, .ps-about__cta:hover span { transform: none; }
}

/* Home: jump link from the new-galleries header to the archive card */
.ps-gallery-archive {
	align-items: center;
	color: var(--ps-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: .98rem;
	gap: 10px;
	justify-content: center;
	margin: 18px 0 0;
}
.ps-gallery-archive a {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 999px;
	color: var(--ps-brand-deep);
	display: inline-flex;
	font-weight: 700;
	gap: 6px;
	padding: 7px 14px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ps-gallery-archive a:hover {
	background: var(--ps-soft);
	border-color: var(--ps-brand);
	color: var(--ps-cta);
}
#archive { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Home: halve the space between the fixed header and the first eyebrow */
#latest { padding-top: clamp(26px, 3.2vw, 46px) !important; }

/* Gallery creation date under the card title */
.ps-cat-date {
	display: block;
	margin: 0;
	padding: 0;
	font-size: .82rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ps-muted);
}

#category_boxes h5, #category_boxes h6.title { margin-bottom: 0; }

/* Categories page: image fills the home-style card */
.ps-cat-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Mobile header cart link */
.ps-cart-mobile { display: none; }
@media (max-width: 991px) {
	.navbar-cart { display: none !important; }
	.navbar-header { flex: 1 1 auto; }
	.ps-cart-mobile {
		align-items: center;
		border: 1px solid var(--ps-line);
		border-radius: 10px;
		color: var(--ps-ink);
		display: inline-flex;
		font-size: 19px;
		height: 40px;
		justify-content: center;
		margin-left: auto;
		margin-right: 10px;
		text-decoration: none;
		width: 40px;
	}
	.ps-cart-mobile:hover,
	.ps-cart-mobile:focus { border-color: var(--ps-brand); color: var(--ps-cta); }
}

/* Mobile cart count badge */
.ps-cart-mobile { position: relative; }
.ps-cart-mobile-count {
	align-items: center;
	background: var(--ps-cta);
	border-radius: 999px;
	color: #fff;
	display: none;
	font-size: .68rem;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	line-height: 1;
	min-width: 18px;
	padding: 0 5px;
	position: absolute;
	right: -6px;
	top: -6px;
	z-index: 2;
}
.ps-cart-mobile-count.is-visible { display: inline-flex; }

/* Login: privacy policy link */
.ps-auth__privacy {
	color: var(--ps-muted);
	font-size: .86rem;
	line-height: 1.45;
	margin: 14px 0 0;
}
.ps-auth__privacy a {
	color: var(--ps-brand-deep);
	font-weight: 600;
	text-decoration: underline;
}

/* Mobile archive jump link placement */
.ps-gallery-archive--mobile { display: none; }
@media (max-width: 767px) {
	.ps-gallery-archive--desktop { display: none; }
	.ps-gallery-archive--mobile { display: flex; margin: 8px 0 22px; }
}

/* Mobile gallery thumb fills its wrapper */
@media (max-width: 767px) {
	.prod-img-wrap2 a,
	.prod-img-wrap2 picture { display: block; height: 100%; }
	.prod-img-wrap2 img { width: 100% !important; height: 100% !important; object-fit: cover; }
}

/* Centre inner pages and galleries (base theme had 30px left / 0 right) */
.container.second_page { padding-left: 15px; padding-right: 15px; }

/* Mobile: show menu submenus inline */
@media (max-width: 767px) {
	.navbar-custom .sub-menu,
	.navbar-custom .children {
		background: transparent !important;
		box-shadow: none !important;
		display: block !important;
		opacity: 1 !important;
		padding-left: 18px !important;
		position: static !important;
		visibility: visible !important;
	}
	.navbar-custom .sub-menu > li > a,
	.navbar-custom .children > li > a { padding: 10px 2px !important; }
	.navbar-custom .menu-item-has-children > a[href="#"] { pointer-events: none; }
}

/* Modern cart dropdown */
.navbar-cart-inner { position: relative; }
.navbar-cart-inner .cart_menu {
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	box-shadow: 0 24px 60px -24px rgba(7, 9, 12, .45);
	color: var(--ps-ink);
	float: none;
	left: auto;
	margin: 10px 0 0;
	max-width: calc(100vw - 24px);
	padding: 0;
	right: 0;
	text-transform: none;
	top: 100%;
	width: 380px;
	z-index: 1050;
}
.cart_menu__head {
	align-items: baseline;
	border-bottom: 1px solid var(--ps-line);
	display: flex;
	justify-content: space-between;
	padding: 14px 18px;
}
.cart_menu__head strong { font-size: .95rem; }
.cart_menu__head span { color: var(--ps-muted); font-size: .78rem; }
.cart_menu__items { max-height: 310px; overflow: auto; padding: 4px 18px; }
.cart_menu__item {
	align-items: center;
	border-bottom: 1px solid var(--ps-line);
	display: flex;
	gap: 10px;
	padding: 10px 0;
}
.cart_menu__item:last-child { border-bottom: 0; }
.cart_menu__thumb { flex: 0 0 auto; }
.cart_menu__thumb img {
	border-radius: 8px;
	display: block;
	height: 54px;
	object-fit: cover;
	width: 54px;
}
.cart_menu__info { flex: 1 1 auto; min-width: 0; }
.cart_menu__title {
	color: var(--ps-ink);
	display: block;
	font-size: .86rem;
	font-weight: 600;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cart_menu__desc,
.cart_menu__qty { color: var(--ps-muted); display: block; font-size: .74rem; }
.cart_menu__price { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.cart_menu__remove { color: var(--ps-muted); font-size: .85rem; text-decoration: none; }
.cart_menu__remove:hover { color: var(--ps-cta); }
.cart_menu__discount {
	background: #f0fbf5;
	border-top: 1px solid #d3f0e1;
	color: #116b4a;
	font-size: .8rem;
	font-weight: 600;
	padding: 10px 18px;
}
.cart_menu__foot { border-top: 1px solid var(--ps-line); padding: 14px 18px; }
.cart_menu__total {
	align-items: baseline;
	display: flex;
	font-size: .88rem;
	justify-content: space-between;
	margin-bottom: 10px;
}
.cart_menu__total strong { font-size: 1rem; }
.cart_menu__actions { display: flex; gap: 8px; }
.cart_menu__actions .btn {
	border-radius: 8px;
	flex: 1 1 0;
	font-size: .8rem;
	font-weight: 700;
	padding: 9px 10px;
	text-align: center;
}
.cart_menu__actions .btn-outline {
	background: #fff;
	border: 1px solid var(--ps-line);
	color: var(--ps-ink);
	text-decoration: none;
}
.cart_menu__actions .btn-outline:hover { border-color: var(--ps-brand); color: var(--ps-cta); }

/* Keep the first gallery card (and its Add to Cart button) in the first screen on phones */
@media (max-width: 600px) {
	.container.second_page:has(.ps-gallery-title) {
		padding-top: 10px !important;
	}
}

/* Show password toggle on signup */
.ps-show-password {
	align-items: center;
	color: var(--ps-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: .88rem;
	gap: 7px;
	margin-top: 6px;
}
.ps-show-password input { margin: 0; }

/* Make the signup option obvious when the login form is the only card visible */
.ps-auth__switch {
	border-top: 1px solid var(--ps-line);
	display: none;
	margin-top: 14px;
	padding-top: 14px;
	text-align: center;
}
.ps-auth__switch span {
	color: var(--ps-muted);
	display: block;
	font-size: .9rem;
	margin-bottom: 8px;
}
.ps-auth__switch a {
	border: 1px solid var(--ps-line);
	border-radius: 8px;
	color: var(--ps-cta);
	display: block;
	font-weight: 700;
	padding: 11px 14px;
	text-decoration: none;
}
.ps-auth__switch a:hover,
.ps-auth__switch a:focus {
	border-color: var(--ps-cta);
	color: var(--ps-cta);
}
@media (max-width: 860px) {
	.ps-auth__switch { display: block; }
}

/* Mobile bottom bar + slide-out cart */
.ps-mobile-bar { display: none; }
.ps-mobile-cart,
.ps-mobile-cart-overlay { display: none; }
body.ps-cart-open { overflow: hidden; }

@media (max-width: 860px) {
	.ps-cart-mobile { display: none !important; }
	body { padding-bottom: 78px; }
	.ps-mobile-bar {
		background: #fff;
		border-top: 1px solid var(--ps-line);
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		left: 0;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 1040;
		box-shadow: 0 -8px 30px rgba(7, 9, 12, .08);
	}
	.ps-mobile-bar a,
	.ps-mobile-bar button {
		align-items: center;
		background: none;
		border: 0;
		color: var(--ps-ink);
		display: flex;
		flex-direction: column;
		font-size: .72rem;
		font-weight: 700;
		gap: 3px;
		justify-content: center;
		padding: 6px 4px;
		position: relative;
		text-decoration: none;
	}
	.ps-mobile-bar .fa { font-size: 1.15rem; }
	.ps-mobile-bar__count {
		background: var(--ps-cta);
		border-radius: 999px;
		color: #fff;
		font-size: .65rem;
		line-height: 1;
		min-width: 18px;
		padding: 2px 5px;
		position: absolute;
		right: calc(50% - 30px);
		top: 4px;
	}
	.ps-mobile-bar__count:empty { display: none; }

	.ps-mobile-cart-overlay {
		background: rgba(7, 9, 12, .45);
		bottom: 0;
		display: block;
		left: 0;
		opacity: 0;
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 0;
		transition: opacity .2s ease;
		z-index: 1050;
	}
	.ps-mobile-cart-overlay.is-open { opacity: 1; pointer-events: auto; }
	.ps-mobile-cart {
		background: #fff;
		bottom: 0;
		display: flex;
		flex-direction: column;
		max-width: 420px;
		position: fixed;
		right: 0;
		top: 0;
		transform: translateX(100%);
		transition: transform .25s ease;
		width: calc(100% - 40px);
		z-index: 1060;
	}
	.ps-mobile-cart.is-open { transform: translateX(0); }
	.ps-mobile-cart__head {
		align-items: center;
		border-bottom: 1px solid var(--ps-line);
		display: flex;
		justify-content: space-between;
		padding: 16px 18px;
	}
	.ps-mobile-cart__head strong { font-size: 1.05rem; }
	.ps-mobile-cart__head button { background: none; border: 0; font-size: 1.6rem; line-height: 1; padding: 0 4px; }
	.ps-mobile-cart__body { flex: 1; overflow: auto; padding: 0 18px 18px; }
	.ps-mobile-cart .cart_menu__items { max-height: none; overflow: visible; padding: 0; }
	.ps-mobile-cart .cart_menu__foot { padding: 16px 0 0; }
	.ps-mobile-cart .cart_menu__actions { display: flex; gap: 8px; }
	.ps-mobile-cart .cart_menu__actions .btn { flex: 1 1 0; text-align: center; }
	.ps-mobile-cart__empty { color: var(--ps-muted); padding: 28px 0; text-align: center; }
	.ps-mobile-cart__empty a { color: var(--ps-cta); font-weight: 700; }
}

.flow2_box picture { display: block; }

.flow2_cart { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.flow2_price { color: var(--ps-ink); font-size: .9rem; font-weight: 700; }
.ps-gallery-offer {
	background: #eef8fc;
	border: 1px solid #cfe9f2;
	border-radius: 10px;
	color: #0a5d78;
	font-size: .9rem;
	line-height: 1.45;
	margin: 12px 0 18px;
	padding: 10px 14px;
}
