/* Skye's CSS from woocommerce.php, converted by script: selectors scoped to .ek-skye-shop,
   :root/body mapped to the wrapper, !important removed, images self-hosted. */

body.ek-skye-body-shop { background-color: var(--ek-linen); }

.ek-skye-shop {
	--bg-sand: var(--ek-linen);
	--bg-paper: var(--ek-paper);
	--bg-card: var(--ek-white);
	--text-dark: var(--ek-ink);
	--text-muted: var(--ek-muted-warm);
	--accent-gold: var(--ek-gold-accent);
	--accent-gold-soft: var(--ek-gold-soft);
	--accent-sage: var(--ek-sage-accent);
	--hairline: var(--ek-line);
	--font-serif: var(--ek-font-serif-skye);
	--font-sans: var(--ek-font-sans-skye);
}
.ek-skye-shop,
.ek-skye-shop .ek-shop-wrap {
	background-color: var(--bg-sand);
	color: var(--text-dark);
	font-family: var(--font-sans);
	line-height: 1.8;
	font-size: 15.5px;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}
.ek-skye-shop .container-wide {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}
.ek-skye-shop .kicker {
	font-size: 10.5px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--accent-gold);
	font-weight: 600;
	display: block;
	margin-bottom: 12px;
}
.ek-skye-shop .shop-header {
	padding: 80px 0 50px;
	border-bottom: 1px solid var(--hairline);
	background: var(--bg-sand);
}
.ek-skye-shop .shop-header-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 60px;
	align-items: center;
}
.ek-skye-shop .shop-title {
	font-family: var(--font-serif);
	font-size: 76px;
	font-weight: 500;
	line-height: 0.98;
	color: var(--text-dark);
	margin: 15px 0 25px 0;
}
.ek-skye-shop .shop-lead {
	font-family: var(--font-serif);
	font-size: 23px;
	font-style: italic;
	color: var(--accent-sage);
	line-height: 1.45;
	border-left: 2px solid var(--accent-gold);
	padding-left: 20px;
	margin: 0;
}
.ek-skye-shop .shop-info-box {
	background: var(--bg-paper);
	border: 1px solid var(--hairline);
	padding: 28px;
	font-size: 13.5px;
	color: var(--text-muted);
}
.ek-skye-shop .shop-info-box strong {
	color: var(--text-dark);
}
.ek-skye-shop .editions-section {
	padding: 90px 0;
	border-bottom: 1px solid var(--hairline);
}
.ek-skye-shop .editions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}
.ek-skye-shop .edition-card {
	background: var(--bg-card);
	border: 1px solid var(--hairline);
	padding: 45px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	transition: border-color 0.3s ease, transform 0.3s ease;
}
.ek-skye-shop .edition-card:hover {
	border-color: var(--accent-gold-soft);
	transform: translateY(-4px);
}
.ek-skye-shop .edition-card.featured-limited {
	background: var(--bg-paper);
	border-color: var(--accent-gold-soft);
}
.ek-skye-shop .badge-limited {
	position: absolute;
	top: 25px;
	right: 25px;
	background: var(--accent-gold);
	color: var(--ek-white);
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 5px 12px;
	font-weight: 600;
}
.ek-skye-shop .book-cover-mock {
	width: 100%;
	height: 320px;
	background: var(--bg-sand);
	border: 1px solid var(--hairline);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 25px 0;
	text-align: center;
	padding: 20px;
}
.ek-skye-shop .book-cover-mock img {
	max-height: 100%;
	object-fit: contain;
}
.ek-skye-shop .edition-title {
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 500;
	color: var(--text-dark);
	margin: 10px 0 5px 0;
}
.ek-skye-shop .edition-price {
	font-family: var(--font-serif);
	font-size: 28px;
	color: var(--accent-gold);
	margin-bottom: 15px;
	display: block;
}
/* An edition sold elsewhere (Louis, 1 Nov): where to find it, in place of the price. */
.ek-skye-shop .edition-where {
	display: block;
	font-size: 17px;
	line-height: 1.55;
	color: var(--text-dark);
	margin-bottom: 15px;
}
/* The real cover, shown whole: no crop, no frame over the artwork. Every card
   shows it at one size in the book's own proportions (155 x 235 mm, 3 Nov), so
   the three covers match; the box is reserved before the image loads. */
.ek-skye-shop .book-cover-real { margin: 25px 0; text-align: center; }
.ek-skye-shop .book-cover-real__img { display: block; width: 211px; max-width: 100%; height: auto; aspect-ratio: 155 / 235; object-fit: cover; margin: 0 auto; box-shadow: 0 14px 30px var(--ek-ink-home-a18); }

.ek-skye-shop .stock-tracker {
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--accent-sage);
	font-weight: 600;
	margin-bottom: 20px;
	display: block;
}
.ek-skye-shop .edition-desc {
	color: var(--text-muted);
	font-size: 15px;
	margin-bottom: 30px;
	line-height: 1.75;
}
.ek-skye-shop .woo-buy-button {
	background: var(--text-dark);
	color: var(--ek-white);
	text-decoration: none;
	text-align: center;
	padding: 16px 25px;
	font-family: var(--font-sans);
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
	display: block;
	transition: background 0.3s ease;
	border: none;
	cursor: pointer;
}
.ek-skye-shop .woo-buy-button:hover {
	background: var(--accent-gold);
}
.ek-skye-shop .trilogy-shop-section {
	padding: 90px 0;
	background: var(--bg-paper);
	border-bottom: 1px solid var(--hairline);
}
.ek-skye-shop .trilogy-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
	margin-top: 40px;
}
.ek-skye-shop .trilogy-item {
	background: var(--bg-sand);
	border: 1px solid var(--hairline);
	padding: 35px 30px;
	opacity: 0.75;
}
.ek-skye-shop .trilogy-item.available {
	opacity: 1;
	background: var(--ek-white);
}
.ek-skye-shop .offers-section {
	padding: 90px 0;
	border-bottom: 1px solid var(--hairline);
}
.ek-skye-shop .offers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.ek-skye-shop .offer-box {
	background: var(--bg-paper);
	border: 1px solid var(--hairline);
	padding: 30px;
}
.ek-skye-shop .offer-box h3 { /* was h4 (heading order); same look */
	font-family: var(--font-serif);
	font-size: 24px;
	margin: 10px 0 10px 0;
}
.ek-skye-shop .logistics-banner {
	padding: 60px 0;
	background: var(--bg-sand);
	text-align: center;
}
.ek-skye-shop .logistics-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 30px;
}
.ek-skye-shop .logistic-item h3 { /* was h5 (heading order); same look */
	font-family: var(--font-serif);
	font-size: 20px;
	margin: 5px 0;
}
.ek-skye-shop .logistic-item p {
	font-size: 13px;
	color: var(--text-muted);
	margin: 0;
}
@media (max-width: 1024px) {
.ek-skye-shop .shop-header-grid,
.ek-skye-shop .editions-grid {
	grid-template-columns: 1fr;
}
.ek-skye-shop .trilogy-grid,
.ek-skye-shop .offers-grid {
	grid-template-columns: 1fr;
}
.ek-skye-shop .logistics-grid {
	grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.ek-skye-shop .shop-title {
	font-size: 52px;
}
.ek-skye-shop .logistics-grid {
	grid-template-columns: 1fr;
}
}

/* --- Her inline style="" attributes, as classes --- */
.ek-skye-shop .sh-i1 { margin-top: 8px; }
.ek-skye-shop .sh-i2 { font-family: var(--font-serif); font-size: 42px; margin: 10px 0 40px 0; }
.ek-skye-shop .sh-i3 { font-family: var(--font-serif); font-size: 24px; color: var(--accent-gold); display: block; }
.ek-skye-shop .sh-i4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.ek-skye-shop .sh-i5 { font-family: var(--font-serif); font-size: 24px; color: var(--accent-sage); display: block; }
.ek-skye-shop .sh-i6 { font-family: var(--font-serif); font-size: 36px; margin: 10px 0 35px 0; }
.ek-skye-shop .sh-i7 { font-size: 14px; color: var(--text-muted); }
.ek-skye-shop .sh-i8 { font-family: var(--font-serif); font-size: 38px; margin: 10px 0 10px 0; }
.ek-skye-shop .sh-i9 { color: var(--text-muted); max-width: 600px; }
.ek-skye-shop .sh-i10 { font-family: var(--font-serif); font-size: 26px; margin: 10px 0; }
.ek-skye-shop .sh-i11 { font-size: 13.5px; color: var(--text-muted); }
/* --- Additions (not in the reference) ----------------------------------- */
.ek-skye-shop .shop-main { display: block; }
.ek-skye-shop .edition-price * { all: unset; }
/* digital edition card: spans the two-column editions grid */
.ek-skye-shop .edition-card--wide { grid-column: 1 / -1; }
/* QA 15 Oct: the "Strictly 250 copies" badge sat on top of the kicker on
   phones (absolute, top right); it now leads the card at every width. */
.ek-skye-shop .badge-limited { position: static; display: inline-block; margin-bottom: 18px; align-self: flex-start; }
/* Edition titles inherited the page's 1.85 body line-height (wide gaps on phones). */
.ek-skye-shop .edition-title { line-height: 1.2; }
/* Design audit (15 Oct): on wide screens the three editions sit side by
   side in her card rhythm (the digital card gets the same frame as the
   other two); between 1025 and 1199px it keeps spanning the two columns. */
@media (min-width: 1200px) {
	.ek-skye-shop .editions-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.ek-skye-shop .edition-card { padding: 45px 32px; }
	.ek-skye-shop .edition-card--wide { grid-column: auto; }
	.ek-skye-shop .edition-title { font-size: 32px; min-height: 2.4em; }
	.ek-skye-shop .edition-card .woo-buy-button { display: flex; justify-content: center; width: 100%; box-sizing: border-box; text-align: center; }
}
/* Side by side (3 Nov): the cards share four rows (head, cover, words, button),
   so the covers start on one line whatever the text above them, the words
   start together and the buttons sit on one baseline. */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 1025px) {
		.ek-skye-shop .edition-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
		.ek-skye-shop .edition-card__head { align-self: start; }
		.ek-skye-shop .edition-card .book-cover-real { align-self: start; }
		.ek-skye-shop .edition-card__action { align-self: end; }
	}
}
/* two offers once the inscription promise was removed (change 1) */
.ek-skye-shop .offers-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .ek-skye-shop .offers-grid--two { grid-template-columns: 1fr; } }

/* Small phones (2 Nov): the edition cards keep more of the width for their
   words, so "EK Signed & Numbered Hardcover" doesn't break into four lines. */
@media (max-width: 400px) {
	.ek-skye-shop .edition-card { padding: 34px 22px; }
}

/* Amazon handoff (10 Nov): an edition sold elsewhere gets one button to its
   verified Amazon page and one quiet line saying the purchase completes there. */
.ek-skye-shop .ek-amazon-note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-dark); text-align: center; }
/* Side by side, the note makes that card's action row taller; the buttons
   start at the top of the shared row so all three stay on one line. */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 1025px) {
		.ek-skye-shop .edition-card:has(.ek-amazon-link) .edition-card__action,
		.ek-skye-shop .editions-grid:has(.ek-amazon-link) .edition-card__action { align-self: stretch; }
	}
}
