/* Approved floating cards. Scoped below the existing cover and to the catalogue. */
/* Equal cells and caption baselines; each artwork retains its own aspect ratio. */
html body.am-editorial-preview .am-float-card{width:100%!important;container-type:inline-size}
html body.am-editorial-preview .am-float-card .am-float-stage{height:auto;aspect-ratio:1}
html body.am-editorial-preview .am-float-card .am-float-artwork,html body.am-editorial-preview .am-float-card .am-float-caption{width:min(calc(100% - 20px),calc((100cqw - 20px) * var(--am-ratio,.8)),calc(280px * var(--am-ratio,.8)))!important}
html body.am-editorial-preview .am-float-stage{height:312px;align-items:center}
html body.am-editorial-preview .am-float-artwork,html body.am-editorial-preview .am-float-caption{width:min(calc(100% - 20px),calc(280px * var(--am-ratio,.8)))!important}
html body.am-editorial-preview .am-float-caption{margin:16px auto 0!important}
html body.am-editorial-preview .am-float-caption h3{min-height:36px}
@media(max-width:767px){html body.am-editorial-preview .am-float-card{width:100%!important}html body.am-editorial-preview .am-float-stage{height:235px}html body.am-editorial-preview .am-float-artwork,html body.am-editorial-preview .am-float-caption{width:min(calc(100% - 12px),calc(215px * var(--am-ratio,.8)))!important}}
@media(max-width:390px){html body.am-editorial-preview .am-float-stage{height:195px}html body.am-editorial-preview .am-float-artwork,html body.am-editorial-preview .am-float-caption{width:min(calc(100% - 8px),calc(175px * var(--am-ratio,.8)))!important}}

html body .am-e-selection,html body .fjord-shop{background:transparent!important}
html body .am-e-grid,html body .fjord-shop__grid{align-items:start!important;justify-items:center!important;column-gap:40px!important;row-gap:48px!important}
html body .am-float-card{display:block!important;position:relative!important;width:min(100%,calc(290px * var(--am-ratio,.8)))!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .am-float-link{display:block!important;color:#30332d!important;text-decoration:none!important;background:transparent!important}
html body .am-float-stage{height:312px;display:flex;align-items:flex-end;justify-content:center;background:transparent}
html body .am-float-surface{position:relative;width:100%;aspect-ratio:var(--am-ratio,.8);overflow:hidden;background:transparent}
html body .is-cut .am-float-surface{box-shadow:-7px 7px 11px -6px #0005,0 1px 2px #0002}
html body .am-float-image{display:block;width:100%;height:auto;max-width:none;margin:0;border:0;border-radius:0;opacity:1!important;transform:none!important;transition:none!important;object-fit:contain}
html body .is-cut .am-float-image{position:absolute;width:var(--am-source-width);left:var(--am-source-left);top:var(--am-source-top);height:auto!important;max-width:none!important;object-fit:fill}
html body .am-float-caption{padding:0!important;margin:16px 0 0!important;text-align:left}
html body .am-float-caption h3{font:400 12px/1.5 "DM Sans",Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#30332d!important;margin:0!important;padding:0!important;overflow-wrap:anywhere}
html body .am-float-price{font:400 12px/1.5 "DM Sans",Arial,sans-serif!important;margin-top:5px;color:#454a40}
html body .am-float-price ins{background:none;text-decoration:none}
html body .am-float-price del{color:#85897e;font-size:11px;margin-right:6px}
html body .am-float-price .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html body .am-float-dimensions,html body .am-float-stock{display:block;font:400 11px/1.5 "DM Sans",Arial,sans-serif;color:#7a7d76;margin-top:2px}
html body .am-float-stock{color:#555d4e}
html body .am-float-link:focus-visible{outline:1px solid #747a6a;outline-offset:8px}
html body .am-float-link:hover h3{text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){html body .am-e-grid,html body .fjord-shop__grid{column-gap:24px!important;row-gap:36px!important}html body .am-float-stage{height:235px}html body .am-float-card{width:min(100%,calc(215px * var(--am-ratio,.8)))!important}html body .am-float-caption{margin-top:14px!important}}
@media(max-width:390px){html body .am-float-stage{height:195px}html body .am-float-card{width:min(100%,calc(175px * var(--am-ratio,.8)))!important}html body .am-e-grid,html body .fjord-shop__grid{column-gap:22px!important}}

/* Sold artwork: clear red label, independent of image cropping. */
html body .am-float-artwork{position:relative;width:100%;min-width:0}
html body .am-float-artwork .am-float-surface{width:100%!important}
html body .am-float-sold-badge{position:absolute;top:-32px;left:0;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:5px 10px;border-radius:5px;background:#c91e2a;color:#fff;font:500 10px/1.4 "DM Sans",Arial,sans-serif;letter-spacing:.16em;white-space:nowrap}
html body .am-float-stock{color:#c91e2a!important;font-weight:500!important;letter-spacing:.14em;text-transform:uppercase;margin-top:8px!important}
html body.single-product .fjord-product-page__title:has(.fjord-product-page__sold-badge){display:flex;flex-direction:column;align-items:flex-start}
html body.single-product .fjord-product-page__sold-badge{order:-1;position:static!important;display:inline-flex!important;align-self:flex-start;background:#c91e2a!important;color:#fff!important;border:0!important;border-radius:5px!important;padding:6px 12px!important;margin:0 0 16px!important;font:500 11px/1.4 "DM Sans",Arial,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase!important}

/* Space for sold labels above the first mobile row, clear of filters. */
@media(max-width:767px){html body .fjord-shop__grid:has(.am-float-sold-badge){padding-top:32px!important}}

/* Mobile gallery: artwork-led artist cover and one clear filtering action. */
@media(max-width:767px){
 html body.am-editorial-preview main.fjord-shop{display:flex!important;flex-direction:column;gap:0!important;padding-left:18px!important;padding-right:18px!important;padding-bottom:44px!important;min-width:0}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__intro{order:0;margin:12px 0 24px!important;padding:0!important}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__intro--artist:has(>.am-artist-identity){display:block!important;position:relative!important;isolation:isolate;padding:240px 20px 24px!important;margin:0 -18px 22px!important;width:calc(100% + 36px)!important;min-height:0!important;grid-template-columns:none!important;background:#f0eee7!important;overflow:hidden!important;border:0!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist:has(>.am-artist-identity)>.am-artist-identity{inset:0 0 auto!important;height:220px!important;width:100%!important;z-index:0!important;background:#e4e3d9;align-items:center!important}
 html body.am-editorial-preview main.fjord-shop .am-artist-identity__crop{width:100%!important;max-width:none!important;flex:none;aspect-ratio:var(--am-ratio)!important;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important}
 html body.am-editorial-preview main.fjord-shop .am-artist-identity__crop>img{opacity:1!important;filter:none!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist:has(>.am-artist-identity)>.fjord-shop__intro-copy{position:relative!important;max-width:none!important;width:100%!important;z-index:1!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist .fjord-blog-post__breadcrumb{display:none!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist .fjord-shop__title{font-size:34px!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:0 0 14px!important;max-width:none!important;color:#292e27!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist:has(>.am-artist-identity)>.fjord-shop-artist__portrait{position:absolute!important;top:16px!important;right:16px!important;bottom:auto!important;left:auto!important;width:54px!important;height:54px!important;min-width:0!important;min-height:0!important;margin:0!important;border:2px solid #fff!important;border-radius:50%!important;overflow:hidden!important;box-shadow:0 2px 12px #0002;z-index:2!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop-artist__portrait-img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}
 html body.am-editorial-preview main.fjord-shop .am-artist-bio{width:100%!important;font-size:13px!important;line-height:1.7!important;margin:0!important;color:#5c6258!important}
 html body.am-editorial-preview main.fjord-shop .am-artist-bio summary{padding:0!important;font-size:13px!important;min-height:26px;gap:12px}
 html body.am-editorial-preview main.fjord-shop .am-artist-bio[open]>div{margin-top:16px;font-size:14px;line-height:1.75}
 html body.am-editorial-preview main.fjord-shop>.am-artist-switcher{order:1;margin:0 0 20px!important;padding:0!important;border:0!important;min-width:0;width:100%}
 html body .am-artist-switcher__head{margin-bottom:10px!important;font-size:11px!important;letter-spacing:.02em}
 html body .am-artist-switcher__hint,html body .am-artist-switcher__controls{display:none!important}
 html body .am-artist-switcher__track{gap:8px!important;padding:0!important;scrollbar-width:none!important;border:0!important;scroll-snap-type:x proximity}
 html body .am-artist-switcher__track::-webkit-scrollbar{display:none!important}
 html body .am-artist-switcher__item{min-width:135px!important;flex:0 0 auto!important;max-width:none!important;padding:10px 12px!important;min-height:58px!important;scroll-snap-align:start;border-color:#d5d7ce!important}
 html body .am-artist-switcher__item>span{font-size:11px!important;line-height:1.4!important}
 html body .am-artist-switcher__item>small{font-size:10px!important;line-height:1.4!important;margin-top:4px!important}
 html body.am-editorial-preview main.fjord-shop>.am-e-prices,html body.am-editorial-preview main.fjord-shop>.am-size-finder,html body.am-editorial-preview main.fjord-shop>.am-series-crosslinks{display:none!important}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__filters{order:2;display:block!important;width:100%!important;min-width:0!important;overflow:visible!important;margin:0 0 20px!important;padding:0!important;border:0!important}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__filters>a{display:none!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__filters>button{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:50px!important;padding:13px 15px!important;background:transparent!important;border:1px solid #b7bcb1!important;border-radius:0!important;color:#30362d!important}
 html body .fjord-shop__filters .fjord-shop__filter-label{font-size:0!important}
 html body .fjord-shop__filters .fjord-shop__filter-label::after{content:'Filtrar por artista, precio y tamaño';font:400 12px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:0}
 html body .fjord-shop__filters>button>span[aria-hidden]{font-size:0!important;width:20px;height:12px;border-top:1px solid currentColor;border-bottom:1px solid currentColor;position:relative;margin-left:12px;flex:none}
 html body .fjord-shop__filters>button>span[aria-hidden]::after{content:'';position:absolute;left:0;top:5px;width:13px;border-top:1px solid currentColor}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__layout{order:3;display:block!important;width:100%;min-width:0}
 html body .fjord-shop__products{min-width:0!important}
 html body.am-editorial-preview .fjord-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px!important;row-gap:38px!important;padding-top:16px!important;align-items:start!important}
 html body.am-editorial-preview .fjord-shop__grid:has(.am-float-sold-badge){padding-top:32px!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-card{width:100%!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-stage{height:auto!important;aspect-ratio:.84!important;align-items:center!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-artwork,html body.am-editorial-preview .fjord-shop__grid .am-float-caption{width:min(calc(100% - 8px),calc(205px * var(--am-ratio,.8)))!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-caption{margin-top:14px!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-caption h3{font-size:12px!important;line-height:1.45!important;min-height:35px!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-price{font-size:13px!important;line-height:1.5!important;margin-top:5px!important}
 html body.am-editorial-preview .fjord-shop__grid .am-float-dimensions{font-size:10px!important;margin-top:3px!important}
 html body .woocommerce-pagination ul,html body .page-numbers{flex-wrap:wrap!important;max-width:100%;gap:6px!important}
 html body .pn-float-galaxy--left{left:auto!important;right:14px!important;bottom:18px!important}
 html body .pn-float-galaxy__button{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}
}

@media(max-width:767px){
 html body.am-editorial-preview main.fjord-shop>.artemarco-quick-sizes,html body.am-editorial-preview main.fjord-shop>.am-series-links{display:none!important}
 html body.am-editorial-preview main.fjord-shop>.fjord-shop__intro:not(.fjord-shop__intro--artist){padding:22px 0 0!important;margin:0 0 24px!important;border:0!important}
 html body.am-editorial-preview .fjord-shop__intro:not(.fjord-shop__intro--artist) .fjord-shop__title{font-size:34px!important;line-height:1.12!important;letter-spacing:-.03em!important;margin:12px 0!important}
 html body.am-editorial-preview .fjord-shop__intro:not(.fjord-shop__intro--artist) .fjord-shop__lead{font-size:14px!important;line-height:1.65!important;margin:0!important}
 html body .fjord-shop__pagination{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;overflow:visible!important;max-width:100%!important;width:100%!important;margin:28px 0 0!important;padding:12px 0!important;scrollbar-width:none}
 html body .fjord-shop__pagination>.page-numbers{display:inline-flex!important;align-items:center;justify-content:center;width:34px!important;min-width:34px!important;height:38px!important;min-height:38px!important;padding:0!important;font-size:12px!important;flex:0 0 auto!important;border:0!important}
 html body .fjord-shop__pagination>.next,html body .fjord-shop__pagination>.prev{width:auto!important;min-width:76px!important;padding:0 8px!important}
 html body .fjord-filter-drawer__panel{width:calc(100% - 20px)!important;max-width:440px!important;max-height:calc(100dvh - 24px)!important;padding:16px!important;border-radius:10px!important;background:#faf9f6!important}
 html body .fjord-filter-drawer__header{padding:0 0 14px!important;background:transparent!important;border-radius:0!important;border-bottom:1px solid #dedfd7!important}
 html body .fjord-filter-drawer__title{font-size:18px!important}
 html body .fjord-filter-drawer__content{padding:0 2px 8px!important;scrollbar-width:thin}
 html body .fjord-filter-drawer__section{padding:20px 0!important;border-bottom:1px solid #dedfd7!important;background:transparent!important;border-radius:0!important;margin:0!important}
 html body .fjord-filter-drawer__section-title{margin:0 0 12px!important;font-size:10px!important;letter-spacing:.12em!important;color:#656c60!important}
 html body .fjord-filter-drawer__list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 html body .fjord-filter-drawer__link{display:flex!important;align-items:center;justify-content:space-between;min-height:42px!important;padding:10px!important;border:1px solid #dedfd7!important;border-radius:3px!important;font-size:12px!important;line-height:1.4!important;background:transparent!important;color:#333a2e!important;margin:0!important}
 html body .fjord-filter-drawer__list:has(.fjord-filter-count){grid-template-columns:1fr!important;gap:0!important}
 html body .fjord-filter-drawer__list:has(.fjord-filter-count)>.fjord-filter-drawer__link{border:0!important;border-bottom:1px solid #e5e5dd!important;border-radius:0!important;padding:11px 4px!important;min-height:43px!important}
 html body .fjord-filter-drawer__link.is-active{background:#30392c!important;color:white!important}
 html body .fjord-filter-count{font-size:10px!important;background:#e9ebe4!important;color:#454d3f!important}
 html body.filter-drawer-open .pn-float-galaxy{display:none!important}
}

@media(max-width:767px){
 html body .am-artist-switcher__item.is-current{order:-1}
 html body .fjord-filter-drawer__panel{position:fixed!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 12px)!important;bottom:12px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;height:auto!important;max-height:calc(100dvh - var(--wp-admin--admin-bar--height,0px) - 24px)!important}
}

@media(max-width:767px){
 html:has(main.fjord-shop){scroll-behavior:auto!important}
 html body.am-editorial-preview main.fjord-shop .fjord-shop__intro--artist:has(>.am-artist-identity)>.fjord-shop-artist__portrait{display:none!important}
 html body.am-editorial-preview main.fjord-shop>.am-series{order:4!important;width:100%!important;margin-top:36px!important}
}

@media(max-width:767px){html body .fjord-filter-drawer__panel{margin:0!important}}

/* Compact mobile catalogue, preserving artwork proportions and sold status. */
@media(max-width:767px){
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop{padding-left:16px!important;padding-right:16px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid{column-gap:14px!important;row-gap:30px!important;padding-top:12px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid:has(.am-float-sold-badge){padding-top:32px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-artwork,html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-caption{width:min(100%,calc(230px * var(--am-ratio,.8)))!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-caption{margin:8px auto 0!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-caption h3{min-height:0!important;line-height:1.35!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-price{margin-top:3px!important;line-height:1.4!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-dimensions{margin-top:1px!important;line-height:1.4!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-stock{margin-top:5px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-stage{aspect-ratio:1!important;align-items:flex-end!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .am-float-stage{height:var(--am-row-height,180px)!important;aspect-ratio:auto!important;align-items:flex-end!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid{row-gap:38px!important}
}

@media(max-width:767px){
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop>.fjord-shop__filters{margin-bottom:12px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid:has(.am-float-sold-badge),html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid{padding-top:8px!important}
html body.am-editorial-preview:not(.fjord-artist-archive) main.fjord-shop .fjord-shop__grid[data-first-row-sold="1"]{padding-top:32px!important}
}
