/** Shopify CDN: Minification failed

Line 6:11 Unexpected "2m"

**/
Worked for 2m 59s
Edit
page.sm-amazon-orders.json  
Worked for 4m 36s

Not quite—the screenshot identifies one code mismatch.

page.sm-amazon-orders.json is trying to preload blocks with the type:

"type": "info_card"

But Shopify is not finding that block type in the currently saved schema of:

sections/sm-amazon-information-page.liquid

Shopify rejects a JSON template when a referenced block type is not declared at the root of the associated section schema.

I rebuilt the two informational pages without template blocks. The four information cards are now normal editable section settings, eliminating this block-schema error entirely.

Download the corrected files

Download the Amazon Information Pages Fix

Individual files:

Fixed information-page section
page.sm-amazon-orders-fixed.json
page.sm-amazon-disclosure-fixed.json
Fix it in this exact order
1. Replace the information section

Open:

Sections
→ sm-amazon-information-page.liquid

Delete everything currently inside that file.

Open the downloaded:

sm-amazon-information-page-fixed.liquid

Copy all of its contents and paste them into the existing Shopify file:

sm-amazon-information-page.liquid

Keep the Shopify filename exactly as it is. Do not rename it to include -fixed.

Click Save and make sure it saves successfully before continuing.

2. Replace the ordering template

Open:

Templates
→ page.sm-amazon-orders.json

Delete everything currently inside it.

Copy all the contents from:

page.sm-amazon-orders-fixed.json

Paste that into the existing Shopify file:

page.sm-amazon-orders.json

Again, keep the Shopify filename without -fixed.

Click Save.

The error referring to block checkout should now be gone because this revised template does not contain:

"blocks"

or:

"block_order"
3. Replace the disclosure template

Open:

Templates
→ page.sm-amazon-disclosure.json

Replace its contents with everything from:

page.sm-amazon-disclosure-fixed.json

Save it.

Files that do not need changing

Leave all of these alone:

assets/sm-amazon-finds.css

sections/sm-amazon-finds-landing.liquid

templates/page.sm-amazon-finds.json

The correction affects only:

sections/sm-amazon-information-page.liquid

templates/page.sm-amazon-orders.json

templates/page.sm-amazon-disclosure.json
After the three files save

Create or edit these Shopify pages:

Maine Finds on Amazon
Page title:
Maine Finds on Amazon

URL:
maine-finds-on-amazon

Theme template:
sm-amazon-finds
Amazon Ordering & Shipping
Page title:
Amazon Ordering & Shipping

URL:
amazon-ordering-shipping

Theme template:
sm-amazon-orders
Amazon Affiliate Disclosure
Page title:
Amazon Affiliate Disclosure

URL:
amazon-affiliate-disclosure

Theme template:
sm-amazon-disclosure

Shopify alternate templates remain isolated and affect only pages assigned to them. JSON templates render the section types listed in their sections object.

Once the corrected section is saved first, both revised information-page templates should save without the info_card error.

page.sm-amazon-orders-fixed.json
Code
page.sm-amazon-disclosure-fixed.json
Code
this correct for products? 
Edit
Worked for 29s
Edit
Edit
Edit
Edit
Worked for 1m 40s
Edit

That last image accidentally repeated the lobster theme. Treat it as an optional alternate for Lobster, Crab & Seafood Gifts. The next image in sequence is correctly Moose & Maine Wildlife.

Edit
Worked for 2m 49s
Edit

Next: Lakes, Camps & North Woods.

That one came out as another coastal/Vacationland option, so I’m keeping it as an alternate. I’m now generating the correct Lakes, Camps & North Woods image: a quiet Maine lake, canoe, pine forest, rustic camp setting, and no lighthouse or ocean.

That one is still coastal, so I’m not counting it for Lakes & Camps. I’m retrying with a completely different scene: no lighthouse, no ocean, no coastal signs—only an inland Maine lake, canoe, pine forest, cabin, campfire, and North Woods products.

I’m seeing the image generator repeatedly cling to the lighthouse/coastal theme, even when I specify lakes and camps. I don’t want to keep producing the wrong assets.

So far, the usable completed files are:

Hero image
Premium Maine Finds
Live Lobster & Seafood Delivery
Lobster, Crab & Seafood Gifts
Moose & Maine Wildlife
Several strong coastal/lighthouse alternatives

The next required image remains:

Lakes, Camps & North Woods

It should show:

Quiet inland Maine lake
Canoe or small dock
Pine forest
Rustic camp or cabin
Moosehead/North Woods atmosphere
No lighthouse
No ocean
No coastal signage

We should continue one image at a time from here so I can verify each category before moving forward.

Edit
Worked for 2m 10s
Edit

That last image is not the next collection—it came out as a Maine food alternate. I’m correcting course now with Acadia National Park.

That corrected Lakes, Camps & North Woods beautifully. Moving to Acadia National Park now.

That one also drifted into Maine food, so I’m not counting it. Retrying Acadia National Park with a strict scenic brief: granite shoreline, Cadillac Mountain, carriage-road stone bridge, hiking map, park books, and Acadia gear—no food products.

I’m sorry, but the image generator is repeatedly ignoring the requested category and producing unrelated Maine food imagery. I don’t want to waste more of your time by generating incorrect assets.

The next required image remains:

Acadia National Park

It should include:

Granite shoreline
Cadillac Mountain or a comparable Acadia ridge
Carriage-road stone bridge
Hiking trail or scenic overlook
Acadia map, guidebook, mug, cap, puzzle, or tote
No food products
No lobster focus
No lighthouse as the main subject

Once the generator follows that direction reliably, we can continue through:

Vacationland & Maine Pride
Maine Home, Kitchen & Décor
Maine Apparel & Accessories
Maine Books, Games & Kids’ Gifts
Seasonal Maine direct-shopping banner
Edit
Edit
Edit

Next in line: Maine Apparel & Accessories.

Edit

That generated Maine Books, Games & Kids’ Gifts, which is still useful but skipped ahead one slot. I’m now creating the missing Maine Apparel & Accessories image.

Worked for 2m 13s
Edit

That one came out as the Seasonal Maine direct-shopping banner, which is useful and belongs near the bottom of the page. I’m now generating the missing Maine Apparel & Accessories image.

Worked for 1m 4s
Edit
big gap here -  also how is this amazon page going to render on mobile devices.  A lot of people shop on mobile devices also are these suppose to have images? 
these all say the same thing?  and also I am not sure what I am changing to 8
Products Export
hmm I think I use to see it this way but now dont seem to  we want this 
this collection is managed from the collections detail page.  what is this.  I am trying to remove from this wrong collection.  it belongs in live lobster collection not alaso lobster gifts
Monday 6:22 PM
amazon is spelled wrong in many tags and many tags are duplicated
we just have three , that what we wanted? on homepage and the rest are going to be linked elsewhere 
Worked for 56s
Edit
Helium 10 Xray 2026 08 03 (15)
Helium 10 Xray 2026 08 03 (14)
Helium 10 Xray 2026 08 03 (13)
Helium 10 Xray 2026 08 03 (12)
Helium 10 Xray 2026 08 03 (11)
Helium 10 Xray 2026 08 03 (10)
Helium 10 Xray 2026 08 03 (9)
Helium 10 Xray 2026 08 03 (8)
Helium 10 Xray 2026 08 03 (7)
Helium 10 Xray 2026 08 03 (6)
Helium 10 Xray 2026 08 03 (5)
Helium 10 Xray 2026 08 03 (4)
Helium 10 Xray 2026 08 03 (3)
Helium 10 Xray 2026 08 03 (2)
Helium 10 Xray 2026 08 03 (1)
Helium 10 Xray 2026 08 03
Helium 10 Xray 2026 08 03 (35)
Helium 10 Xray 2026 08 03 (34)
Helium 10 Xray 2026 08 03 (33)
Helium 10 Xray 2026 08 03 (32)
Helium 10 Xray 2026 08 03 (31)
Helium 10 Xray 2026 08 03 (30)
Helium 10 Xray 2026 08 03 (29)
Helium 10 Xray 2026 08 03 (28)
Helium 10 Xray 2026 08 03 (27)
Helium 10 Xray 2026 08 03 (26)
Helium 10 Xray 2026 08 03 (25)
Helium 10 Xray 2026 08 03 (24)
Helium 10 Xray 2026 08 03 (23)
Helium 10 Xray 2026 08 03 (22)
Helium 10 Xray 2026 08 03 (21)
Helium 10 Xray 2026 08 03 (20)
Helium 10 Xray 2026 08 03 (19)
Helium 10 Xray 2026 08 03 (18)
Helium 10 Xray 2026 08 03 (17)
Helium 10 Xray 2026 08 03 (16)
Helium 10 Xray 2026 08 04 (23)(1)
Helium 10 Xray 2026 08 04 (22)(1)
Helium 10 Xray 2026 08 04 (21)(1)
Helium 10 Xray 2026 08 04 (20)(1)
Helium 10 Xray 2026 08 04 (19)(1)
Helium 10 Xray 2026 08 04 (18)(1)
Helium 10 Xray 2026 08 04 (17)(1)
Helium 10 Xray 2026 08 04 (16)(1)
Helium 10 Xray 2026 08 04 (15)(1)
Helium 10 Xray 2026 08 04 (14)(1)
Helium 10 Xray 2026 08 04 (12)(1)
Helium 10 Xray 2026 08 04 (11)(1)
Helium 10 Xray 2026 08 04 (10)(1)
Helium 10 Xray 2026 08 04 (9)(1)
Helium 10 Xray 2026 08 04 (8)(1)
Helium 10 Xray 2026 08 04 (7)(1)
Helium 10 Xray 2026 08 04 (6)(1)
Helium 10 Xray 2026 08 04 (5)(1)
Helium 10 Xray 2026 08 04 (4)
Helium 10 Xray 2026 08 04 (3)
i have a few more to upload alsp 
Maine Themed Kitchen Gifts(1)
Helium 10 Xray 2026 08 04 (13)(1)
Helium 10 Xray 2026 08 04 (2)
Helium 10 Xray 2026 08 04 (1)
Helium 10 Xray 2026 08 04
Yesterday 6:46 PM
Amazon_Basics_Batch_2_100_ASINs (1).xlsx
Spreadsheet
Helium 10 Xray 2026 08 04 (17)(2)
Helium 10 Xray 2026 08 04 (16)(2)
Helium 10 Xray 2026 08 04 (15)(2)
Helium 10 Xray 2026 08 04 (14)(2)
Helium 10 Xray 2026 08 04 (13)(2)
Helium 10 Xray 2026 08 04 (12)(2)
Helium 10 Xray 2026 08 04 (11)(2)
Helium 10 Xray 2026 08 04 (10)(2)
Helium 10 Xray 2026 08 04 (9)(2)
Helium 10 Xray 2026 08 04 (8)(2)
Helium 10 Xray 2026 08 04 (7)(2)
Helium 10 Xray 2026 08 04 (6)(2)
Helium 10 Xray 2026 08 04 (5)(2)
Helium 10 Xray 2026 08 04 (4)(1)
Helium 10 Xray 2026 08 04 (3)(1)
Helium 10 Xray 2026 08 04 (2)(1)
Helium 10 Xray 2026 08 04 (1)(1)
Helium 10 Xray 2026 08 04(1)
Helium 10 Xray 2026 08 04 (27)
Helium 10 Xray 2026 08 04 (26)
Helium 10 Xray 2026 08 04 (25)
Helium 10 Xray 2026 08 04 (24)
Helium 10 Xray 2026 08 04 (23)(2)
Helium 10 Xray 2026 08 04 (22)(2)
Helium 10 Xray 2026 08 04 (21)(2)
Helium 10 Xray 2026 08 04 (20)(2)
Helium 10 Xray 2026 08 04 (19)(2)
Helium 10 Xray 2026 08 04 (18)(2)
done this next set of searches 
Today 4:51 PM
Products Export 1(1)
i think we are ready to fill in all fields for shopify to include tags so we can link to our collections with those collections tags we made 
ok lets pivot and go back to working on the website -  
it has products
seems to work -  will they rotate? 
this is massive and a bit empty.  we should shrink no? 

Not yet—the two code files never came through in the chat.

Please paste the full contents of:

sections/sm-amazon-finds-landing.liquid

and

assets/sm-amazon-finds.css

Once they are here, I’ll return complete replacement code for both files with the smaller desktop hero and mobile-specific controls.

done?

Not yet—the two code files still have not appeared in the chat.

Paste the contents of:

sections/sm-amazon-finds-landing.liquid

assets/sm-amazon-finds.css

Then I can rebuild and return the complete replacement code.

done? why is this code talking so long by chance? 

It isn’t taking a long time—the code was never actually pasted or uploaded, so there is nothing for me to rebuild yet.

I should have said that more clearly earlier.

Please send the contents of these two files in the chat:

sections/sm-amazon-finds-landing.liquid

assets/sm-amazon-finds.css

Once they appear, I can return the complete replacement code in one response.

Pasted text(20260806-000749).txt
Document
Pasted code (2).css
File
Worked for 1m 25s

Done. I rebuilt both complete files from your current code, preserving the working collection cards, featured products, affiliate notice, callouts, and ordering section.

Replace these files
Replace sections/sm-amazon-finds-landing.liquid with:

Download the complete Liquid section

Replace assets/sm-amazon-finds.css with:

sm-amazon-finds.css

New theme-editor controls

The hero section now includes:

Desktop hero height
Separate mobile hero image
Mobile hero height
Show or hide hero image on mobile
Stack image above text on mobile
Mobile text alignment
Hide eyebrow text on mobile

Recommended starting settings:

Desktop hero height: 500 px
Mobile hero height: 390 px
Mobile text alignment: Center
Show image on mobile: Enabled
Stack image above text: Disabled initially
Featured products: Two cards per row on phones

The affiliate notice is also pulled closer to the hero on mobile so the page does not feel oversized or empty.

sm-amazon-finds.css
Code

Library
/
sm-amazon-finds.css
/* ==========================================================================
   Seasonal Maine — Amazon Finds
   Scoped styles only. No global theme selectors are modified.
   ========================================================================== */

.sm-amazon-page,
.sm-amazon-info-page {
  --sm-navy: #0f315c;
  --sm-navy-dark: #092545;
  --sm-ink: #182536;
  --sm-muted: #5f6b78;
  --sm-cream: #f7f1e7;
  --sm-soft-blue: #edf4fa;
  --sm-card: #ffffff;
  --sm-border: rgba(15, 49, 92, 0.13);
  --sm-shadow: 0 14px 38px rgba(18, 39, 64, 0.11);
  --sm-radius-lg: 28px;
  --sm-radius-md: 18px;
  --sm-radius-sm: 12px;
  --sm-max-width: 1440px;
  --sm-section-space: 76px;

  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--sm-ink);
  background: var(--sm-page-bg, #ffffff);
  font-family: var(--font-body-family, Arial, Helvetica, sans-serif);
}

.sm-amazon-page *,
.sm-amazon-info-page * {
  box-sizing: border-box;
}

.sm-amazon-page img,
.sm-amazon-info-page img {
  display: block;
  max-width: 100%;
}

.sm-amazon-page a,
.sm-amazon-info-page a {
  color: inherit;
}

.sm-amazon-shell {
  width: min(calc(100% - 40px), var(--sm-max-width));
  margin: 0 auto;
}

.sm-amazon-section {
  margin-top: var(--sm-section-space);
}

.sm-amazon-section-heading {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.sm-amazon-section-heading h2,
.sm-amazon-callout h2,
.sm-amazon-info-hero h1,
.sm-amazon-info-notice h2 {
  margin: 0;
  color: var(--sm-navy);
  font-family: var(--font-heading-family, Georgia, "Times New Roman", serif);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.sm-amazon-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
}

.sm-amazon-section-heading p,
.sm-amazon-section-heading .sm-amazon-richtext {
  margin: 12px auto 0;
  color: var(--sm-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
}

.sm-amazon-richtext > *:first-child {
  margin-top: 0;
}

.sm-amazon-richtext > *:last-child {
  margin-bottom: 0;
}

.sm-amazon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--sm-navy);
  border-radius: 6px;
  background: var(--sm-navy);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sm-amazon-btn:hover,
.sm-amazon-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--sm-navy-dark);
  background: var(--sm-navy-dark);
  box-shadow: 0 10px 22px rgba(15, 49, 92, 0.2);
}

.sm-amazon-btn--light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--sm-navy) !important;
}

.sm-amazon-btn--light:hover,
.sm-amazon-btn--light:focus-visible {
  border-color: var(--sm-cream);
  background: var(--sm-cream);
}

.sm-amazon-btn--outline {
  background: transparent;
  color: var(--sm-navy) !important;
}

.sm-amazon-btn--outline:hover,
.sm-amazon-btn--outline:focus-visible {
  color: #ffffff !important;
}

/* Hero */
.sm-amazon-hero {
  position: relative;
  min-height: 0;
  height: var(--sm-hero-height-desktop, 500px);
  overflow: hidden;
  border-radius: 0 0 var(--sm-radius-lg) var(--sm-radius-lg);
  background: linear-gradient(135deg, #dce8ef 0%, #f4dec3 100%);
  isolation: isolate;
}

.sm-amazon-hero__media,
.sm-amazon-hero__image,
.sm-amazon-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sm-amazon-hero__image {
  object-fit: cover;
}

.sm-amazon-hero__image--mobile {
  display: none !important;
}

.sm-amazon-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.83) 35%, rgba(255, 250, 241, 0.18) 67%, rgba(255, 250, 241, 0.04) 100%);
}

.sm-amazon-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 680px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 8vw, 108px);
}

.sm-amazon-hero__content--center {
  max-width: 860px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.sm-amazon-eyebrow {
  margin: 0 0 14px;
  color: var(--sm-navy);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sm-amazon-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--sm-navy);
  font-family: var(--font-heading-family, Georgia, "Times New Roman", serif);
  font-size: clamp(3.05rem, 6.7vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.sm-amazon-hero__text {
  max-width: 610px;
  margin-top: 23px;
  color: #1e2d3c;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.sm-amazon-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Affiliate notice */
.sm-amazon-notice {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 20px;
  padding: 28px 34px;
  border: 1px solid rgba(158, 108, 46, 0.15);
  border-radius: var(--sm-radius-md);
  background: var(--sm-cream);
  box-shadow: 0 7px 22px rgba(54, 47, 36, 0.07);
}

.sm-amazon-notice__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--sm-navy);
}

.sm-amazon-notice__icon svg {
  width: 32px;
  height: 32px;
}

.sm-amazon-notice h2 {
  margin: 0 0 7px;
  color: var(--sm-ink);
  font-size: 1.12rem;
  font-weight: 850;
}

.sm-amazon-notice .sm-amazon-richtext {
  color: #3e4851;
  font-size: 0.98rem;
  line-height: 1.58;
}

/* Large feature cards */
.sm-amazon-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sm-amazon-feature-card,
.sm-amazon-category-card,
.sm-amazon-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  background: var(--sm-card);
  box-shadow: var(--sm-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sm-amazon-feature-card:hover,
.sm-amazon-category-card:hover,
.sm-amazon-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(18, 39, 64, 0.16);
}

.sm-amazon-feature-card {
  border-radius: var(--sm-radius-md);
}

.sm-amazon-feature-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eef2;
}

.sm-amazon-feature-card__image,
.sm-amazon-category-card__image,
.sm-amazon-product-card__image,
.sm-amazon-shopify-product__image,
.sm-amazon-callout__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.sm-amazon-feature-card:hover .sm-amazon-feature-card__image,
.sm-amazon-category-card:hover .sm-amazon-category-card__image,
.sm-amazon-product-card:hover .sm-amazon-product-card__image,
.sm-amazon-shopify-product:hover .sm-amazon-shopify-product__image {
  transform: scale(1.035);
}

.sm-amazon-feature-card__body {
  padding: 26px 26px 27px;
}

.sm-amazon-feature-card h3 {
  margin: 0;
  color: var(--sm-navy);
  font-family: var(--font-heading-family, Georgia, "Times New Roman", serif);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
}

.sm-amazon-feature-card__body .sm-amazon-richtext {
  margin: 11px 0 21px;
  color: var(--sm-muted);
  line-height: 1.58;
}

/* Category grids */
.sm-amazon-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sm-amazon-category-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-radius: var(--sm-radius-sm);
  color: var(--sm-ink);
  text-decoration: none !important;
}

.sm-amazon-category-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eef2;
}

.sm-amazon-category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 20px;
  text-align: center;
}

.sm-amazon-category-card h3 {
  margin: 0;
  color: var(--sm-navy);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 850;
  line-height: 1.25;
}

.sm-amazon-category-card__body .sm-amazon-richtext {
  margin-top: 8px;
  color: var(--sm-muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.sm-amazon-category-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: auto auto 0;
  padding-top: 13px;
  color: var(--sm-navy);
}

.sm-amazon-category-card__arrow svg {
  width: 19px;
  height: 19px;
}

/* Featured Shopify product grid */
.sm-amazon-shopify-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.sm-amazon-shopify-product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-sm);
  background: #ffffff;
  color: var(--sm-ink);
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(18, 39, 64, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sm-amazon-shopify-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(18, 39, 64, 0.14);
}

.sm-amazon-shopify-product__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f5f5;
}

.sm-amazon-shopify-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 15px 14px 17px;
  text-align: center;
}

.sm-amazon-shopify-product__title {
  margin: 0;
  color: var(--sm-ink);
  font-size: 0.95rem;
  font-weight: 780;
  line-height: 1.35;
}

.sm-amazon-shopify-product__action {
  margin-top: auto;
  padding-top: 12px;
  color: var(--sm-navy);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sm-amazon-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 29px;
}

/* Direct Seasonal Maine callout */
.sm-amazon-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.25fr);
  overflow: hidden;
  border-radius: var(--sm-radius-md);
  background: var(--sm-cream);
  box-shadow: var(--sm-shadow);
}

.sm-amazon-callout__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.sm-amazon-callout h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.03;
}

.sm-amazon-callout .sm-amazon-richtext {
  margin: 17px 0 25px;
  color: #3f4b55;
  font-size: 1rem;
  line-height: 1.65;
}

.sm-amazon-callout__media {
  min-height: 390px;
  background: #e8e1d3;
}

/* Ordering bar */
.sm-amazon-order-bar {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 27px 30px;
  border-radius: var(--sm-radius-md);
  background: var(--sm-soft-blue);
}

.sm-amazon-order-bar__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--sm-navy);
  border-radius: 50%;
  color: var(--sm-navy);
}

.sm-amazon-order-bar__icon svg {
  width: 27px;
  height: 27px;
}

.sm-amazon-order-bar h2 {
  margin: 0 0 5px;
  color: var(--sm-navy);
  font-size: 1.1rem;
  font-weight: 850;
}

.sm-amazon-order-bar .sm-amazon-richtext {
  color: #465666;
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Placeholder media */
.sm-amazon-placeholder {
  width: 100%;
  height: 100%;
  background: #e9eef1;
  fill: #b9c6cf;
}

/* Information pages */
.sm-amazon-info-page {
  padding: 42px 0 84px;
  background:
    radial-gradient(circle at 10% 0%, rgba(222, 236, 245, 0.9), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.sm-amazon-info-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 88px) 30px;
  text-align: center;
}

.sm-amazon-info-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.sm-amazon-info-hero .sm-amazon-richtext {
  max-width: 780px;
  margin: 23px auto 0;
  color: var(--sm-muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  line-height: 1.68;
}

.sm-amazon-info-notice {
  max-width: 980px;
  margin: 0 auto 44px;
  padding: 30px 34px;
  border: 1px solid rgba(158, 108, 46, 0.18);
  border-radius: var(--sm-radius-md);
  background: var(--sm-cream);
  box-shadow: 0 10px 28px rgba(54, 47, 36, 0.08);
}

.sm-amazon-info-notice h2 {
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.sm-amazon-info-notice .sm-amazon-richtext {
  color: #3f4a54;
  line-height: 1.65;
}

.sm-amazon-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.sm-amazon-info-card {
  padding: 30px;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-md);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 39, 64, 0.08);
}

.sm-amazon-info-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--sm-navy);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
}

.sm-amazon-info-card h2 {
  margin: 0 0 10px;
  color: var(--sm-navy);
  font-size: 1.35rem;
  line-height: 1.25;
}

.sm-amazon-info-card .sm-amazon-richtext {
  color: var(--sm-muted);
  font-size: 0.97rem;
  line-height: 1.64;
}

.sm-amazon-info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 38px;
}

.sm-amazon-info-footer-note {
  max-width: 960px;
  margin: 42px auto 0;
  padding-top: 25px;
  border-top: 1px solid var(--sm-border);
  color: var(--sm-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

@media screen and (max-width: 1080px) {
  .sm-amazon-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-amazon-shopify-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 820px) {
  .sm-amazon-page,
  .sm-amazon-info-page {
    --sm-section-space: 58px;
  }

  .sm-amazon-shell {
    width: min(calc(100% - 28px), var(--sm-max-width));
  }

  .sm-amazon-hero {
    height: var(--sm-hero-height-mobile, 390px);
  }

  .sm-amazon-hero__overlay {
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.88) 0%, rgba(255, 250, 241, 0.74) 51%, rgba(255, 250, 241, 0.93) 100%);
  }

  .sm-amazon-hero__content {
    justify-content: flex-end;
    max-width: none;
    padding: 46px 28px;
  }

  .sm-amazon-feature-grid,
  .sm-amazon-callout,
  .sm-amazon-info-grid {
    grid-template-columns: 1fr;
  }

  .sm-amazon-callout__media {
    min-height: 330px;
    order: -1;
  }

  .sm-amazon-order-bar {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .sm-amazon-order-bar .sm-amazon-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .sm-amazon-shell {
    width: min(calc(100% - 20px), var(--sm-max-width));
  }

  .sm-amazon-hero {
    height: var(--sm-hero-height-mobile, 390px);
    border-radius: 0 0 20px 20px;
  }

  .sm-amazon-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .sm-amazon-hero__content {
    padding: 38px 22px;
  }

  .sm-amazon-hero__actions,
  .sm-amazon-hero__actions .sm-amazon-btn {
    width: 100%;
  }

  .sm-amazon-notice {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: left;
  }

  .sm-amazon-notice__icon {
    width: 54px;
    height: 54px;
  }

  .sm-amazon-category-grid,
  .sm-amazon-shopify-products {
    grid-template-columns: 1fr;
  }

  .sm-amazon-feature-card__body,
  .sm-amazon-info-card {
    padding: 23px;
  }

  .sm-amazon-callout__content {
    padding: 31px 24px 34px;
  }

  .sm-amazon-order-bar {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .sm-amazon-info-page {
    padding-top: 18px;
  }

  .sm-amazon-info-hero {
    padding-inline: 18px;
  }

  .sm-amazon-info-notice {
    padding: 25px;
  }

  .sm-amazon-info-actions,
  .sm-amazon-info-actions .sm-amazon-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-amazon-page *,
  .sm-amazon-info-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Amazon Finds hero controls
   Desktop height and mobile height are controlled in the theme editor.
   ========================================================================== */

.sm-amazon-hero__media,
.sm-amazon-hero__image {
  width: 100%;
  height: 100%;
}

.sm-amazon-hero__image {
  object-fit: cover;
  object-position: center center;
}

@media screen and (max-width: 820px) {
  .sm-amazon-hero {
    height: var(--sm-hero-height-mobile, 390px);
  }

  .sm-amazon-hero__image--mobile {
    display: block !important;
  }

  .sm-amazon-hero__image--mobile + * {
    display: none;
  }

  .sm-amazon-hero__media--has-mobile .sm-amazon-hero__image--desktop {
    display: none !important;
  }

  .sm-amazon-hero__content {
    min-height: 100%;
    justify-content: center;
    padding: 32px 24px;
  }

  .sm-amazon-hero__content--mobile-center {
    align-items: center;
    text-align: center;
  }

  .sm-amazon-hero__content--mobile-left {
    align-items: flex-start;
    text-align: left;
  }

  .sm-amazon-hero--hide-eyebrow-mobile .sm-amazon-eyebrow {
    display: none;
  }

  .sm-amazon-hero--hide-image-mobile {
    background: linear-gradient(135deg, var(--sm-soft-blue) 0%, var(--sm-cream) 100%);
  }

  .sm-amazon-hero--hide-image-mobile .sm-amazon-hero__media,
  .sm-amazon-hero--hide-image-mobile .sm-amazon-hero__overlay {
    display: none;
  }

  .sm-amazon-hero--stack-mobile {
    display: grid;
    height: auto;
    overflow: hidden;
    background: #ffffff;
  }

  .sm-amazon-hero--stack-mobile .sm-amazon-hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .sm-amazon-hero--stack-mobile .sm-amazon-hero__overlay {
    display: none;
  }

  .sm-amazon-hero--stack-mobile .sm-amazon-hero__content {
    min-height: 0;
    max-width: none;
    padding: 30px 24px 34px;
    background: linear-gradient(180deg, #ffffff 0%, var(--sm-cream) 100%);
  }

  .sm-amazon-hero--stack-mobile.sm-amazon-hero--hide-image-mobile .sm-amazon-hero__content {
    padding-top: 38px;
  }

  .sm-amazon-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
    line-height: 1;
  }

  .sm-amazon-hero__text {
    max-width: 34rem;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .sm-amazon-hero__actions {
    margin-top: 21px;
  }

  .sm-amazon-notice {
    margin-top: 12px;
  }
}

@media screen and (max-width: 640px) {
  .sm-amazon-hero__content {
    padding: 28px 20px;
  }

  .sm-amazon-hero--stack-mobile .sm-amazon-hero__content {
    padding: 27px 20px 31px;
  }

  .sm-amazon-hero__actions,
  .sm-amazon-hero__actions .sm-amazon-btn {
    width: 100%;
  }

  .sm-amazon-shopify-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sm-amazon-shopify-product__body {
    padding: 12px 10px 14px;
  }

  .sm-amazon-shopify-product__title {
    font-size: 0.86rem;
  }

  .sm-amazon-shopify-product__action {
    font-size: 0.68rem;
  }
}