/* =========================================================================
   Prajvii Studio – customer pages: checkout, sign in / register, thank you.
   The theme shows cart, checkout and account pages on its light "ivory"
   surface, so everything here uses that palette (scoped to .site-main so the
   theme's own light colour variables are picked up correctly).
   ========================================================================= */

.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-cart .site-main,
.pjs-stickybar {
	--pjf-bg: var(--bg, #fbf7f0);
	--pjf-paper: var(--paper, #fffcf6);
	--pjf-cream: var(--cream, #f4ecdf);
	--pjf-sand: var(--sand, #e8dac4);
	--pjf-ink: var(--ink, #23181b);
	--pjf-ink-2: var(--ink-2, #3b3133);
	--pjf-muted: var(--muted, #7a6a65);
	--pjf-line: var(--line, rgba(128, 0, 32, .12));
	--pjf-line-2: var(--line-2, rgba(128, 0, 32, .22));
	--pjf-maroon: #8a1430;
	--pjf-maroon-2: #a31d3d;
	--pjf-deep: #5a0a1f;
	--pjf-wine: #22040c;
	--pjf-gold: #a3762f;
	--pjf-gold-l: #d6b373;
	--pjf-ok: #1f7a4d;
	--pjf-err: #b3263b;
	--pjf-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--pjf-sans: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
	--pjf-r: 12px;
	--pjf-r-lg: 18px;
	--pjf-shadow: 0 1px 2px rgba(90, 10, 31, .04), 0 20px 44px -30px rgba(90, 10, 31, .35);
}
.pjs-stickybar { --pjf-paper: #fffcf6; --pjf-ink: #23181b; --pjf-muted: #7a6a65; --pjf-line: rgba(128, 0, 32, .12); }

/* ---------- Form controls (checkout + account) ---------- */
.woocommerce-checkout .site-main form .input-text,
.woocommerce-checkout .site-main form select,
.woocommerce-account .site-main form .input-text,
.woocommerce-account .site-main form select,
.woocommerce-checkout .site-main .select2-container .select2-selection--single {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	box-sizing: border-box;
	border: 1px solid var(--pjf-line-2);
	border-radius: var(--pjf-r);
	background: #fff;
	color: var(--pjf-ink);
	font: 400 16px/1.4 var(--pjf-sans);
	box-shadow: none;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.woocommerce-checkout .site-main form select,
.woocommerce-account .site-main form select {
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a6a65' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.woocommerce-checkout .site-main form textarea.input-text { min-height: 100px; resize: vertical; }
.woocommerce-checkout .site-main form .input-text::placeholder,
.woocommerce-account .site-main form .input-text::placeholder { color: #a99a95; opacity: 1; }
.woocommerce-checkout .site-main form .input-text:focus,
.woocommerce-checkout .site-main form select:focus,
.woocommerce-account .site-main form .input-text:focus,
.woocommerce-checkout .site-main .select2-container--open .select2-selection--single,
.woocommerce-checkout .site-main .select2-container--focus .select2-selection--single {
	border-color: var(--pjf-maroon);
	box-shadow: 0 0 0 3px rgba(138, 20, 48, .12);
}
.woocommerce-checkout .site-main .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.woocommerce-checkout .site-main .select2-container .select2-selection__rendered { color: var(--pjf-ink) !important; padding: 0 !important; line-height: 48px !important; }
.woocommerce-checkout .site-main .select2-container .select2-selection__arrow { height: 48px !important; right: 10px !important; }
.select2-container .select2-dropdown { background: #fff; border-color: rgba(128, 0, 32, .22); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(90, 10, 31, .4); }
.select2-container .select2-results__option { color: #23181b; padding: 10px 14px; }
.select2-container .select2-results__option--highlighted[aria-selected],
.select2-container .select2-results__option--highlighted { background: #8a1430 !important; color: #fff !important; }
.select2-container .select2-search__field { border-radius: 8px; border: 1px solid rgba(128, 0, 32, .22) !important; padding: 8px 10px !important; }

.woocommerce-checkout .site-main form .form-row label,
.woocommerce-account .site-main form .form-row label {
	display: block;
	margin: 0 0 6px;
	color: var(--pjf-ink-2);
	font: 500 13px/1.3 var(--pjf-sans);
	letter-spacing: .01em;
}
.woocommerce-checkout .site-main form .form-row .required,
.woocommerce-account .site-main form .form-row .required { color: var(--pjf-maroon); text-decoration: none; border: 0; }
.woocommerce-checkout .site-main form .form-row .optional { color: var(--pjf-muted); font-weight: 400; }
.woocommerce-checkout .site-main form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce-checkout .site-main .woocommerce-invalid .input-text,
.woocommerce-checkout .site-main .woocommerce-invalid select,
.woocommerce-checkout .site-main .woocommerce-invalid .select2-selection { border-color: var(--pjf-err) !important; background-color: #fff8f8; }
.woocommerce-checkout .site-main .woocommerce-validated .input-text { border-color: rgba(31, 122, 77, .45); }
.woocommerce-checkout .site-main .checkout-inline-error-message,
.woocommerce-checkout .site-main .woocommerce-error li { color: var(--pjf-err); font-size: 13px; }
.pjs-hide { display: none !important; }

/* ---------- Notices ---------- */
.woocommerce-checkout .site-main .woocommerce-error,
.woocommerce-checkout .site-main .woocommerce-message,
.woocommerce-checkout .site-main .woocommerce-info,
.woocommerce-account .site-main .woocommerce-error,
.woocommerce-account .site-main .woocommerce-message,
.woocommerce-account .site-main .woocommerce-info {
	background: var(--pjf-paper);
	color: var(--pjf-ink-2);
	border: 1px solid var(--pjf-line);
	border-left: 3px solid var(--pjf-maroon);
	border-radius: var(--pjf-r);
	padding: 14px 18px 14px 18px;
	margin: 0 0 18px;
	list-style: none;
	font-size: 14.5px;
	box-shadow: none;
}
.woocommerce-checkout .site-main .woocommerce-error { border-left-color: var(--pjf-err); background: #fff8f8; }
.woocommerce-checkout .site-main .woocommerce-message { border-left-color: var(--pjf-ok); }
.woocommerce-checkout .site-main .woocommerce-error::before,
.woocommerce-checkout .site-main .woocommerce-message::before,
.woocommerce-checkout .site-main .woocommerce-info::before { display: none; }
.woocommerce-checkout .site-main .woocommerce-info a,
.woocommerce-account .site-main .woocommerce-info a { color: var(--pjf-maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Checkout steps ---------- */
.pjs-steps-bar {
	list-style: none; display: flex; margin: 4px auto 28px; padding: 0; max-width: 560px; font-family: var(--pjf-sans);
}
.pjs-steps-bar li {
	flex: 1; position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: var(--pjf-muted); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.pjs-steps-bar li::before {
	content: ""; position: absolute; top: 15px; height: 2px; border-radius: 2px;
	left: calc(-50% + 22px); right: calc(50% + 22px); background: var(--pjf-line-2);
}
.pjs-steps-bar li:first-child::before { display: none; }
.pjs-steps-bar span {
	position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: var(--pjf-paper); border: 1.5px solid var(--pjf-line-2); color: var(--pjf-muted);
	font-size: 13px; font-weight: 600; letter-spacing: 0;
}
.pjs-steps-bar .is-done { color: var(--pjf-ink-2); }
.pjs-steps-bar .is-done span { background: var(--pjf-maroon); border-color: var(--pjf-maroon); color: #fff; font-size: 0; }
.pjs-steps-bar .is-done span::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.pjs-steps-bar .is-done::before, .pjs-steps-bar .is-current::before { background: var(--pjf-maroon); }
.pjs-steps-bar .is-current { color: var(--pjf-deep); font-weight: 600; }
.pjs-steps-bar .is-current span { border-color: var(--pjf-maroon); color: var(--pjf-maroon); box-shadow: 0 0 0 5px rgba(138, 20, 48, .1); }
@media (max-width: 480px) { .pjs-steps-bar li { font-size: 10px; letter-spacing: .1em; } }

/* ---------- Coupon / returning customer toggles ---------- */
.woocommerce-checkout .site-main .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .site-main .woocommerce-form-login-toggle .woocommerce-info {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	background: var(--pjf-paper); border: 1px dashed var(--pjf-line-2); border-left: 1px dashed var(--pjf-line-2);
	color: var(--pjf-ink-2); padding: 14px 18px;
}
.woocommerce-checkout .site-main form.checkout_coupon,
.woocommerce-checkout .site-main form.woocommerce-form-login {
	background: var(--pjf-paper); border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg);
	padding: 20px; margin: -6px 0 18px; box-shadow: var(--pjf-shadow);
}
.woocommerce-checkout .site-main form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.woocommerce-checkout .site-main form.checkout_coupon p:not(.form-row) { width: 100%; margin: 0 0 4px; color: var(--pjf-muted); font-size: 14px; }
.woocommerce-checkout .site-main form.checkout_coupon .form-row { flex: 1 1 200px; width: auto; float: none; margin: 0; }
.woocommerce-checkout .site-main form.checkout_coupon .form-row-last { flex: 0 0 auto; }

/* ---------- Layout ---------- */
@media (min-width: 980px) {
	.woocommerce-checkout .site-main form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		gap: 0 32px;
		align-items: start;
	}
	.woocommerce-checkout .site-main form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	.woocommerce-checkout .site-main form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	.woocommerce-checkout .site-main form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
	.woocommerce-checkout .site-main form.checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 110px; }
}
.woocommerce-checkout .site-main #customer_details.col2-set { width: 100%; float: none; display: block; margin: 0; }
.woocommerce-checkout .site-main #customer_details .col-1,
.woocommerce-checkout .site-main #customer_details .col-2 { float: none; width: 100%; max-width: none; padding: 0; margin: 0; }
.woocommerce-checkout .site-main .woocommerce-billing-fields,
.woocommerce-checkout .site-main .woocommerce-shipping-fields,
.woocommerce-checkout .site-main .woocommerce-additional-fields,
.woocommerce-checkout .site-main .woocommerce-account-fields {
	background: var(--pjf-paper); border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg);
	padding: clamp(18px, 3vw, 28px); margin: 0 0 18px; box-shadow: var(--pjf-shadow);
}
.woocommerce-checkout .site-main .woocommerce-shipping-fields:not(:has(#ship-to-different-address)) { display: none; }
.woocommerce-checkout .site-main .woocommerce-account-fields { padding: 16px 22px; }
.woocommerce-checkout .site-main .woocommerce-account-fields:empty { display: none; }
.woocommerce-checkout .site-main #customer_details h3,
.woocommerce-checkout .site-main #order_review_heading {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 18px; color: var(--pjf-deep);
	font: 500 clamp(24px, 2.4vw, 30px)/1.15 var(--pjf-serif); letter-spacing: 0;
}
.woocommerce-checkout .site-main .woocommerce-billing-fields > h3::before,
.woocommerce-checkout .site-main .woocommerce-additional-fields > h3::before {
	content: counter(pjs-step); counter-increment: pjs-step;
	display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: var(--pjf-maroon); color: #fff; font: 600 13px/1 var(--pjf-sans);
}
.woocommerce-checkout .site-main form.checkout { counter-reset: pjs-step; }
.woocommerce-checkout .site-main #ship-to-different-address { margin: 0; font: 500 16px/1.4 var(--pjf-sans); color: var(--pjf-ink); }
.woocommerce-checkout .site-main #ship-to-different-address label { display: flex !important; align-items: center; gap: 10px; cursor: pointer; margin: 0; font: inherit; color: inherit; }
.woocommerce-checkout .site-main #ship-to-different-address input,
.woocommerce-checkout .site-main .woocommerce-account-fields input[type=checkbox],
.woocommerce-checkout .site-main .woocommerce-form__input-checkbox { width: 18px; height: 18px; margin: 0; accent-color: var(--pjf-maroon); flex: none; }
.woocommerce-checkout .site-main .shipping_address { margin-top: 18px; }
.woocommerce-checkout .site-main .woocommerce-account-fields label.checkbox,
.woocommerce-checkout .site-main .woocommerce-account-fields .create-account label { display: flex !important; align-items: center; gap: 10px; color: var(--pjf-ink); font-size: 15px; font-weight: 500; margin: 0; }
.woocommerce-checkout .site-main .woocommerce-account-fields p.create-account { margin: 0; }
.pjs-account-hint { margin: 6px 0 0 28px; color: var(--pjf-muted); font-size: 13px; }
.woocommerce-checkout .site-main .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .site-main .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 4%; }
.woocommerce-checkout .site-main .form-row-wide { width: 100%; }
.woocommerce-checkout .site-main .form-row-first,
.woocommerce-checkout .site-main .form-row-last { width: 48%; float: none !important; clear: none; }
@media (max-width: 560px) {
	.woocommerce-checkout .site-main .form-row-first,
	.woocommerce-checkout .site-main .form-row-last { width: 100%; }
}
.pjs-pinhint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--pjf-ok); }
.pjs-pinhint.is-bad { color: var(--pjf-err); }

/* ---------- Order summary ---------- */
.woocommerce-checkout .site-main #order_review {
	background: var(--pjf-paper); border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg);
	padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--pjf-shadow); box-sizing: border-box;
}
.woocommerce-checkout .site-main #order_review .shop_table {
	width: 100%; margin: 0 0 18px; border: 0; border-collapse: collapse; border-radius: 0; font-size: 15px; background: none;
}
.woocommerce-checkout .site-main #order_review .shop_table thead { display: none; }
.woocommerce-checkout .site-main #order_review .shop_table th,
.woocommerce-checkout .site-main #order_review .shop_table td {
	padding: 12px 0; border: 0; border-bottom: 1px solid var(--pjf-line); background: none; color: var(--pjf-ink-2);
	vertical-align: middle; text-align: left; font-weight: 400;
}
.woocommerce-checkout .site-main #order_review .shop_table td.product-total,
.woocommerce-checkout .site-main #order_review .shop_table tfoot td { text-align: right; color: var(--pjf-ink); font-weight: 500; white-space: nowrap; }
.woocommerce-checkout .site-main #order_review .shop_table tfoot th { color: var(--pjf-muted); }
.woocommerce-checkout .site-main #order_review .product-name { color: var(--pjf-ink); }
.pjs-ri { display: flex; align-items: center; gap: 12px; }
.pjs-ri__img { position: relative; flex: none; width: 54px; height: 66px; border-radius: 10px; background: var(--pjf-cream); }
.pjs-ri__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.pjs-ri__name { font-weight: 500; line-height: 1.35; }
.woocommerce-checkout .site-main #order_review .product-quantity { color: var(--pjf-maroon); font-weight: 600; font-size: 13px; white-space: nowrap; }
.woocommerce-checkout .site-main #order_review dl.variation { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 13px; color: var(--pjf-muted); }
.woocommerce-checkout .site-main #order_review dl.variation dt,
.woocommerce-checkout .site-main #order_review dl.variation dd { margin: 0; padding: 0; float: none; font-weight: 400; }
.woocommerce-checkout .site-main #order_review dl.variation dd p { margin: 0; display: inline; }
.woocommerce-checkout .site-main #order_review .cart-subtotal th,
.woocommerce-checkout .site-main #order_review .woocommerce-shipping-totals th { padding-top: 14px; }
.woocommerce-checkout .site-main #order_review #shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce-checkout .site-main #order_review #shipping_method li { margin: 0 0 4px; display: flex; gap: 8px; justify-content: flex-end; align-items: center; white-space: normal; }
.woocommerce-checkout .site-main #order_review #shipping_method input { accent-color: var(--pjf-maroon); }
.woocommerce-checkout .site-main #order_review .order-total th,
.woocommerce-checkout .site-main #order_review .order-total td { border-bottom: 0; padding-top: 16px; color: var(--pjf-ink); font-size: 18px; font-weight: 600; }
.woocommerce-checkout .site-main #order_review .order-total td .amount { color: var(--pjf-deep); font-size: 22px; }
.woocommerce-checkout .site-main #order_review .order-total .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--pjf-muted); }

/* Payment */
.woocommerce-checkout .site-main #payment { background: transparent !important; border-radius: 0; padding: 0; }
.woocommerce-checkout .site-main #payment ul.payment_methods {
	list-style: none; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; display: grid; gap: 10px;
}
.woocommerce-checkout .site-main #payment ul.payment_methods li {
	margin: 0 !important; padding: 14px 16px !important; list-style: none;
	border: 1px solid var(--pjf-line-2); border-radius: var(--pjf-r); background: #fff; color: var(--pjf-ink); line-height: 1.4;
	transition: border-color .2s, background .2s;
}
.woocommerce-checkout .site-main #payment ul.payment_methods li:has(> input:checked) { border-color: var(--pjf-maroon); background: #fffaf3; box-shadow: 0 0 0 3px rgba(138, 20, 48, .08); }
.woocommerce-checkout .site-main #payment ul.payment_methods li > input { width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--pjf-maroon); }
.woocommerce-checkout .site-main #payment ul.payment_methods li > label { display: inline; margin: 0; color: var(--pjf-ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.woocommerce-checkout .site-main #payment ul.payment_methods li img { max-height: 22px; margin-left: 6px; vertical-align: middle; }
.woocommerce-checkout .site-main #payment div.payment_box {
	margin: 12px 0 0 !important; padding: 12px 14px !important; border-radius: 10px;
	background: var(--pjf-cream) !important; color: var(--pjf-ink-2) !important; font-size: 14px; line-height: 1.55;
}
.woocommerce-checkout .site-main #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout .site-main #payment div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce-checkout .site-main #payment .place-order { padding: 0 !important; margin: 0; }
.woocommerce-checkout .site-main .woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; font-size: 13px; color: var(--pjf-muted); }
.woocommerce-checkout .site-main .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.55; color: var(--pjf-muted); }
.woocommerce-checkout .site-main .woocommerce-privacy-policy-text a { color: var(--pjf-maroon); }
.woocommerce-checkout .site-main #place_order {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 56px; float: none !important; margin: 0;
	border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: var(--pjf-maroon) !important; color: #fff !important;
	font: 600 15px/1.2 var(--pjf-sans) !important; letter-spacing: .04em;
	box-shadow: 0 16px 30px -18px rgba(138, 20, 48, .9);
	transition: background .2s, transform .15s;
}
.woocommerce-checkout .site-main #place_order:hover { background: var(--pjf-deep) !important; }
.woocommerce-checkout .site-main #place_order:active { transform: scale(.99); }
.woocommerce-checkout .site-main #place_order::before {
	content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-checkout .site-main .blockUI.blockOverlay { background: rgba(251, 247, 240, .7) !important; }
.pjs-trust { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pjs-trust li {
	display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 10px 6px; text-align: center;
	border-radius: 10px; background: var(--pjf-cream); color: var(--pjf-ink-2); font-size: 11.5px; line-height: 1.3;
}
.pjs-trust svg { width: 20px; height: 20px; color: var(--pjf-maroon); }

/* ---------- Sticky "place order" bar ---------- */
.pjs-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 12px max(16px, calc((100vw - 1180px) / 2)) calc(12px + env(safe-area-inset-bottom));
	background: rgba(255, 252, 246, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--pjf-line); box-shadow: 0 -14px 30px -22px rgba(90, 10, 31, .5);
	font-family: "DM Sans", Arial, sans-serif;
	transform: translateY(110%); transition: transform .3s ease;
}
.pjs-stickybar.is-on { transform: none; }
.pjs-stickybar__sum { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pjs-stickybar__sum small { color: var(--pjf-muted); font-size: 12px; letter-spacing: .04em; }
.pjs-stickybar__sum strong { color: #5a0a1f; font-size: 20px; font-weight: 600; white-space: nowrap; }
.pjs-stickybar__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 1 320px;
	min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: #8a1430; color: #fff; font: 600 15px/1.2 "DM Sans", Arial, sans-serif; letter-spacing: .03em;
	box-shadow: 0 14px 26px -16px rgba(138, 20, 48, .9);
}
.pjs-stickybar__btn:hover { background: #5a0a1f; }
.pjs-stickybar__btn svg { width: 18px; height: 18px; }
body.pjs-sticky-on .wa-pill,
body.pjs-sticky-on .currency { transform: translateY(-78px); transition: transform .3s ease; }
@media (min-width: 980px) {
	.pjs-stickybar__btn { flex-basis: 340px; }
}

/* ---------- Sign in / create account ---------- */
.pjs-auth {
	display: grid; grid-template-columns: 1fr; max-width: 1040px; margin: 10px auto 48px;
	border: 1px solid var(--pjf-line); border-radius: 22px; overflow: hidden;
	background: var(--pjf-paper); box-shadow: var(--pjf-shadow); font-family: var(--pjf-sans);
}
@media (min-width: 880px) { .pjs-auth { grid-template-columns: .9fr 1.1fr; } }
.pjs-auth__side {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 220px; padding: clamp(26px, 4vw, 52px); color: #f6ebdc;
	background:
		radial-gradient(90% 70% at 15% 0%, rgba(214, 179, 115, .22), transparent 60%),
		radial-gradient(90% 80% at 100% 100%, rgba(163, 29, 61, .55), transparent 60%),
		linear-gradient(160deg, #5a0a1f, #22040c);
}
.pjs-auth__side::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(214, 179, 115, .25); border-radius: 16px; pointer-events: none; }
.pjs-auth__mark { position: absolute; top: clamp(26px, 4vw, 44px); left: clamp(26px, 4vw, 52px); width: 54px; height: auto; opacity: .95; }
.pjs-auth__eyebrow { position: relative; margin: 0 0 10px; color: #d6b373; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.pjs-auth__headline { position: relative; margin: 0 0 18px; color: #f1dfb6; font: 500 clamp(30px, 3.4vw, 44px)/1.05 var(--pjf-serif); }
.pjs-auth__perks { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pjs-auth__perks li { position: relative; margin: 0; padding-left: 26px; color: #e8d8c4; font-size: 15px; }
.pjs-auth__perks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid #d6b373; border-bottom: 2px solid #d6b373; transform: rotate(-45deg); }
@media (max-width: 879px) {
	.pjs-auth__perks { display: none; }
	.pjs-auth__side { min-height: 0; padding: 22px 24px; }
	.pjs-auth__mark { position: relative; top: auto; left: auto; width: 40px; margin-bottom: 12px; }
	.pjs-auth__headline { font-size: 28px; margin: 0; }
}
.pjs-auth__card { padding: clamp(22px, 4vw, 48px); }
.pjs-auth__tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 26px; border-radius: 999px; background: var(--pjf-cream); }
.pjs-auth__tab { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--pjf-ink-2); font: 600 14px var(--pjf-sans); cursor: pointer; transition: background .2s, color .2s; }
.pjs-auth__tab[aria-selected=true] { background: var(--pjf-maroon); color: #fff; box-shadow: 0 8px 18px -12px rgba(138, 20, 48, .9); }
.pjs-auth__pane h2 { margin: 0 0 6px; color: var(--pjf-deep); font: 500 34px/1.1 var(--pjf-serif); }
.pjs-auth__sub { margin: 0 0 22px; color: var(--pjf-muted); }
.pjs-auth form { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0; box-shadow: none; background: none; }
.pjs-auth .form-row { float: none !important; width: 100% !important; margin: 0 0 16px !important; padding: 0 !important; }
.pjs-auth .password-input { display: block; position: relative; }
.pjs-auth .show-password-input { position: absolute; top: 50% !important; right: 14px !important; transform: translateY(-50%); background: none; border: 0; color: var(--pjf-muted); cursor: pointer; }
.pjs-auth__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 2px 0 22px; font-size: 14px; }
.pjs-auth__row label { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; color: var(--pjf-ink-2) !important; font-size: 14px !important; cursor: pointer; }
.pjs-auth__row input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--pjf-maroon); }
.pjs-auth__lost, .pjs-auth__link { padding: 0; border: 0; background: none; color: var(--pjf-maroon) !important; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pjs-auth .pjs-auth__btn,
.pjs-auth button.button {
	width: 100%; min-height: 54px; margin: 0 !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: var(--pjf-maroon) !important; color: #fff !important; font: 600 15px var(--pjf-sans) !important; letter-spacing: .04em;
	box-shadow: 0 16px 30px -18px rgba(138, 20, 48, .9);
}
.pjs-auth .pjs-auth__btn:hover, .pjs-auth button.button:hover { background: var(--pjf-deep) !important; }
.pjs-auth__switch { margin: 22px 0 0; text-align: center; color: var(--pjf-muted); font-size: 14px; }
.pjs-auth__note { color: var(--pjf-muted); font-size: 14px; background: var(--pjf-cream); border-radius: 10px; padding: 10px 14px; }
.pjs-auth .woocommerce-privacy-policy-text p { font-size: 12.5px; color: var(--pjf-muted); }
.pjs-auth.has-tabs .pjs-auth__pane { display: none; }
.pjs-auth.has-tabs[data-tab=login] [data-pane=login],
.pjs-auth.has-tabs[data-tab=register] [data-pane=register] { display: block; animation: pjs-fade .25s ease; }
.pjs-auth .u-column1, .pjs-auth .u-column2 { float: none; width: auto; max-width: none; padding: 0; }
@keyframes pjs-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Thank you ---------- */
.pjs-thanks { max-width: 980px; margin: 0 auto 40px; font-family: var(--pjf-sans); color: var(--pjf-ink-2); }
.pjs-thanks__hero { text-align: center; padding: clamp(10px, 3vw, 30px) 10px 6px; }
.pjs-thanks__icon { display: inline-block; width: 84px; height: 84px; margin-bottom: 14px; }
.pjs-thanks__icon svg { width: 100%; height: 100%; }
.pjs-thanks__icon circle { stroke: var(--pjf-maroon); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: pjs-draw .8s ease forwards; }
.pjs-thanks__icon path { stroke: var(--pjf-gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: pjs-draw .45s .65s ease forwards; }
.pjs-thanks__hero.is-failed circle, .pjs-thanks__hero.is-failed path { stroke: var(--pjf-err); }
@keyframes pjs-draw { to { stroke-dashoffset: 0; } }
.pjs-thanks__eyebrow { margin: 0 0 8px; color: var(--pjf-gold); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; }
.pjs-thanks__hero h1 { margin: 0 0 12px; color: var(--pjf-deep); font: 500 clamp(36px, 5vw, 56px)/1.05 var(--pjf-serif); }
.pjs-thanks__lead { max-width: 560px; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--pjf-muted) !important; font-size: 16px; }
.pjs-thanks__lead::before { display: none !important; }
.pjs-thanks__overview {
	list-style: none !important; display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 28px 0 !important; padding: 0 !important;
	background: var(--pjf-line); border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg); overflow: hidden;
}
@media (min-width: 720px) { .pjs-thanks__overview { grid-template-columns: repeat(4, 1fr); } }
.pjs-thanks__overview li {
	display: flex; flex-direction: column; gap: 4px; margin: 0 !important; padding: 16px 18px !important; float: none !important; border: 0 !important;
	background: var(--pjf-paper); font-size: 13px !important; text-transform: none !important;
}
.pjs-thanks__overview span { color: var(--pjf-muted); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.pjs-thanks__overview strong { color: var(--pjf-ink); font-size: 16px; font-weight: 600; }
.pjs-thanks__note { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--pjf-r); background: var(--pjf-cream); color: var(--pjf-ink-2); text-align: center; }
.pjs-thanks__note p { margin: 0; }
.pjs-thanks__timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 28px; padding: 0; }
.pjs-thanks__timeline li { position: relative; margin: 0; padding: 0 6px; text-align: center; }
.pjs-thanks__timeline li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: var(--pjf-line-2); }
.pjs-thanks__timeline li:first-child::before { display: none; }
.pjs-thanks__timeline li > span { position: relative; z-index: 1; display: block; width: 20px; height: 20px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid var(--pjf-line-2); background: var(--pjf-paper); }
.pjs-thanks__timeline li.is-done > span { background: var(--pjf-maroon); border-color: var(--pjf-maroon); box-shadow: 0 0 0 5px rgba(138, 20, 48, .12); }
.pjs-thanks__timeline strong { display: block; color: var(--pjf-ink); font-size: 14px; font-weight: 600; }
.pjs-thanks__timeline small { display: block; margin-top: 2px; color: var(--pjf-muted); font-size: 12px; line-height: 1.35; }
@media (max-width: 640px) {
	.pjs-thanks__timeline { grid-template-columns: 1fr; gap: 14px; padding-left: 8px; }
	.pjs-thanks__timeline li { display: flex; gap: 14px; align-items: flex-start; padding: 0; text-align: left; }
	.pjs-thanks__timeline li::before { top: -14px; left: 9px; right: auto; width: 2px; height: 14px; }
	.pjs-thanks__timeline li > span { flex: none; margin: 2px 0 0; }
}
.pjs-thanks__grid { display: grid; gap: 18px; margin-top: 10px; }
@media (min-width: 820px) { .pjs-thanks__grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.pjs-thanks__card { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg); background: var(--pjf-paper); box-shadow: var(--pjf-shadow); }
.pjs-thanks__card h2 { margin: 0 0 16px; color: var(--pjf-deep); font: 500 26px/1.1 var(--pjf-serif); }
.pjs-thanks__card h3 { margin: 18px 0 6px; color: var(--pjf-gold); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.pjs-thanks__card address { margin-bottom: 8px; color: var(--pjf-ink-2); font-style: normal; line-height: 1.7; }
.pjs-thanks__muted { margin: 0 0 4px; color: var(--pjf-muted); font-size: 14px; }
.pjs-thanks__items { list-style: none; margin: 0; padding: 0; }
.pjs-thanks__items li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--pjf-line); }
.pjs-thanks__thumb { position: relative; flex: none; width: 64px; height: 78px; border-radius: 10px; background: var(--pjf-cream); }
.pjs-thanks__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.pjs-thanks__thumb em { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--pjf-maroon); color: #fff; font: 700 12px/22px var(--pjf-sans); font-style: normal; text-align: center; }
.pjs-thanks__iname { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pjs-thanks__iname strong { color: var(--pjf-ink); font-weight: 500; }
.pjs-thanks__iname small, .pjs-thanks__iname .wc-item-meta { color: var(--pjf-muted); font-size: 13px; }
.pjs-thanks__iprice { color: var(--pjf-ink); font-weight: 600; white-space: nowrap; }
.pjs-thanks__totals { margin: 12px 0 0; }
.pjs-thanks__totals div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14.5px; }
.pjs-thanks__totals dt { margin: 0; color: var(--pjf-muted); }
.pjs-thanks__totals dd { margin: 0; color: var(--pjf-ink-2); text-align: right; }
.pjs-thanks__totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--pjf-line-2); font-size: 18px; }
.pjs-thanks__totals .is-total dt, .pjs-thanks__totals .is-total dd { color: var(--pjf-deep); font-weight: 600; }
.pjs-thanks__actions { display: grid; gap: 10px; margin-top: 20px; }
.pjs-thanks__hero .pjs-thanks__actions { display: flex; justify-content: center; flex-wrap: wrap; }
.pjs-thanks .pjs-thanks__btn {
	display: inline-flex !important; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px !important;
	border: 1px solid transparent !important; border-radius: 999px !important; text-decoration: none !important;
	background: var(--pjf-maroon) !important; color: #fff !important; font: 600 14.5px var(--pjf-sans) !important; letter-spacing: .03em;
}
.pjs-thanks .pjs-thanks__btn:hover { background: var(--pjf-deep) !important; }
.pjs-thanks .pjs-thanks__btn--ghost { background: transparent !important; border-color: var(--pjf-line-2) !important; color: var(--pjf-ink) !important; }
.pjs-thanks .pjs-thanks__btn--ghost:hover { background: var(--pjf-cream) !important; }
.pjs-thanks .pjs-thanks__btn--wa { background: #1fa855 !important; }
.pjs-thanks .woocommerce-bacs-bank-details { margin: 0 0 18px; padding: 18px; border: 1px solid var(--pjf-line); border-radius: var(--pjf-r-lg); background: var(--pjf-paper); }
.pjs-thanks .wc-bacs-bank-details-heading { margin: 0 0 10px; color: var(--pjf-deep); font-family: var(--pjf-serif); }
.pjs-thanks .wc-bacs-bank-details { list-style: none; margin: 0; padding: 0; }

.woocommerce-checkout .site-main #order_review dl.variation { margin-left: 66px; margin-top: -4px; }

/* Login side panel: keep the gold headline and plain list on top of theme styles */
.pjs-auth .pjs-auth__headline { color: #f1dfb6 !important; }
.pjs-auth .pjs-auth__perks, .pjs-auth .pjs-auth__perks li { list-style: none !important; }
.pjs-auth .pjs-auth__perks li::marker { content: none; }

/* ---------- v1.3 fixes ---------- */
/* Thank-you overview: WooCommerce's clearfix dots showed up as empty boxes in the grid */
.pjs-thanks__overview::before,
.pjs-thanks__overview::after { content: none !important; display: none !important; }
/* One heading on the order-confirmation page — the "Thank you" hero replaces the page title */
.woocommerce-order-received .page-plain__title { display: none; }
.pjs-thanks__iname small { display: block; margin-top: 2px; }

/* My Account: the theme's two-column grid + WooCommerce's clearfix put the menu in the wrong column */
.woocommerce-account .site-main .woocommerce::before,
.woocommerce-account .site-main .woocommerce::after { content: none !important; display: none !important; }
body.woocommerce-account:not(.logged-in) .site-main .woocommerce,
.woocommerce-account .site-main .woocommerce:not(:has(> .woocommerce-MyAccount-navigation)) { display: block !important; }
@media (min-width: 750px) {
	.woocommerce-account .site-main .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
	.woocommerce-account .site-main .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; min-width: 0; }
}

/* Cart: buttons and product names without underlines */
.woocommerce-cart .site-main .wc-block-components-button,
.woocommerce-cart .site-main .wc-block-components-button:hover,
.woocommerce-cart .site-main .wc-block-components-button:focus,
.woocommerce-cart .site-main .wc-block-components-product-name { text-decoration: none !important; }
.woocommerce-cart .site-main .wc-block-components-product-name:hover { text-decoration: underline !important; text-underline-offset: 3px; }
