/* ============================================================================
   Boots On! Shop — Mini-Merch-Frontend.

   Konsistent mit page-mirror-booking.php (Papier-Polaroids, Country-Vibe).
   Drei "Views" werden via [hidden]/data-view geschaltet.
   ============================================================================ */

.bootson-shop {
	--bo-paper:        #f1e7ce;
	--bo-paper-tint:   #ebdfba;
	--bo-ink:          #1a1a1a;
	--bo-ink-soft:     #4a4032;
	--bo-ink-muted:    #6b5d4a;
	--bo-accent:       #c8102e;
	--bo-gold:         #d4a84b;

	color: #f0e6cf;
	font-family: "DM Sans", "Roboto", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	background: transparent;
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}
.bootson-shop__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 24px 96px;
}
.bootson-shop__header {
	text-align: center;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.bootson-shop__neon {
	margin: 0;
	font-family: "Neonderthaw", sans-serif;
	font-weight: 300;
	font-size: clamp(56px, 8vw, 120px);
	line-height: 1;
	color: #f67a7a;
	text-shadow: 0 0 14px #FF0D23;
}
.bootson-shop__sub {
	margin: 14px auto 0;
	max-width: 60ch;
	font-family: "Playfair Display", serif;
	font-style: italic;
	font-size: 1.05rem;
	color: var(--bo-paper);
}
.bootson-shop__empty {
	text-align: center;
	font-style: italic;
	color: rgba(241,231,206,0.7);
	padding: 60px 20px;
}
.bootson-shop__notice {
	margin-top: 48px;
	text-align: center;
	font-family: "Special Elite", "Courier New", monospace;
	font-size: 0.86rem;
	letter-spacing: 0.06em;
	color: rgba(241,231,206,0.65);
}

/* Papier-Karte (wie Polaroid auf der Booking-Page) */
.bo-paper {
	position: relative;
	background: var(--bo-paper);
	background-image:
		repeating-linear-gradient(0deg, rgba(43,38,32,0.04) 0 1px, transparent 1px 100%),
		linear-gradient(135deg, #fbf3df 0%, var(--bo-paper) 45%, var(--bo-paper-tint) 100%);
	background-blend-mode: multiply, normal;
	color: var(--bo-ink);
	border-radius: 4px;
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,0.5),
		0 18px 40px rgba(0,0,0,0.55),
		0 4px 12px rgba(0,0,0,0.35);
}

/* ============================================================================
   PRODUKT-GRID (Polaroid-Look)
   ============================================================================ */
.bootson-shop__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(32px, 4vw, 56px);
	max-width: 1000px;
	margin: 0 auto;
}
.bo-product {
	display: flex;
	justify-content: center;
}
.bo-product__polaroid {
	width: 100%;
	max-width: 320px;
	padding: 18px 18px 28px;
	display: flex;
	flex-direction: column;
	transform: rotate(-1.2deg);
	transition: transform 0.35s cubic-bezier(0.2,0.8,0.3,1);
	cursor: pointer;
}
.bo-product:nth-child(2n) .bo-product__polaroid { transform: rotate(1.4deg); }
.bo-product:nth-child(3n) .bo-product__polaroid { transform: rotate(-0.6deg); }
.bo-product__polaroid:hover {
	transform: rotate(0deg) translateY(-6px) scale(1.03);
}
.bo-product__photo {
	aspect-ratio: 1 / 1;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 2px;
	margin-bottom: 18px;
}
.bo-product__photo--placeholder {
	background-image: radial-gradient(circle, #2a2a2a 0%, #0a0a0a 70%);
}
.bo-product__caption {
	text-align: center;
	font-family: "Playfair Display", serif;
}
.bo-product__title {
	margin: 0 0 4px;
	font-weight: 900;
	font-size: 1.4rem;
	letter-spacing: -0.01em;
	color: var(--bo-ink);
}
.bo-product__short {
	margin: 0 0 10px;
	font-style: italic;
	font-size: 0.95rem;
	color: var(--bo-ink-soft);
}
.bo-product__price {
	margin: 6px 0 14px;
	font-family: "Special Elite", monospace;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--bo-accent);
	letter-spacing: 0.02em;
}
.bo-product__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--bo-ink);
	color: var(--bo-paper);
	border: 1.5px solid var(--bo-ink);
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.18s;
}
.bo-product__cta:hover {
	background: var(--bo-accent);
	border-color: var(--bo-accent);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.bo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.bo-btn--primary {
	background: var(--bo-accent);
	color: #fff8ec;
	border: 1px solid #8a0a1d;
	box-shadow:
		0 2px 0 rgba(255,255,255,0.18) inset,
		0 -2px 0 rgba(0,0,0,0.25) inset,
		0 6px 0 #8a0a1d,
		0 14px 30px rgba(200,16,46,0.45);
}
.bo-btn--primary:hover {
	transform: translateY(-2px);
	background: #d6132f;
}
.bo-btn--primary:disabled {
	opacity: 0.5;
	cursor: wait;
	transform: none;
}
.bo-link {
	background: none;
	border: 0;
	color: var(--bo-ink-soft);
	font-family: "Special Elite", monospace;
	font-size: 0.88rem;
	cursor: pointer;
	text-decoration: underline;
	padding: 4px 0;
}
.bo-link:hover { color: var(--bo-accent); }

/* ============================================================================
   PRODUKT-MODAL
   ============================================================================ */
.bo-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.bo-modal[hidden] { display: none; }
.bo-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.78);
	backdrop-filter: blur(6px);
}
.bo-modal__panel {
	position: relative;
	width: min(900px, 92vw);
	max-height: 88vh;
	overflow-y: auto;
	padding: clamp(20px, 3vw, 36px);
	z-index: 1;
}
.bo-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 32px;
	height: 32px;
	background: var(--bo-ink);
	color: var(--bo-paper);
	border: 0;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	z-index: 2;
}
.bo-modal__close:hover { background: var(--bo-accent); }

.bo-modal-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}
@media (max-width: 720px) {
	.bo-modal-product { grid-template-columns: 1fr; }
}
.bo-modal-product__gallery {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bo-modal-product__main {
	aspect-ratio: 1 / 1;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
}
.bo-modal-product__thumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.bo-modal-product__thumb {
	width: 64px;
	height: 64px;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	border: 2px solid transparent;
	border-radius: 3px;
	cursor: pointer;
}
.bo-modal-product__thumb.is-active { border-color: var(--bo-accent); }

.bo-modal-product__info {
	color: var(--bo-ink);
}
.bo-modal-product__title {
	margin: 0 0 8px;
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.1;
}
.bo-modal-product__price {
	font-family: "Special Elite", monospace;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--bo-accent);
	margin: 6px 0 18px;
}
.bo-modal-product__desc {
	color: var(--bo-ink-soft);
	margin-bottom: 22px;
	line-height: 1.6;
}
.bo-modal-product__desc p { margin: 0 0 10px; }

.bo-sizes-label {
	display: block;
	font-family: "Special Elite", monospace;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bo-ink-soft);
	margin-bottom: 10px;
}
.bo-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.bo-size {
	min-width: 48px;
	padding: 10px 14px;
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 0.92rem;
	background: rgba(0,0,0,0.04);
	border: 1.5px solid var(--bo-ink);
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	transition: all 0.18s ease;
	text-align: center;
}
.bo-size:hover:not([disabled]) { background: rgba(212,168,75,0.18); }
.bo-size.is-selected {
	background: var(--bo-ink);
	color: var(--bo-paper);
}
.bo-size[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}
.bo-size__stock-low {
	display: block;
	font-size: 0.65rem;
	font-style: italic;
	margin-top: 2px;
	color: var(--bo-accent);
}

.bo-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1.5px solid var(--bo-ink);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 20px;
}
.bo-qty button {
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	font-size: 18px;
	cursor: pointer;
	color: var(--bo-ink);
}
.bo-qty button:hover { background: rgba(0,0,0,0.06); }
.bo-qty input {
	width: 50px;
	height: 36px;
	border: 0;
	text-align: center;
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: 1rem;
	background: transparent;
	color: var(--bo-ink);
}
.bo-qty input::-webkit-outer-spin-button,
.bo-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bo-modal-product__error {
	color: var(--bo-accent);
	font-style: italic;
	font-size: 0.88rem;
	margin: 6px 0 12px;
}

/* ============================================================================
   CART-DRAWER (right slide-in)
   ============================================================================ */
.bo-drawer {
	position: fixed;
	inset: 0;
	z-index: 999;
}
.bo-drawer[hidden] { display: none; }
.bo-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
}
.bo-drawer__panel {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(420px, 90vw);
	background: var(--bo-paper);
	color: var(--bo-ink);
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 40px rgba(0,0,0,0.5);
	animation: bo-drawer-in 0.3s ease;
}
@keyframes bo-drawer-in {
	from { transform: translateX(100%); }
	to   { transform: translateX(0); }
}
.bo-drawer__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 22px;
	border-bottom: 2px dashed var(--bo-ink-muted);
}
.bo-drawer__header h3 {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 1.25rem;
}
.bo-drawer__close {
	background: transparent;
	border: 0;
	font-size: 26px;
	cursor: pointer;
	color: var(--bo-ink);
	line-height: 1;
}
.bo-drawer__body {
	flex: 1;
	padding: 18px 22px;
	overflow-y: auto;
}
.bo-drawer__empty {
	text-align: center;
	font-style: italic;
	color: var(--bo-ink-muted);
	padding: 40px 0;
}
.bo-drawer-item {
	display: grid;
	grid-template-columns: 60px 1fr auto;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	align-items: center;
}
.bo-drawer-item__img {
	width: 60px;
	height: 60px;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	border-radius: 3px;
}
.bo-drawer-item__info { font-size: 0.92rem; }
.bo-drawer-item__title { font-weight: 700; margin: 0 0 2px; font-family: "Playfair Display", serif; }
.bo-drawer-item__meta { font-size: 0.78rem; color: var(--bo-ink-muted); }
.bo-drawer-item__qty {
	display: inline-flex;
	gap: 4px;
	margin-top: 6px;
	align-items: center;
	font-size: 0.85rem;
}
.bo-drawer-item__qty button {
	width: 22px;
	height: 22px;
	background: transparent;
	border: 1px solid var(--bo-ink);
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
}
.bo-drawer-item__del {
	background: transparent;
	border: 0;
	color: var(--bo-ink-muted);
	cursor: pointer;
	font-size: 18px;
	align-self: start;
}
.bo-drawer-item__del:hover { color: var(--bo-accent); }
.bo-drawer-item__price {
	grid-column: 2 / 4;
	margin-top: 4px;
	font-family: "Special Elite", monospace;
	font-size: 0.95rem;
	font-weight: 700;
	text-align: right;
}
.bo-drawer__footer {
	padding: 18px 22px 22px;
	border-top: 2px dashed var(--bo-ink-muted);
	background: var(--bo-paper-tint);
}
.bo-drawer__footer dl {
	display: flex;
	justify-content: space-between;
	margin: 0 0 14px;
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: 1.1rem;
}
.bo-drawer__footer dd { margin: 0; color: var(--bo-accent); }
.bo-drawer__footer .bo-btn { width: 100%; }
.bo-drawer__hint {
	margin: 10px 0 0;
	font-size: 0.78rem;
	font-style: italic;
	color: var(--bo-ink-muted);
	text-align: center;
}

/* CART-TOGGLE-Button (fixed bottom right) */
.bo-cart-toggle {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 60px;
	height: 60px;
	background: var(--bo-accent);
	border: 2px solid #8a0a1d;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}
.bo-cart-toggle[hidden] { display: none; }
.bo-cart-toggle:hover { transform: scale(1.08); }
.bo-cart-toggle__icon { font-size: 22px; }
.bo-cart-toggle__count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	background: var(--bo-ink);
	color: var(--bo-paper);
	border-radius: 11px;
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ============================================================================
   CHECKOUT-FORM
   ============================================================================ */
.bo-checkout {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(24px, 3vw, 44px);
}
.bo-checkout__cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
}
@media (max-width: 840px) {
	.bo-checkout__cols { grid-template-columns: 1fr; }
}
.bo-checkout__col { color: var(--bo-ink); }

.bo-fs {
	border: 0;
	border-bottom: 2px dashed var(--bo-ink-muted);
	padding: 18px 0 22px;
	margin: 0;
}
.bo-fs:last-of-type { border-bottom: 0; }
.bo-fs legend {
	font-family: "Special Elite", monospace;
	font-size: 0.86rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bo-ink);
	padding-right: 12px;
	margin-bottom: 14px;
}
.bo-fs--legal { padding-top: 22px; }

.bo-field {
	display: block;
	margin-bottom: 14px;
}
.bo-field > span {
	display: block;
	font-family: "Special Elite", monospace;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bo-ink-soft);
	margin-bottom: 6px;
}
.bo-field--required > span::after {
	content: " *";
	color: var(--bo-accent);
}
.bo-field input,
.bo-field select,
.bo-field textarea {
	width: 100%;
	padding: 10px 14px;
	font-family: "Playfair Display", serif;
	font-size: 1rem;
	color: var(--bo-ink);
	background: rgba(255,255,255,0.4);
	border: 1.5px solid rgba(0,0,0,0.25);
	border-radius: 3px;
	outline: none;
	transition: border-color 0.18s;
	font-weight: 600;
}
.bo-field input:focus,
.bo-field select:focus,
.bo-field textarea:focus {
	border-color: var(--bo-accent);
}
.bo-field textarea {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	font-size: 0.95rem;
	resize: vertical;
}
.bo-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 480px) {
	.bo-grid-2 { grid-template-columns: 1fr; }
}
.bo-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 14px;
	font-size: 0.92rem;
	color: var(--bo-ink-soft);
	line-height: 1.45;
}
.bo-checkbox input { margin-top: 4px; flex-shrink: 0; }
.bo-checkbox a { color: var(--bo-accent); text-decoration: underline; }
.bo-checkbox.bo-field--required > span::after { content: ''; }

/* SUMMARY-Karte */
.bo-summary {
	position: sticky;
	top: 24px;
	padding: clamp(20px, 3vw, 32px);
}
.bo-summary__title {
	margin: 0 0 16px;
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 1.3rem;
	color: var(--bo-ink);
}
.bo-summary__items {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	border-bottom: 1px solid rgba(0,0,0,0.15);
}
.bo-summary__items li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 8px 0;
	font-size: 0.95rem;
	color: var(--bo-ink-soft);
}
.bo-summary__items .bo-meta {
	display: block;
	font-size: 0.78rem;
	color: var(--bo-ink-muted);
	font-style: italic;
}
.bo-summary__totals {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	margin: 0 0 18px;
	font-family: "Special Elite", monospace;
	font-size: 0.92rem;
	color: var(--bo-ink-soft);
}
.bo-summary__totals dt { margin: 0; }
.bo-summary__totals dd { margin: 0; text-align: right; }
.bo-summary__total-label,
.bo-summary__total-value {
	font-family: "Playfair Display", serif !important;
	font-weight: 900;
	font-size: 1.15rem;
	color: var(--bo-ink) !important;
	padding-top: 10px;
	border-top: 2px solid var(--bo-ink);
	margin-top: 6px !important;
}
.bo-summary__total-value { color: var(--bo-accent) !important; }
.bo-summary__error {
	background: rgba(200,16,46,0.1);
	border: 1px solid var(--bo-accent);
	border-radius: 3px;
	padding: 10px 14px;
	font-size: 0.9rem;
	color: var(--bo-accent);
	margin: 0 0 14px;
}
.bo-summary .bo-btn { width: 100%; }
.bo-summary__hint {
	margin: 12px 0 0;
	font-size: 0.78rem;
	font-style: italic;
	color: var(--bo-ink-muted);
	text-align: center;
	line-height: 1.4;
}

/* ============================================================================
   ORDER-VIEW (Bestätigung / Status)
   ============================================================================ */
.bo-order-card {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px);
	color: var(--bo-ink);
}
.bo-order-card h3 {
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 1.4rem;
	margin: 0 0 12px;
}
.bo-order-card__items {
	list-style: none;
	padding: 0;
	margin: 16px 0;
	border-top: 1px solid rgba(0,0,0,0.15);
	border-bottom: 1px solid rgba(0,0,0,0.15);
}
.bo-order-card__items li {
	padding: 10px 0;
	border-bottom: 1px dashed rgba(0,0,0,0.1);
	display: grid;
	grid-template-columns: 1fr auto;
	font-size: 0.96rem;
}
.bo-order-card__items li:last-child { border-bottom: 0; }
.bo-order-card__totals {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	margin: 16px 0;
	font-family: "Special Elite", monospace;
}
.bo-order-card__totals .total-row {
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 1.2rem;
	border-top: 2px solid var(--bo-ink);
	padding-top: 10px;
	margin-top: 6px;
}
.bo-order-status {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 4px;
	font-family: "Special Elite", monospace;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}
.bo-order-status--paid { background: #d9f0d2; color: #2d7a3e; }
.bo-order-status--pending { background: #fff3cd; color: #856404; }
.bo-order-status--failed { background: #f8d7da; color: #721c24; }
.bo-order-status--shipped { background: #cce5ff; color: #004085; }
