/* Shop — Pure Stitch cream / black / gold theme */

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5em;
	margin-top: 2em;
}

.product-card {
	padding: 1.25em;
	display: flex;
	flex-direction: column;
}

.product-card h3 {
	margin: 0.75em 0 0.35em;
	color: #000000;
}

.product-card .image.fit {
	margin: 0 0 0.5em;
}

.product-card .image.fit img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.product-price {
	font-size: 1.15em;
	color: #000000;
	margin-bottom: 0;
}

.product-unit {
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.42);
	font-weight: normal;
}

.product-actions {
	margin-top: auto;
	padding-top: 1em;
}

.product-qty-row {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 1em;
}

.product-qty-row label {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.8em;
	color: rgba(0, 0, 0, 0.42);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.product-qty {
	width: 4.5em;
	height: 2.75em;
	padding: 0 0.75em;
	background: #ffffff;
	border: solid 1px rgba(0, 0, 0, 0.12);
	border-radius: 0.25em;
	color: #000000;
	flex-shrink: 0;
}

.product-actions .actions {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-actions .actions.fit {
	width: 100%;
	margin-left: 0;
}

.product-actions .actions.fit li {
	padding: 0;
	margin: 0;
}

.product-actions .actions .button {
	width: 100%;
	margin: 0;
	white-space: normal;
	line-height: 1.4;
	height: auto;
	min-height: calc(4.75em + 2px);
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-unit {
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.42);
}

.cart-qty-input {
	width: 4.5em;
	height: 2.75em;
	padding: 0 0.5em;
	background: #ffffff;
	border: solid 1px rgba(0, 0, 0, 0.12);
	border-radius: 0.25em;
	color: #000000;
	text-align: center;
}

.cart-summary {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: solid 1px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}

.cart-summary .cart-total-label {
	font-size: 1.25em;
	color: #000000;
}

.cart-summary .cart-total-label strong {
	margin-left: 0.35em;
}

#cart-empty {
	text-align: center;
	padding: 3em 1em;
}

#cart-empty p {
	margin-bottom: 1.5em;
}

.nav-cart-badge {
	display: none;
	margin-left: 0.35em;
	padding: 0.1em 0.45em;
	font-size: 0.75em;
	line-height: 1.4;
	border-radius: 0.25em;
	background: #B89D81;
	color: #000000;
	vertical-align: middle;
}

#cart-toast {
	position: fixed;
	bottom: 2em;
	right: 2em;
	padding: 1em 1.5em;
	background: #B89D81;
	color: #000000;
	border-radius: 0.25em;
	opacity: 0;
	transform: translateY(1em);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
	z-index: 10001;
}

#cart-toast.visible {
	opacity: 1;
	transform: translateY(0);
}

.shop-intro {
	margin-bottom: 0.5em;
}

/* Checkout */

.checkout-split {
	margin-top: 1.5em;
}

.checkout-split h2 {
	color: #000000;
	font-size: 1.1em;
	margin-bottom: 0.75em;
}

.checkout-note {
	margin-bottom: 1.5em;
	color: rgba(0, 0, 0, 0.55);
}

.checkout-form .checkout-fields {
	width: 100%;
	margin-left: 0;
	margin-bottom: 1.5em;
}

.checkout-form .checkout-fields .field {
	width: 100%;
	padding-left: 0;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"] {
	height: 2.75em;
	line-height: 2.75em;
	box-sizing: border-box;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.checkout-order {
	padding: 1.5em;
}

.checkout-order-id {
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.55);
	margin-bottom: 1em;
}

.checkout-order-id span {
	color: #000000;
	font-weight: bold;
}

.checkout-order-table {
	margin-bottom: 1em;
}

.checkout-total {
	font-size: 1.25em;
	color: #000000;
	margin: 0;
}

.checkout-total strong {
	margin-left: 0.35em;
}

.payment-methods {
	display: grid;
	gap: 0.75em;
	margin-top: 0.5em;
}

.payment-option {
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	padding: 0.9em 1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	cursor: pointer;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1em;
	color: #000;
}

.payment-option input {
	margin-top: 0.25em;
	flex-shrink: 0;
}

.payment-option span {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.payment-option strong {
	font-size: 0.95em;
	letter-spacing: 0.02em;
}

.payment-option small {
	color: rgba(0, 0, 0, 0.5);
	font-size: 0.85em;
}

.payment-option:has(input:checked) {
	border-color: #B89D81;
	background: rgba(184, 157, 129, 0.12);
}

.upi-pay-panel {
	margin-top: 1.5rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
}

.upi-pay-panel h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.upi-app-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.65rem;
	margin: 1rem 0;
}

.upi-app-buttons .button {
	width: 100%;
	text-align: center;
	margin: 0;
}

.upi-desktop-fallback {
	margin: 1rem 0;
	text-align: center;
}

.upi-qr-image {
	display: block;
	margin: 0.75rem auto 1rem;
	width: 200px;
	height: 200px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.upi-waiting {
	font-weight: 600;
	color: #000;
}

.optional-label {
	text-transform: none;
	letter-spacing: 0;
	font-weight: normal;
	opacity: 0.55;
	font-size: 0.85em;
}

.checkout-form .fields {
	display: flex;
	flex-wrap: wrap;
}

.checkout-form .fields .field {
	width: 100%;
}

.checkout-form .fields .field.half {
	width: 50%;
	padding-right: 0.75em;
	box-sizing: border-box;
}

.checkout-form .fields .field.half + .field.half {
	padding-right: 0;
	padding-left: 0.75em;
}

@media screen and (max-width: 736px) {
	.checkout-form .fields .field.half,
	.checkout-form .fields .field.half + .field.half {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
}

.status-pill.status-cod {
	background: rgba(184, 157, 129, 0.28);
}

.checkout-payment-status.visible {
	display: block;
}

.checkout-payment-status.error {
	border-color: rgba(220, 80, 80, 0.6);
	background: rgba(220, 80, 80, 0.15);
}

.payment-result {
	text-align: center;
	max-width: 36em;
	margin: 0 auto;
}

.payment-result .actions {
	justify-content: center;
	margin-top: 2em;
}

#checkout-empty {
	text-align: center;
	padding: 3em 1em;
}

#checkout-empty p {
	margin-bottom: 1.5em;
}

.cart-summary .actions {
	flex-wrap: wrap;
}

.product-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
	border: 0 !important;
}

.product-card-link:hover {
	color: inherit !important;
}

.product-card-link .product-card {
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-link:hover .product-card {
	transform: translateY(-3px);
}

.product-category {
	margin: 0.85em 0 0;
	font-size: 0.7em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.42);
}

.product-card h3 {
	margin-top: 0.25em;
}

.product-swatches {
	display: flex;
	gap: 0.4em;
	margin-top: 0.75em;
}

.product-swatches .swatch,
.pdp-swatches .swatch {
	width: 1.05em;
	height: 1.05em;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.18);
	padding: 0;
	display: inline-block;
	background: #ddd;
	flex-shrink: 0;
}

/* Product detail — Visive-style two-column PDP */

.pdp-inner {
	max-width: 82em !important;
}

.pdp-crumb {
	display: flex;
	align-items: center;
	gap: 0.55em;
	margin: 0 0 1.75em;
	font-size: 0.72em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.42);
}

.pdp-crumb a {
	border: 0;
	color: rgba(0, 0, 0, 0.55);
}

.pdp-missing {
	text-align: center;
	padding: 3em 1em;
}

.pdp {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3.25em;
	align-items: start;
}

.pdp-gallery {
	display: grid;
	grid-template-columns: 4.75rem 1fr;
	gap: 0.75em;
	position: sticky;
	top: 8rem;
}

.pdp-thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	max-height: calc(100vh - 10rem);
	overflow: auto;
}

.pdp-thumbs button,
.pdp-nav,
.pdp-swatches .swatch,
.pdp-sizes button,
.pdp-qty button,
.pdp-size-guide,
.pdp-modal-close {
	appearance: none;
	-webkit-appearance: none;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: normal !important;
	border-radius: 0 !important;
	box-shadow: none;
}

.pdp-thumbs button:after,
.pdp-nav:after,
.pdp-swatches .swatch:after,
.pdp-sizes button:after,
.pdp-qty button:after,
.pdp-size-guide:after,
.pdp-modal-close:after {
	display: none !important;
	content: none !important;
}

.pdp-thumbs button {
	padding: 0 !important;
	margin: 0;
	border: 1px solid transparent !important;
	background: #fff;
	cursor: pointer;
	line-height: 0 !important;
	overflow: hidden;
	width: 100%;
}

.pdp-thumbs button img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.pdp-thumbs button.is-active {
	border-color: #000 !important;
}

.pdp-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5em !important;
	height: 2.5em !important;
	padding: 0 !important;
	border: 0 !important;
	background: rgba(249, 245, 242, 0.92) !important;
	color: #000 !important;
	font-size: 1.35em !important;
}

.pdp-swatches .swatch {
	width: 1.65em !important;
	height: 1.65em !important;
	padding: 0 !important;
	border: 1px solid rgba(0, 0, 0, 0.18) !important;
	border-radius: 50% !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pdp-swatches .swatch.is-active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.pdp-sizes button {
	min-width: 3.15em;
	height: 2.65em !important;
	padding: 0 0.85em !important;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.16) !important;
	background: #fff !important;
	color: #000 !important;
	font-size: 0.85em !important;
	letter-spacing: 0.06em !important;
}

.pdp-sizes button.is-active,
.pdp-sizes button.is-active:hover {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}

.pdp-qty button {
	width: 2.6em;
	height: 100% !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #000 !important;
	font-size: 1.2em !important;
}

.pdp-size-guide {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #000 !important;
	font-size: 0.72em !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	text-decoration: underline;
	height: auto !important;
}

.pdp-modal-close {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 1.6em !important;
	color: #000 !important;
	width: 1.5em;
	height: 1.5em !important;
}

.pdp-stage {
	position: relative;
	background: #fff;
	overflow: hidden;
}

.pdp-stage img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.pdp-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5em;
	height: 2.5em;
	border: 0;
	background: rgba(249, 245, 242, 0.92);
	color: #000;
	font-size: 1.35em;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pdp-nav.prev { left: 0.6em; }
.pdp-nav.next { right: 0.6em; }

.pdp-info h1 {
	margin: 0.15em 0 0.35em;
	font-size: 2.15em;
	letter-spacing: 0.04em;
	text-transform: none;
}

.pdp-info h1:after {
	display: none;
}

.pdp-kicker {
	margin: 0;
	font-size: 0.72em;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.42);
}

.pdp-price {
	font-size: 1.25em;
	color: #000;
	margin: 0 0 0.85em;
}

.pdp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em 1.1em;
	margin: 0 0 1em;
	font-size: 0.72em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.45);
}

.product-catalog {
	display: block;
	margin-top: 1.5em;
}

.product-group {
	margin-bottom: 2.75em;
}

.product-group h2 {
	margin: 0 0 0.85em;
	font-size: 1.45em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.product-group .product-grid {
	margin-top: 0;
}

.pdp-option {
	margin-bottom: 1.35em;
}

.pdp-option-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: 0.65em;
}

.pdp-option label,
.pdp-option-head span {
	margin: 0;
	font-size: 0.72em;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.55);
}

.pdp-option label strong {
	letter-spacing: 0.04em;
	text-transform: none;
	font-size: 1.15em;
	margin-left: 0.35em;
}

.pdp-size-guide {
	border: 0;
	background: none;
	padding: 0;
	color: #000;
	font-size: 0.72em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: underline;
	cursor: pointer;
}

.pdp-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65em;
}

.pdp-swatches .swatch {
	width: 1.65em;
	height: 1.65em;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pdp-swatches .swatch.is-active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.pdp-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
}

.pdp-sizes button {
	min-width: 3.15em;
	height: 2.65em;
	padding: 0 0.85em;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.16);
	background: #fff;
	color: #000;
	font-size: 0.85em;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.pdp-sizes button.is-active {
	background: #000;
	border-color: #000;
	color: #fff;
}

.pdp-buy {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75em;
	margin: 1.5em 0 1.75em;
	align-items: stretch;
}

.pdp-qty {
	display: flex;
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.16);
	background: #fff;
	height: calc(4.75em + 2px);
}

.pdp-qty button {
	width: 2.6em;
	height: 100%;
	border: 0;
	background: none;
	color: #000;
	font-size: 1.2em;
	cursor: pointer;
	margin: 0;
	padding: 0;
}

.pdp-qty input {
	width: 2.6em;
	height: 100%;
	border: 0;
	text-align: center;
	background: transparent;
	color: #000;
	padding: 0;
	box-shadow: none !important;
	border-radius: 0 !important;
	-moz-appearance: textfield;
}

.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pdp-buy .button {
	width: 100%;
	margin: 0;
	height: calc(4.75em + 2px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.pdp-buy-note {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.85em;
	color: #9A3B2F;
}

.pdp-accordions {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pdp-accordions details {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.pdp-accordions summary {
	list-style: none;
	cursor: pointer;
	padding: 1.05em 1.75em 1.05em 0;
	font-size: 0.78em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #000;
	font-weight: 600;
	position: relative;
}

.pdp-accordions summary::-webkit-details-marker {
	display: none;
}

.pdp-accordions summary:after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2em;
	font-weight: 400;
}

.pdp-accordions details[open] summary:after {
	content: '–';
}

.pdp-accordions .pdp-section-body {
	padding: 0 0 1.15em;
	color: rgba(0, 0, 0, 0.62);
}

.pdp-accordions .pdp-section-body p {
	margin: 0 0 0.75em;
}

.pdp-accordions .pdp-section-body ul {
	margin: 0;
	padding-left: 1.1em;
}

.pdp-accordions .pdp-section-body li {
	margin: 0 0 0.35em;
	padding: 0;
}

.pdp-highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
	margin: 3.5em 0 0;
	padding: 2em 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pdp-highlights article h3 {
	margin: 0 0 0.4em;
	font-size: 1.15em;
	letter-spacing: 0.04em;
	text-transform: none;
}

.pdp-highlights article p {
	margin: 0;
	font-size: 0.92em;
}

.pdp-related {
	margin-top: 3.5em;
	padding-top: 2em;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pdp-related h2 {
	margin: 0 0 1em;
	font-size: 1.6em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pdp-related .product-grid {
	margin-top: 0;
}

.cart-variant {
	display: block;
	margin-top: 0.2em;
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.5);
}

.pdp-modal {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5em;
}

.pdp-modal[hidden] {
	display: none;
}

.pdp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.pdp-modal-panel {
	position: relative;
	background: #F9F5F2;
	padding: 2em 2.1em 1.6em;
	max-width: 32em;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	z-index: 1;
}

.pdp-modal-close {
	position: absolute;
	top: 0.6em;
	right: 0.7em;
	border: 0;
	background: none;
	font-size: 1.6em;
	line-height: 1;
	cursor: pointer;
	color: #000;
	margin: 0;
}

.pdp-modal-panel h2 {
	margin: 0 0 1em;
	font-size: 1.5em;
	text-transform: uppercase;
}

.pdp-modal-panel table {
	width: 100%;
	margin: 0 0 1em;
}

.pdp-modal-note {
	margin: 0;
	font-size: 0.9em;
	color: rgba(0, 0, 0, 0.55);
}

@media screen and (max-width: 980px) {
	.pdp {
		grid-template-columns: 1fr;
		gap: 2em;
	}

	.pdp-gallery {
		position: static;
		grid-template-columns: 1fr;
	}

	.pdp-thumbs {
		flex-direction: row;
		order: 2;
		max-height: none;
		overflow: auto;
	}

	.pdp-thumbs button {
		width: 4.4rem;
		flex: 0 0 auto;
	}

	.pdp-highlights {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 736px) {
	.product-grid {
		grid-template-columns: 1fr;
	}

	.pdp-buy {
		grid-template-columns: 1fr;
	}

	.pdp-info h1 {
		font-size: 1.7em;
	}

	#cart-toast {
		left: 1em;
		right: 1em;
		bottom: 1em;
	}

	.checkout-split > section {
		margin-bottom: 2em;
	}
}
