/* Premium Wedding QR - Elegant Theme (v2) */

.pwqr-hero {
	background: linear-gradient(160deg, #1c1322 0%, #2b1c2f 45%, #15101a 100%);
	padding: 100px 20px 80px;
	text-align: center;
	border-bottom: 1px solid rgba(214, 168, 158, 0.3);
	position: relative;
	overflow: hidden;
}

.pwqr-hero::before {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(214, 168, 158, 0.25) 0%, rgba(214, 168, 158, 0) 70%);
	pointer-events: none;
}

.pwqr-hero-inner {
	max-width: 680px;
	margin: 0 auto;
	position: relative;
}

.pwqr-eyebrow {
	display: inline-block;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	font-size: 11px;
	color: #d6a89e;
	margin-bottom: 22px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(214, 168, 158, 0.4);
}

.pwqr-couple-names {
	font-size: 50px;
	font-weight: 400;
	margin: 0 0 18px;
	letter-spacing: 0.01em;
	color: #f7ece8;
	line-height: 1.15;
}

.pwqr-amp {
	color: #d6a89e;
	font-style: italic;
	margin: 0 16px;
	font-size: 0.7em;
}

.pwqr-date-line {
	font-size: 17px;
	color: #d6a89e;
	margin: 0 0 4px;
	letter-spacing: 0.03em;
}

.pwqr-venue-line {
	font-size: 14px;
	color: #b8a8b0;
	margin: 0 0 38px;
}

.pwqr-hero-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.pwqr-details {
	background: #f7f2ee;
	padding: 64px 20px;
}

.pwqr-details-grid {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.pwqr-detail-card {
	background: #ffffff;
	border: 1px solid #ece2db;
	border-top: 3px solid #d6a89e;
	border-radius: 6px;
	padding: 30px 20px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pwqr-detail-card h3 {
	color: #a9685b;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 10px;
}

.pwqr-detail-card p {
	color: #3a2e30;
	margin: 0;
	font-size: 15px;
}

.pwqr-upload-section {
	background: #1c1322;
	padding: 72px 20px;
}

.pwqr-upload-wrapper {
	max-width: 540px;
	margin: 0 auto;
	background: #fff;
	color: #2a2a2a;
	border-radius: 8px;
	padding: 38px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pwqr-section-title {
	text-align: center;
	font-size: 24px;
	margin: 0 0 6px;
	color: #2a1f24;
	font-weight: 400;
}

.pwqr-section-subtitle {
	text-align: center;
	color: #8a7a7d;
	margin: 0 0 26px;
	font-size: 13px;
}

.pwqr-upload-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	border: 1.5px dashed #d6a89e;
	border-radius: 6px;
	padding: 32px 20px;
	cursor: pointer;
	text-align: center;
	background: #fbf6f4;
}

.pwqr-upload-icon {
	font-size: 30px;
}

.pwqr-upload-text {
	font-size: 13px;
	color: #8a7a7d;
}

.pwqr-upload-filename {
	font-size: 13px;
	font-weight: 600;
	color: #2a1f24;
}

.pwqr-upload-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: 10px;
	margin-top: 22px;
}

.pwqr-upload-preview img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
}

.pwqr-selected-files {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	max-height: 120px;
	overflow-y: auto;
}

.pwqr-selected-file {
	font-size: 12px;
	color: #6b5a5e;
	padding: 4px 0;
	border-bottom: 1px solid #f0e6e8;
}

.pwqr-public-gallery-wrapper {
	margin-top: 30px;
}

.pwqr-public-gallery-empty {
	text-align: center;
	color: #8a7a7d;
}

.pwqr-public-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.pwqr-public-gallery-item {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
}

.pwqr-public-gallery-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.pwqr-public-gallery-item:hover img {
	transform: scale(1.05);
}

.pwqr-public-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 6px 8px;
	font-size: 11px;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

/* RSVP Modal */
.pwqr-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 14, 18, 0.7);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pwqr-modal-overlay.pwqr-modal-open {
	display: flex;
}

.pwqr-modal {
	background: #fff;
	color: #2a2a2a;
	border-radius: 8px;
	max-width: 460px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 36px;
	position: relative;
	border-top: 3px solid #d6a89e;
}

.pwqr-modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #998d90;
	line-height: 1;
}

.pwqr-modal-close:hover {
	color: #2a1f24;
}

.pwqr-modal-title {
	margin: 0 0 4px;
	font-size: 22px;
	color: #2a1f24;
	font-weight: 400;
}

.pwqr-modal-subtitle {
	margin: 0 0 20px;
	color: #8a7a7d;
	font-size: 13px;
}
