/* Rahato Shop — full-width e-commerce layout, Rahato brand palette */

body.rahato-shop-page {
	background: var(--rahato-cream);
}

body.rahato-shop-page .wp-site-blocks > .shop-page,
body.rahato-shop-page .shop-page {
	width: 100%;
	max-width: none !important;
	margin-inline: 0 !important;
}

body.rahato-shop-page .rahato-wrap {
	width: min(1400px, calc(100% - 2.5rem));
	margin-inline: auto;
}

/* ── Surfaces ─────────────────────────────────────────── */
.shop-page {
	min-height: 60vh;
	width: 100%;
}

.shop-page--listing {
	background: var(--rahato-cream);
}

.shop-page--listing .rahato-wrap {
	padding-bottom: 3rem;
}

.shop-page--product {
	background: #fff;
	border-top: 1px solid var(--rahato-border);
	border-bottom: 1px solid var(--rahato-border);
}

.shop-breadcrumb {
	padding: 1rem 0 0.25rem;
	font-size: 0.8125rem;
	color: var(--rahato-ink-soft);
}

.shop-breadcrumb a {
	color: var(--rahato-teal);
	text-decoration: none;
	font-weight: 500;
}

.shop-breadcrumb a:hover {
	color: var(--rahato-warm);
	text-decoration: underline;
}

.shop-breadcrumb span {
	margin: 0 0.35rem;
	opacity: 0.5;
}

/* ── Shop hero ────────────────────────────────────────── */
.shop-hero {
	background: var(--rahato-gradient-brand);
	color: #fff;
	padding: 2.75rem 0 3rem;
}

.shop-hero__title {
	margin: 0 0 0.5rem;
	font-family: var(--rahato-font-display);
	font-size: clamp(1.85rem, 4vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.shop-hero__desc {
	margin: 0;
	max-width: 40rem;
	opacity: 0.92;
	font-size: 1rem;
	line-height: 1.7;
}

/* ── Product grid (listing) ───────────────────────────── */
.shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 1.35rem;
	padding: 2rem 0 0;
}

.shop-card {
	background: #fff;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s var(--rahato-ease), transform 0.25s var(--rahato-ease);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--rahato-shadow);
}

.shop-card:hover {
	box-shadow: var(--rahato-shadow-md);
	transform: translateY(-3px);
	border-color: rgba(42, 99, 96, 0.18);
}

.shop-card__media {
	position: relative;
	aspect-ratio: 1;
	background: linear-gradient(180deg, var(--rahato-mist) 0%, #fff 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.15rem;
}

.shop-card__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.shop-card__media--blur {
	padding: 0;
	overflow: hidden;
}

.shop-card__media--blur img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center top;
	filter: blur(2.5px) saturate(0.92);
	transform: scale(1.04);
	opacity: 0.95;
}

.shop-card__media--blur::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.05) 0%,
		rgba(250, 248, 246, 0.28) 100%
	);
	pointer-events: none;
}

.shop-card__media--blur .shop-card__badge {
	z-index: 1;
}

.shop-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--rahato-teal);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.32rem 0.6rem;
	border-radius: 999px;
}

.shop-card__badge--soon {
	background: var(--rahato-warm);
}

.shop-card__body {
	padding: 1.05rem 1.15rem 1.2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.shop-card__title {
	margin: 0 0 0.4rem;
	font-family: var(--rahato-font-display);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rahato-ink);
}

.shop-card__desc {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--rahato-ink-soft);
	flex: 1;
}

.shop-card__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	margin-top: auto;
}

.shop-card__deal {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--rahato-ink);
}

.shop-card__mrp {
	font-size: 0.8125rem;
	color: var(--rahato-ink-soft);
	text-decoration: line-through;
}

.shop-card__off {
	font-size: 0.75rem;
	color: var(--rahato-warm-dark);
	font-weight: 700;
	background: var(--rahato-blush);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.shop-card__cta {
	margin-top: 0.9rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--rahato-teal);
}

.shop-card:hover .shop-card__cta {
	color: var(--rahato-warm);
}

/* ── Product detail page ──────────────────────────────── */
.shop-product {
	padding: 0 0 3.5rem;
}

.shop-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	gap: 2.5rem 3rem;
	align-items: start;
	padding-top: 0.5rem;
}

.shop-gallery {
	position: sticky;
	top: 5.25rem;
}

.shop-gallery__main {
	background: linear-gradient(180deg, var(--rahato-mist) 0%, #fff 100%);
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius);
	min-height: 440px;
	max-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.75rem;
	overflow: hidden;
}

.shop-gallery__main img {
	max-width: 100%;
	max-height: 540px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.2s;
}

.shop-gallery__main--blur {
	overflow: hidden;
	position: relative;
}

.shop-gallery__main--blur img {
	filter: blur(3px) saturate(0.92);
	transform: scale(1.03);
	opacity: 0.96;
}

.shop-gallery__main--blur::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.04) 0%,
		rgba(250, 248, 246, 0.22) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.shop-gallery__main--blur .shop-gallery__soon {
	z-index: 2;
}

.shop-gallery__soon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(26, 35, 40, 0.4);
}

.shop-gallery__soon span {
	background: var(--rahato-warm);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.65rem 1.25rem;
	border-radius: var(--rahato-radius-sm);
	box-shadow: var(--rahato-shadow-md);
}

.shop-gallery__main-wrap {
	position: relative;
}

.shop-gallery__thumbs {
	display: flex;
	gap: 0.65rem;
	margin-top: 0.9rem;
	flex-wrap: wrap;
}

.shop-gallery__thumb {
	width: 68px;
	height: 68px;
	flex: 0 0 68px;
	border: 2px solid var(--rahato-border);
	border-radius: 8px;
	background: #fff;
	padding: 0.3rem;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.shop-gallery__thumb.is-active,
.shop-gallery__thumb:hover {
	border-color: var(--rahato-teal);
	box-shadow: 0 0 0 1px var(--rahato-teal);
}

.shop-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.shop-info__brand {
	font-size: 0.8125rem;
	color: var(--rahato-teal);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.shop-info__title {
	margin: 0 0 0.55rem;
	font-family: var(--rahato-font-display);
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	line-height: 1.18;
	color: var(--rahato-ink);
	letter-spacing: -0.02em;
}

.shop-info__rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: var(--rahato-teal);
}

.shop-stars {
	color: var(--rahato-amber);
	letter-spacing: 0.05em;
}

/* Purchase box — structured like marketplace buy panel */
.shop-purchase-box {
	background: linear-gradient(180deg, var(--rahato-mist) 0%, #fff 100%);
	border: 1px solid rgba(42, 99, 96, 0.14);
	border-radius: var(--rahato-radius);
	padding: 1.35rem 1.4rem 1.4rem;
	margin-bottom: 1.75rem;
	box-shadow: var(--rahato-shadow);
}

.shop-price-block {
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--rahato-border);
	margin-bottom: 1rem;
}

.shop-price-block__label {
	font-size: 0.75rem;
	color: var(--rahato-ink-soft);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.shop-price-block__row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
}

.shop-price-block__deal {
	font-size: 1.85rem;
	font-weight: 600;
	color: var(--rahato-ink);
	font-family: var(--rahato-font-display);
}

.shop-price-block__deal small {
	font-size: 0.9rem;
	vertical-align: super;
}

.shop-price-block__mrp {
	font-size: 0.9375rem;
	color: var(--rahato-ink-soft);
	text-decoration: line-through;
}

.shop-price-block__save {
	font-size: 0.8125rem;
	color: var(--rahato-warm-dark);
	font-weight: 700;
	background: var(--rahato-blush);
	padding: 0.2rem 0.45rem;
	border-radius: 4px;
}

.shop-field {
	margin-bottom: 1rem;
}

.shop-field__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.45rem;
	color: var(--rahato-ink);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.shop-variants {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.shop-variant {
	border: 1px solid var(--rahato-border);
	background: #fff;
	border-radius: 999px;
	padding: 0.55rem 0.95rem;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
	color: var(--rahato-ink);
}

.shop-variant:hover {
	border-color: var(--rahato-teal);
}

.shop-variant.is-selected {
	border-color: var(--rahato-teal);
	box-shadow: 0 0 0 2px rgba(42, 99, 96, 0.2);
	background: #fff;
	color: var(--rahato-teal-dark);
}

.shop-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius-sm);
	overflow: hidden;
	background: #fff;
}

.shop-qty__btn {
	width: 2.35rem;
	height: 2.35rem;
	border: 0;
	background: var(--rahato-mist);
	font-size: 1.1rem;
	cursor: pointer;
	color: var(--rahato-ink);
	transition: background 0.15s;
}

.shop-qty__btn:hover {
	background: var(--rahato-sand);
}

.shop-qty__input {
	width: 3rem;
	height: 2.35rem;
	border: 0;
	border-left: 1px solid var(--rahato-border);
	border-right: 1px solid var(--rahato-border);
	text-align: center;
	font-size: 0.9375rem;
	background: #fff;
	-moz-appearance: textfield;
}

.shop-qty__input::-webkit-outer-spin-button,
.shop-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.shop-buy-btn {
	display: block;
	width: 100%;
	padding: 0.8rem 1.15rem;
	border: 0;
	border-radius: var(--rahato-radius-sm);
	background: var(--rahato-gradient-brand);
	box-shadow: 0 8px 24px rgba(42, 99, 96, 0.22);
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s var(--rahato-ease), box-shadow 0.2s var(--rahato-ease);
	letter-spacing: 0.02em;
}

.shop-buy-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(196, 104, 69, 0.28);
}

.shop-buy-btn--secondary {
	background: #fff;
	color: var(--rahato-teal-dark);
	border: 2px solid var(--rahato-teal);
	box-shadow: none;
	margin-top: 0.65rem;
}

.shop-buy-btn--secondary:hover {
	background: var(--rahato-mist);
	transform: translateY(-1px);
	box-shadow: var(--rahato-shadow);
}

.shop-buy-btn:disabled,
.shop-buy-btn--disabled {
	background: var(--rahato-sand);
	color: var(--rahato-ink-soft);
	cursor: not-allowed;
	box-shadow: none;
	border: 0;
}

.shop-desc {
	padding-top: 0.25rem;
}

.shop-desc h2 {
	font-family: var(--rahato-font-display);
	font-size: 1.15rem;
	margin: 0 0 0.85rem;
	color: var(--rahato-ink);
}

.shop-desc p,
.shop-desc li {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--rahato-ink);
}

.shop-desc ul {
	padding-left: 1.15rem;
	margin: 0.5rem 0 0;
}

.shop-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.75rem;
	margin-top: 1.15rem;
}

.shop-feature {
	background: var(--rahato-cream);
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius-sm);
	padding: 0.8rem 0.65rem;
	font-size: 0.8125rem;
	text-align: center;
	color: var(--rahato-ink-soft);
}

.shop-feature strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--rahato-ink);
	font-size: 0.875rem;
}

/* ── Buy modal ────────────────────────────────────────── */
.shop-buy-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 35, 40, 0.5);
	backdrop-filter: blur(4px);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.shop-buy-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.shop-buy-panel {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.96);
	width: min(92vw, 540px);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: var(--rahato-radius);
	box-shadow: var(--rahato-shadow-lg);
	border: 1px solid var(--rahato-border);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.shop-buy-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.shop-buy-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--rahato-border);
	background: var(--rahato-cream);
}

.shop-buy-panel__header h3 {
	margin: 0;
	font-family: var(--rahato-font-display);
	font-size: 1.0625rem;
	color: var(--rahato-ink);
}

.shop-buy-panel__close {
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--rahato-ink-soft);
	padding: 0.15rem 0.35rem;
}

.shop-buy-panel__body {
	padding: 1.15rem 1.25rem 1.35rem;
}

.shop-buy-panel__summary {
	font-size: 0.875rem;
	color: var(--rahato-ink-soft);
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--rahato-border);
}

.shop-buy-panel__summary strong {
	color: var(--rahato-ink);
}

.shop-buy-panel__mrp {
	font-size: 0.875rem;
	color: var(--rahato-ink-soft);
	margin-bottom: 0.85rem;
}

.shop-buy-option {
	display: block;
	width: 100%;
	text-align: left;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius-sm);
	padding: 1rem 1.05rem;
	margin-bottom: 0.75rem;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--rahato-shadow);
}

.shop-buy-option--featured {
	border-color: rgba(42, 99, 96, 0.35);
	background: linear-gradient(180deg, var(--rahato-mist) 0%, #fff 100%);
	box-shadow: 0 8px 24px rgba(42, 99, 96, 0.1);
}

.shop-buy-option--featured:hover {
	border-color: var(--rahato-teal);
	box-shadow: 0 10px 28px rgba(42, 99, 96, 0.16);
}

.shop-buy-option__recommended {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--rahato-gradient-brand);
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	margin-bottom: 0.55rem;
}

.shop-buy-option__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0.55rem 0 0.65rem;
	padding: 0;
}

.shop-buy-option__tags li {
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--rahato-teal-dark);
	background: var(--rahato-mist);
	border: 1px solid rgba(42, 99, 96, 0.12);
	padding: 0.22rem 0.5rem;
	border-radius: 999px;
}

.shop-buy-option__badge--store {
	color: var(--rahato-teal-dark);
	background: var(--rahato-mist);
}

.shop-buy-option__badge--amazon {
	color: var(--rahato-ink-soft);
	background: var(--rahato-cream);
}

.shop-buy-option__tags--amazon li {
	color: var(--rahato-ink-soft);
	background: var(--rahato-cream);
	border-color: var(--rahato-border);
}

.shop-buy-option:hover {
	border-color: rgba(42, 99, 96, 0.28);
	box-shadow: var(--rahato-shadow-md);
}

.shop-buy-option--amazon:hover {
	border-color: var(--rahato-border);
}

.shop-buy-option--soon {
	cursor: default;
	pointer-events: none;
	opacity: 0.85;
}

.shop-buy-option__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.shop-buy-option__vendor {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--rahato-ink);
}

.shop-buy-option__price s {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--rahato-ink-soft);
	margin-right: 0.35rem;
}

.shop-buy-option__price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rahato-ink);
	font-family: var(--rahato-font-display);
}

.shop-buy-option__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--rahato-warm-dark);
	background: var(--rahato-blush);
	padding: 0.22rem 0.48rem;
	border-radius: 4px;
}

.shop-buy-option__note {
	font-size: 0.8125rem;
	color: var(--rahato-ink-soft);
	margin: 0;
	line-height: 1.6;
}

.shop-buy-option--store .shop-buy-option__vendor {
	color: var(--rahato-teal-dark);
}

.shop-buy-option--amazon .shop-buy-option__vendor {
	color: var(--rahato-ink);
}

.shop-buy-option__price--label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--rahato-ink-soft);
}

.shop-hero--compact {
	padding: 2rem 0 2.25rem;
}

.shop-page--checkout {
	background: var(--rahato-cream);
	padding-bottom: 3.5rem;
}

.shop-page--checkout .rahato-wrap {
	padding-top: 0.5rem;
}

/* ── Checkout ─────────────────────────────────────────── */
.shop-checkout {
	display: grid;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
	padding: 1.5rem 0 0;
}

.shop-checkout__summary {
	background: #fff;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius);
	padding: 1.35rem 1.4rem;
	box-shadow: var(--rahato-shadow);
	position: sticky;
	top: 5.25rem;
}

.shop-checkout__eyebrow {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rahato-teal);
	margin-bottom: 0.45rem;
}

.shop-checkout__product {
	margin: 0 0 1rem;
	font-family: var(--rahato-font-display);
	font-size: 1.15rem;
	line-height: 1.35;
	color: var(--rahato-ink);
}

.shop-checkout__meta {
	margin: 0;
}

.shop-checkout__meta div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rahato-border);
	font-size: 0.875rem;
}

.shop-checkout__meta div:last-child {
	border-bottom: 0;
}

.shop-checkout__meta dt {
	margin: 0;
	color: var(--rahato-ink-soft);
	font-weight: 500;
}

.shop-checkout__meta dd {
	margin: 0;
	font-weight: 600;
	color: var(--rahato-ink);
	text-align: right;
}

.shop-checkout__meta dd s {
	color: var(--rahato-ink-soft);
	font-weight: 400;
	margin-left: 0.35rem;
}

.shop-checkout__form {
	background: #fff;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius);
	padding: 1.5rem 1.6rem 1.6rem;
	box-shadow: var(--rahato-shadow);
	overflow: visible;
}

.shop-checkout__form-title {
	margin: 0 0 1.15rem;
	font-family: var(--rahato-font-display);
	font-size: 1.125rem;
	color: var(--rahato-ink);
}

.shop-checkout__field {
	margin: 0 0 1rem;
}

.shop-checkout__field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--rahato-ink);
}

.shop-checkout__field label span {
	color: var(--rahato-warm);
}

.shop-checkout__field input,
.shop-checkout__field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius-sm);
	font: inherit;
	font-size: 0.9375rem;
	background: #fff;
	color: var(--rahato-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.shop-checkout__field input:focus,
.shop-checkout__field textarea:focus {
	outline: none;
	border-color: var(--rahato-teal);
	box-shadow: 0 0 0 3px rgba(42, 99, 96, 0.12);
}

.shop-checkout__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.shop-checkout__field--state {
	position: relative;
	z-index: 2;
}

.shop-state-wrap {
	position: relative;
	display: block;
}

.shop-state-suggest {
	position: fixed;
	z-index: 10001;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--rahato-border, #e8e2dc);
	border-radius: var(--rahato-radius-sm, 8px);
	box-shadow: 0 8px 24px rgba(26, 35, 40, 0.12);
	max-height: 220px;
	overflow-y: auto;
}

.shop-state-suggest li {
	padding: 0.55rem 0.85rem;
	font-size: 0.9375rem;
	cursor: pointer;
	color: var(--rahato-ink, #1a2328);
}

.shop-state-suggest li:hover,
.shop-state-suggest li.is-active {
	background: rgba(42, 99, 96, 0.08);
	color: var(--rahato-teal-dark, #1f4f4c);
}

.shop-checkout__actions {
	margin: 1.25rem 0 0;
}

.shop-checkout__actions .shop-buy-btn {
	max-width: none;
}

.shop-checkout__notice {
	padding: 0.85rem 1rem;
	border-radius: var(--rahato-radius-sm);
	font-size: 0.9375rem;
	margin-bottom: 1rem;
}

.shop-checkout__notice--error {
	background: #fce8e6;
	color: #8a2f2f;
	border: 1px solid rgba(196, 104, 69, 0.2);
}

.shop-checkout__notice a {
	color: var(--rahato-teal-dark);
	font-weight: 600;
}

/* Order success popup */
.shop-order-success {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(26, 35, 40, 0.55);
	backdrop-filter: blur(6px);
}

.shop-order-success__card {
	width: min(100%, 440px);
	background: #fff;
	border-radius: var(--rahato-radius);
	padding: 2rem 1.75rem 1.75rem;
	text-align: center;
	box-shadow: var(--rahato-shadow-lg);
	border: 1px solid var(--rahato-border);
	animation: shopSuccessIn 0.45s var(--rahato-ease);
}

@keyframes shopSuccessIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.shop-order-success__icon {
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--rahato-gradient-brand);
	color: #fff;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 4rem;
	box-shadow: 0 8px 24px rgba(42, 99, 96, 0.25);
}

.shop-order-success__card h2 {
	margin: 0 0 0.75rem;
	font-family: var(--rahato-font-display);
	font-size: 1.35rem;
	line-height: 1.3;
	color: var(--rahato-ink);
}

.shop-order-success__card p {
	margin: 0 0 0.65rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rahato-ink-soft);
}

.shop-order-success__sub {
	font-size: 0.8125rem !important;
	color: var(--rahato-teal) !important;
	font-weight: 600;
	margin-bottom: 1.25rem !important;
}

.shop-order-success__btn {
	max-width: 240px;
	margin-inline: auto;
	text-decoration: none;
}

/* World first callout (Rahato X) */
.shop-world-first {
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
	border-radius: var(--rahato-radius-sm);
	background: linear-gradient(135deg, rgba(196, 104, 69, 0.1) 0%, rgba(42, 99, 96, 0.12) 100%);
	border: 1px solid rgba(42, 99, 96, 0.16);
}

.shop-world-first__badge {
	display: inline-block;
	margin-bottom: 0.45rem;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--rahato-warm), var(--rahato-teal));
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.shop-world-first__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rahato-ink);
}

/* Notify modal */
.shop-notify__overlay {
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(26, 35, 40, 0.55);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.shop-notify__overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.shop-notify__panel {
	position: fixed;
	z-index: 10051;
	top: 50%;
	left: 50%;
	width: min(480px, calc(100% - 2rem));
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: 1.35rem 1.4rem 1.5rem;
	background: #fff;
	border: 1px solid var(--rahato-border);
	border-radius: var(--rahato-radius);
	box-shadow: 0 24px 64px rgba(26, 35, 40, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -46%) scale(0.97);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.shop-notify__panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.shop-notify__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.65rem;
}

.shop-notify__header h2 {
	margin: 0;
	font-family: var(--rahato-font-display);
	font-size: 1.25rem;
	color: var(--rahato-ink);
}

.shop-notify__dismiss {
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--rahato-ink-soft);
	cursor: pointer;
	padding: 0.15rem 0.35rem;
}

.shop-notify__intro {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--rahato-ink-soft);
}

.shop-notify__actions {
	margin: 0.25rem 0 0;
}

.shop-notify__actions .shop-buy-btn {
	max-width: none;
}

.shop-notify__success {
	text-align: center;
	padding: 0.5rem 0;
}

.shop-notify__success-icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.85rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--rahato-warm), var(--rahato-teal));
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
}

.shop-notify__success h2 {
	margin: 0 0 0.65rem;
	font-family: var(--rahato-font-display);
	font-size: 1.35rem;
}

.shop-notify__success p {
	margin: 0 0 1.15rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rahato-ink-soft);
}

.shop-notify__close-btn {
	max-width: 200px;
	margin-inline: auto;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
	.shop-product__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.shop-gallery {
		position: static;
	}
}

@media (max-width: 640px) {
	body.rahato-shop-page .rahato-wrap {
		width: min(1400px, calc(100% - 1.25rem));
	}

	.shop-checkout {
		grid-template-columns: 1fr;
	}

	.shop-checkout__summary {
		position: static;
	}

	.shop-checkout__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.shop-gallery__main {
		min-height: 300px;
		max-height: none;
		padding: 1rem;
	}

	.shop-purchase-box {
		padding: 1.1rem 1rem;
	}

	.shop-info__title {
		font-size: 1.35rem;
	}
}
