/* Axel Echo Market 1.5.1 */
body.axel-market-ready .woocommerce-products-header,
body.axel-market-ready .woocommerce-result-count,
body.axel-market-ready .woocommerce-ordering,
body.axel-market-ready ul.products,
body.axel-market-ready nav.woocommerce-pagination,
body.axel-market-ready .uicore-sidebar,
body.axel-market-ready .wcfmmp_sold_by_container,
body.axel-market-ready .wcfm_buttons_wrapper,
body.axel-market-ready .ae-market-shell,
body.axel-market-ready .ae2-market,
body.axel-market-ready #ae-market-root,
body.axel-market-ready [class*="ae-market-shell"],
body.axel-market-ready [class*="ae2-market"],
body.axel-market-ready .ae-market-topbar,
body.axel-market-ready .ae-market-filters,
body.axel-market-ready .ae-market-views { display:none !important; }

body.axel-market-ready .uicore-content-wrapper.uicore-woo { display:block !important; }
/* Lovable badge animation pass */
@keyframes aem-discount-shimmer{
  0%{background-position:200% center;transform:scale(1);opacity:.94}
  50%{background-position:0% center;transform:scale(1.045);opacity:1}
  100%{background-position:200% center;transform:scale(1);opacity:.94}
}
@keyframes aem-badge-sheen{
  0%{transform:translateX(-150%) skewX(-22deg);opacity:0}
  35%{opacity:0}
  55%{opacity:.45}
  100%{transform:translateX(220%) skewX(-22deg);opacity:0}
}
@keyframes aem-badge-pulse{
  0%,100%{box-shadow:0 10px 20px rgba(255,126,40,.28),0 0 0 0 rgba(255,146,61,.10)}
  50%{box-shadow:0 14px 26px rgba(255,126,40,.38),0 0 18px 2px rgba(255,146,61,.18)}
}
body.axel-market-ready .uicore-post-content.uicore-archive,
body.axel-market-ready .uicore-post-content,
body.axel-market-ready .elementor-widget-container { width:100% !important; }
body.axel-market-ready .uicore-post-content.uicore-archive { max-width:1280px !important; margin:0 auto !important; }
#axel-echo-market-root,
#axel-echo-market-root *{box-sizing:border-box}
#axel-echo-market-root{width:100%}

.aem-shell{
  --bg:#f4f7fa;
  --surface:#ffffff;
  --surface-2:#f7fafc;
  --line:#c8d7e4;
  --line-2:#dbe6ef;
  --text:#1b2a3a;
  --muted:#72829a;
  --navy:#061627;
  --navy-2:#14263b;
  --mint:#16e5c6;
  --mint-text:#042932;
  --blue:#28bdf4;
  --blue-2:#e8f8ff;
  --green:#19b55d;
  --gold:#c58a14;
  width:100%;
  max-width:1280px;
  margin:18px auto 30px;
  padding:0;
  color:var(--text);
  font-family:inherit;
}

.aem-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 16px}
.aem-tab{
  display:flex;align-items:center;justify-content:center;min-height:56px;
  border-radius:14px;border:1px solid transparent;background:#dfe4ea;
  color:#7687a0;font-size:16px;font-weight:800;text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.aem-tab.is-active{background:var(--navy);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}

.aem-chipbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.aem-chip,
.aem-more-toggle{
  display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;
  border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--navy);
  font-size:12px;font-weight:800;line-height:1;cursor:pointer;
}
.aem-chip-ico{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:0 0 14px;color:currentColor;opacity:.92}
.aem-chip-ico svg{width:14px;height:14px;display:block}
.aem-chip-ico--more{font-size:16px;line-height:1;transform:translateY(-1px)}
.aem-chip-label{display:inline-flex;align-items:center;white-space:nowrap}
.aem-chip span,.aem-more-toggle span{color:#637487;font-weight:700}
.aem-chip.is-active,.aem-more-toggle.is-active{background:var(--mint);border-color:var(--mint);color:var(--mint-text)}
.aem-chip.is-active span,.aem-more-toggle.is-active span{color:#0d544b}
.aem-chip.is-active .aem-chip-ico,.aem-more-toggle.is-active .aem-chip-ico{color:#0d544b}
.aem-more-wrap{position:relative;display:inline-flex;z-index:30}
.aem-more-toggle em{
  display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;
  padding:0 4px;border-radius:999px;background:#0a1a2d;color:#fff;font-size:10px;font-style:normal;font-weight:900;
}
.aem-more-menu{
  position:absolute;left:0;top:calc(100% + 8px);width:270px;max-height:320px;overflow:auto;
  background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 40px rgba(15,23,42,.16);
}
.aem-more-head{padding:12px 14px;border-bottom:1px solid var(--line-2);font-size:13px;font-weight:800;color:var(--text)}
.aem-more-list{padding:8px}
.aem-more-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;cursor:pointer;color:var(--text)}
.aem-more-item:hover{background:#f3f7fb}
.aem-more-check{appearance:none;width:16px;height:16px;border-radius:4px;border:1.5px solid #9db7c9;background:#fff;position:relative;flex:none}
.aem-more-check:checked{background:var(--mint);border-color:var(--mint)}
.aem-more-check:checked::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font-size:11px;font-weight:900;color:#062530}
.aem-more-dot{display:none}
.aem-more-label{font-size:13px;color:var(--text)}

.aem-toolbar-row,.aem-view-row,.aem-footer-row{display:flex;align-items:center;gap:12px}
.aem-toolbar-row{margin-bottom:12px}
.aem-view-row{margin-bottom:14px}
.aem-search-wrap{position:relative;flex:1 1 auto}
.aem-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#62758a;font-size:18px}
.aem-search{
  width:100%;height:50px;border-radius:14px;border:1px solid var(--line);background:#fff;
  color:var(--text);padding:0 42px 0 42px;font-size:16px;box-shadow:0 2px 0 rgba(255,255,255,.7) inset;
}
.aem-search::placeholder{color:#7486a0}
.aem-search:focus{outline:none;border-color:#84dff9;box-shadow:0 0 0 3px rgba(40,189,244,.12)}
.aem-search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:none;background:none;color:#778ba3;font-size:24px;cursor:pointer;visibility:hidden}
.aem-toolbar-actions,.aem-view-meta{display:flex;align-items:center;gap:10px;margin-left:auto}
.aem-filter-toggle,.aem-columns-pill,.aem-per-page-bottom,.aem-per-page,.aem-sort{
  height:48px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--navy);
  padding:0 16px;font-weight:800;
}
.aem-filter-toggle{cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.aem-filter-toggle.is-open .aem-filter-caret{transform:rotate(180deg)}
.aem-filter-caret{display:inline-block;transition:transform .2s ease}
.aem-columns-pill{display:inline-flex;align-items:center;gap:8px;min-width:92px}
.aem-sort,.aem-per-page,.aem-per-page-bottom,.aem-product-type,.aem-vendor-select,.aem-category-select,.aem-stock-select{
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#70829c 50%),linear-gradient(135deg,#70829c 50%,transparent 50%);
  background-position:calc(100% - 18px) calc(50% - 2px),calc(100% - 12px) calc(50% - 2px);
  background-size:6px 6px,6px 6px;background-repeat:no-repeat;
}
.aem-view-switch{display:flex;gap:8px}
.aem-view-btn{
  width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;color:#31465f;
  cursor:pointer;font-size:16px;display:grid;place-items:center;
}
.aem-view-btn.is-active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 10px 20px rgba(40,189,244,.22)}
.aem-count{display:inline-flex;align-items:center;padding:0 16px;height:42px;border-radius:999px;background:var(--mint);color:var(--mint-text);font-weight:900;white-space:nowrap}

.aem-filters-panel{margin-bottom:14px;padding:14px;border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.aem-filters-panel[hidden]{display:none !important}
.aem-filter-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:12px 12px;align-items:end;margin-bottom:14px}
.aem-field{display:flex;flex-direction:column;gap:6px}
.aem-field label{font-size:12px;font-weight:700;color:#51657d}
.aem-field-span-2{grid-column:2/span 1}
.aem-field input,.aem-field select,.aem-category-search{
  width:100%;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:0 14px;color:var(--text);font-size:14px
}
.aem-field input:focus,.aem-field select:focus,.aem-category-search:focus,.aem-price-min:focus,.aem-price-max:focus,.aem-eco-min:focus,.aem-eco-max:focus,.aem-sale-min:focus,.aem-sale-max:focus{outline:none;border-color:#84dff9;box-shadow:0 0 0 3px rgba(40,189,244,.12)}
.aem-range-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:12px;margin-bottom:14px}
.aem-range-card{padding:0}
.aem-range-card label{display:block;margin-bottom:8px;font-size:12px;font-weight:700;color:#51657d}
.aem-range-boxes{display:grid;grid-template-columns:64px 1fr 64px;gap:12px;align-items:center}
.aem-range-boxes input[type=number]{height:40px;border:1px solid var(--line);border-radius:12px;padding:0 10px;background:#fff;color:var(--text)}
.aem-range-track-wrap{position:relative;height:28px;display:flex;align-items:center}
.aem-range-track-wrap::before{content:'';position:absolute;left:0;right:0;top:50%;height:4px;transform:translateY(-50%);border-radius:999px;background:#dbf5ff}
.aem-range-track-wrap input[type=range]{position:absolute;left:0;right:0;width:100%;-webkit-appearance:none;background:none;pointer-events:none}
.aem-range-track-wrap input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid var(--blue);box-shadow:0 2px 6px rgba(40,189,244,.22);pointer-events:auto}
.aem-range-track-wrap input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid var(--blue);box-shadow:0 2px 6px rgba(40,189,244,.22);pointer-events:auto}
.aem-filter-bottom-row{display:flex;align-items:flex-end;gap:12px}
.aem-field-stock{min-width:168px}
.aem-reset{height:42px;border:none;border-radius:12px;background:#eef4f8;color:#5f748d;padding:0 16px;cursor:pointer;font-weight:800}
.aem-hidden-control{display:none !important}

.aem-grid-wrap{min-height:200px}
.aem-grid{display:grid;gap:16px}
.aem-grid-small{grid-template-columns:repeat(5,minmax(0,1fr))}
.aem-grid-medium{grid-template-columns:repeat(5,minmax(0,1fr))}
.aem-grid-large{grid-template-columns:repeat(3,minmax(0,1fr))}
.aem-grid-table{display:block}
.aem-loading,.aem-empty{padding:36px 16px;text-align:center;color:#6e8099}

.aem-card{
  display:flex;flex-direction:column;min-height:100%;overflow:hidden;
  background:#fff;border:1px solid var(--line-2);border-radius:18px;
  box-shadow:0 14px 28px rgba(15,23,42,.10),0 3px 10px rgba(15,23,42,.05);
}
.aem-card:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(15,23,42,.14),0 6px 12px rgba(15,23,42,.08)}
.aem-card-media{position:relative;background:#eef4f8}
.aem-card-image{display:block;overflow:hidden}
.aem-card-small .aem-card-image{aspect-ratio:1 / .66}
.aem-card-medium .aem-card-image{aspect-ratio:1 / .86}
.aem-card-large .aem-card-image{aspect-ratio:16 / 9}
.aem-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.aem-card:hover .aem-card-image img{transform:scale(1.03)}
.aem-card-badge{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:4px;padding:8px 12px;border-radius:14px;position:absolute;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,#ff5a3a 0%,#ffb02e 50%,#ff6d2d 100%);background-size:200% 100%;color:#fff;font-size:14px;font-weight:900;box-shadow:0 10px 20px rgba(255,126,40,.28);animation:aem-discount-shimmer 2s ease-in-out infinite,aem-badge-pulse 2s ease-in-out infinite;transform-origin:center center;will-change:background-position,transform,box-shadow}
.aem-card-float{position:absolute;right:10px;top:10px;display:flex;gap:8px}
.aem-float-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;border:2px solid #69d6ff;background:rgba(10,22,38,.82);color:#fff;cursor:pointer;text-decoration:none;box-shadow:0 8px 16px rgba(15,23,42,.18)}
.aem-float-btn.is-active{border-color:#ff7ca7;background:#fff0f6;color:#ff5f90}
.aem-card-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1;color:var(--text)}
.aem-card-title{margin:0;font-weight:800;line-height:1.18}
.aem-card-title a{color:inherit;text-decoration:none}
.aem-card-small .aem-card-title{font-size:12px;min-height:2.2em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aem-card-medium .aem-card-title{font-size:15px;min-height:2.45em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aem-card-large .aem-card-title{font-size:18px;min-height:2.45em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aem-card-tags{display:flex;flex-wrap:wrap;gap:6px;min-height:0}
.aem-mini-pill{display:inline-flex;align-items:center;min-height:22px;padding:0 9px;border-radius:999px;border:1px solid var(--line);background:#f7fbff;color:#39506d;font-size:10px;font-weight:800}
.aem-card-vendor{font-size:12px;color:#617691}
.aem-card-desc{font-size:12px;line-height:1.45;color:#6c7e96;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.aem-price-stack{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:8px 0 4px}
.aem-price-main{font-size:18px;line-height:1.05;font-weight:900;color:var(--green)}
.aem-price-coins{font-size:12px;font-weight:800;color:#f39e15}
.aem-price-eco{font-size:12px;font-weight:800;color:#19b55d}
.aem-price-old{font-size:11px;color:#7e8fa7;text-decoration:line-through}
.aem-card-ring-wrap{display:flex;justify-content:center;padding:4px 0 6px}
.aem-price-ring{position:relative;width:102px;height:102px;border-radius:50%;border:3px solid rgba(197,138,20,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 35%,rgba(255,248,225,.8),rgba(255,255,255,.95) 70%);box-shadow:inset 0 0 0 5px rgba(197,138,20,.15),0 8px 18px rgba(197,138,20,.08)}
.aem-price-ring::after{content:'';position:absolute;inset:6px;border-radius:50%;border:1px solid rgba(197,138,20,.35)}
.aem-ring-main{font-size:18px;font-weight:900;color:var(--green);line-height:1.05}
.aem-ring-coins{font-size:11px;font-weight:800;color:#f39e15}
.aem-ring-eco{font-size:11px;font-weight:800;color:#19b55d}
.aem-ring-old{font-size:10px;color:#7e8fa7;text-decoration:line-through}

.aem-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #ebf1f5}
.aem-card-social{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.aem-card-social-icons{gap:10px}
.aem-social-link{display:inline-flex;align-items:center;gap:6px;border:none;background:none;color:#6f8198;font-size:12px;cursor:pointer;text-decoration:none;padding:0;white-space:nowrap}
.aem-social-link.is-active{color:#ff6d9a}
.aem-checkout{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:none;border-radius:12px;background:var(--blue);color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap;box-shadow:0 8px 16px rgba(40,189,244,.18)}
.aem-checkout:hover{background:#0fb0ec}
.aem-card-small .aem-checkout{min-height:34px;padding:0 12px;font-size:12px;margin-left:auto}
.aem-card-small .aem-card-bottom{padding-top:8px}
.aem-card-small .aem-card-tags,.aem-card-small .aem-card-vendor,.aem-card-small .aem-card-desc{display:none !important}
.aem-card-small .aem-card-body{min-height:132px;padding:10px 11px 9px}
.aem-card-small .aem-price-stack{gap:2px;padding:4px 0 2px}
.aem-card-small .aem-price-main{font-size:15px}
.aem-card-small .aem-price-coins,.aem-card-small .aem-price-eco{font-size:11px}
.aem-card-small .aem-price-old{font-size:10px}
.aem-card-small .aem-card-bottom{padding-top:6px}
.aem-card-small .aem-checkout{min-height:32px;padding:0 10px;font-size:11px;margin-left:auto}
.aem-card-small .aem-float-btn{width:34px;height:34px;border-radius:12px}
.aem-card-small .aem-card-badge{left:8px;bottom:8px;padding:7px 11px;font-size:13px}
.aem-card-medium .aem-card-body{min-height:296px}
.aem-card-large .aem-card-body{min-height:356px}

.aem-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 14px 28px rgba(15,23,42,.08)}
.aem-table{width:100%;border-collapse:collapse;min-width:980px}
.aem-table thead th{height:42px;padding:0 12px;background:#f3f7fb;color:#5c718a;font-size:12px;font-weight:800;text-align:left;border-bottom:1px solid var(--line)}
.aem-table tbody td{padding:12px;border-bottom:1px solid #edf2f6;font-size:12px;color:var(--text);vertical-align:middle}
.aem-table tbody tr:hover{background:#f8fbfd}
.aem-th-sort{border:none;background:none;padding:0;display:inline-flex;align-items:center;gap:6px;color:inherit;font:inherit;cursor:pointer}
.aem-col-image img{width:40px;height:40px;border-radius:10px;object-fit:cover;border:1px solid var(--line)}
.aem-t-title{font-weight:800;color:var(--text);text-decoration:none}
.aem-t-sku{margin-top:4px;color:#73859d;font-size:10px}
.aem-t-pill{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;border:1px solid var(--line);background:#f8fbff;color:#48607b;font-size:10px;font-weight:800;margin-right:4px}
.aem-t-sale{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,#ff5a3a 0%,#ffb02e 50%,#ff6d2d 100%);background-size:200% 100%;color:#fff;font-size:11px;font-weight:900;animation:aem-discount-shimmer 2s ease-in-out infinite,aem-badge-pulse 2s ease-in-out infinite;transform-origin:center center;will-change:background-position,transform,box-shadow}

.aem-card-badge::after,
.aem-t-sale::after{
  content:'';
  position:absolute;
  top:-35%;
  bottom:-35%;
  left:-45%;
  width:38%;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.16) 35%,rgba(255,255,255,.62) 50%,rgba(255,255,255,.16) 65%,rgba(255,255,255,0) 100%);
  transform:translateX(-150%) skewX(-22deg);
  animation:aem-badge-sheen 2s ease-in-out infinite;
  pointer-events:none;
  z-index:-1;
}

@media (prefers-reduced-motion: reduce){
  .aem-card-badge,
  .aem-t-sale{animation:none !important}
  .aem-card-badge::after,
  .aem-t-sale::after{animation:none !important}
}
.aem-t-stock{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 8px;border-radius:999px;background:#dbfff0;color:#0a8a4b;font-size:10px;font-weight:900}
.aem-t-stock.is-out{background:#ffe9ea;color:#d43d50}
.aem-table-check,.aem-row-open{width:28px;height:28px;border:none;border-radius:10px;background:#e9f8ff;color:#138fcb;font-weight:900;cursor:pointer}

.aem-footer-row{justify-content:space-between;padding-top:16px}
.aem-per-page-inline{display:flex;align-items:center;gap:8px;color:#5f7189;font-size:14px}
.aem-pagination{display:flex;align-items:center;gap:10px}
.aem-page-btn{width:30px;height:30px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#5f7189;cursor:pointer}
.aem-page-btn.is-disabled{opacity:.45;cursor:not-allowed}
.aem-page-info{font-size:13px;color:#607189}

.aem-modal{position:fixed;inset:0;z-index:9999}
.aem-modal-backdrop{position:absolute;inset:0;background:rgba(7,17,28,.52)}
.aem-modal-dialog{position:relative;max-width:980px;margin:5vh auto;background:#fff;border-radius:18px;overflow:auto;max-height:90vh;box-shadow:0 24px 48px rgba(15,23,42,.22)}
.aem-modal-content{padding:20px;color:var(--text)}

@media (max-width:1440px){
  .aem-grid-small{grid-template-columns:repeat(6,minmax(168px,1fr))}
  .aem-grid-medium{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:1280px){
  .aem-grid-small{grid-template-columns:repeat(5,minmax(168px,1fr))}
  .aem-grid-medium{grid-template-columns:repeat(3,minmax(0,1fr))}
  .aem-grid-large{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aem-filter-grid,.aem-range-grid{grid-template-columns:1fr 1fr}
  .aem-field-span-2{grid-column:1 / -1}
}
@media (max-width:980px){
  .aem-tabs{grid-template-columns:1fr}
  .aem-toolbar-row,.aem-view-row,.aem-footer-row,.aem-filter-bottom-row{flex-direction:column;align-items:stretch}
  .aem-toolbar-actions,.aem-view-meta{margin-left:0}
  .aem-grid-small,.aem-grid-medium,.aem-grid-large{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aem-filter-grid,.aem-range-grid{grid-template-columns:1fr}
  .aem-range-boxes{grid-template-columns:56px 1fr 56px}
}
@media (max-width:640px){
  .aem-shell{margin:12px auto 20px}
  .aem-chipbar{gap:6px}
  .aem-chip,.aem-more-toggle{min-height:32px;padding:0 10px;font-size:11px}
  .aem-grid-small,.aem-grid-medium,.aem-grid-large{grid-template-columns:1fr}
  .aem-card-medium .aem-card-body,.aem-card-large .aem-card-body{min-height:0}
  .aem-checkout{width:auto}
}


/* 1.4.2 small-grid safeguards */
.aem-grid-wrap{overflow:hidden}
.aem-grid-small .aem-card{min-width:0}
@media (max-width: 1280px){.aem-grid-small{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width: 980px){.aem-grid-small{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 760px){.aem-grid-small{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* 1.4.5 lovable filter panel pass */
.aem-toolbar-row{align-items:center}
.aem-search{height:48px;border-radius:14px;border:1px solid #bfd1df;background:#fff;color:#2b3d52;box-shadow:none}
.aem-filter-toggle{height:48px;padding:0 18px;border-radius:14px;border:1px solid #bfd1df;background:#fff;color:#12253b;box-shadow:none}
.aem-filter-toggle:hover{background:#f7fafc}
.aem-count{height:40px}
.aem-range-stack{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:14px}
.aem-range-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.aem-range-boxes-price{grid-template-columns:64px 1fr 84px}
@media (max-width:1280px){
  .aem-filter-grid{grid-template-columns:1fr 1fr}
  .aem-field-span-2{grid-column:1 / -1}
}
@media (max-width:980px){
  .aem-filter-grid,.aem-range-split{grid-template-columns:1fr}
  .aem-range-boxes-price,.aem-range-boxes{grid-template-columns:56px 1fr 72px}
  .aem-field-stock{max-width:none}
}


/* 1.5.0 Buy a Chest page */
body.axel-market-chests-ready .woocommerce-products-header,
body.axel-market-chests-ready .woocommerce-result-count,
body.axel-market-chests-ready .woocommerce-ordering,
body.axel-market-chests-ready ul.products,
body.axel-market-chests-ready nav.woocommerce-pagination,
body.axel-market-chests-ready .uicore-sidebar,
body.axel-market-chests-ready .wcfmmp_sold_by_container,
body.axel-market-chests-ready .wcfm_buttons_wrapper,
body.axel-market-chests-ready .ae-market-shell,
body.axel-market-chests-ready .ae2-market,
body.axel-market-chests-ready #ae-market-root,
body.axel-market-chests-ready [class*="ae-market-shell"],
body.axel-market-chests-ready [class*="ae2-market"],
body.axel-market-chests-ready .ae-market-topbar,
body.axel-market-chests-ready .ae-market-filters,
body.axel-market-chests-ready .ae-market-views{display:none !important;}
body.axel-market-chests-ready .uicore-content-wrapper.uicore-woo{display:block !important;}
body.axel-market-chests-ready .uicore-post-content.uicore-archive,
body.axel-market-chests-ready .uicore-post-content,
body.axel-market-chests-ready .elementor-widget-container{width:100% !important;}
body.axel-market-chests-ready .uicore-post-content.uicore-archive{max-width:1280px !important;margin:0 auto !important;}
body.axel-market-chests-ready #axel-echo-market-root,
body.axel-market-chests-ready #axel-echo-market-root *{box-sizing:border-box}

.aem-shell--chests{
  display:grid;
  gap:16px;
}
.aem-tabs--chests{
  grid-template-columns:repeat(2, minmax(0,1fr));
}
.aem-shell--chests .aem-tab{
  min-height:40px;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  color:#4b5d74;
  background:#f3f4f6;
  border:1px solid #d9dde3;
}
.aem-shell--chests .aem-tab.is-active{
  background:#ffffff;
  color:#111827;
  box-shadow:0 1px 0 rgba(15,23,42,.03), 0 10px 22px rgba(15,23,42,.04);
}
.aem-chests-hint{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 18px;
  border:1px solid #b8e6f3;
  border-radius:14px;
  background:#edf9fe;
  color:#0f172a;
  text-align:center;
  font-size:14px;
  line-height:1.45;
}
.aem-chests-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.aem-chests-sort-wrap{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.aem-chests-sort-icon{
  color:#516274;
  font-size:18px;
}
.aem-chests-sort{
  min-width:190px;
  height:40px;
  padding:0 38px 0 16px;
  border:1px solid #c8d7df;
  border-radius:12px;
  background:#fff;
  color:#111827;
  font-size:15px;
}
.aem-chests-list{
  display:grid;
  gap:14px;
}
.aem-chests-loading,
.aem-chests-empty{
  padding:28px 18px;
  text-align:center;
  color:#61738a;
  border:1px dashed #d5dde7;
  border-radius:18px;
  background:#fff;
}
.aem-chest-card{
  --aem-chest-accent:#9055ec;
  --aem-chest-pill-bg:rgba(146,78,255,.1);
  --aem-chest-pill-border:#b26dff;
  --aem-chest-pill-text:#9454ef;
  overflow:hidden;
  border:1px solid #c9d7e0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.aem-chest-card__header{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  align-items:stretch;
  min-height:102px;
}
.aem-chest-card__price{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:18px 16px;
}
.aem-chest-card__price-main{
  color:#16a34a;
  font-size:40px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.03em;
}
.aem-chest-card__currency{
  color:#4b5563;
  font-size:14px;
  line-height:1.2;
}
.aem-chest-card__price-old{
  color:#9aa8b7;
  font-size:14px;
  text-decoration:line-through;
}
.aem-chest-card__summary{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px 12px;
}
.aem-chest-card__title-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  flex:1 1 auto;
  min-width:0;
  text-align:right;
}
.aem-chest-card__title{
  color:#111827;
  font-size:17px;
  line-height:1.2;
  font-weight:800;
}
.aem-chest-card__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--aem-chest-pill-border);
  background:var(--aem-chest-pill-bg);
  color:var(--aem-chest-pill-text);
  font-size:13px;
  font-weight:700;
}
.aem-chest-card__thumb{
  width:76px;
  height:76px;
  border:0;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  box-shadow:0 8px 24px rgba(56,189,248,.18);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 76px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.aem-chest-card__thumb:hover{
  transform:translateY(-1px) scale(1.02);
  box-shadow:0 12px 28px rgba(56,189,248,.22);
}
.aem-chest-card__thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.aem-chest-card__desc{
  padding:0 16px 10px;
  text-align:right;
  color:#55657b;
  font-size:13px;
  line-height:1.5;
}
.aem-chest-card__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #e8eef4;
}
.aem-chest-card__specs,
.aem-chest-card__marketing{
  padding:16px 18px;
}
.aem-chest-card__marketing{
  border-left:1px solid #e8eef4;
}
.aem-chest-card__specs ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
}
.aem-chest-card__specs li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#12253b;
  font-size:15px;
  line-height:1.42;
}
.aem-chest-bullet{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:16px;
}
.aem-chest-bullet--green{color:#16a34a}
.aem-chest-bullet--blue{color:#2563eb}
.aem-chest-bullet--money{color:#10b981}
.aem-chest-bullet--violet{color:#8b5cf6}
.aem-chest-bullet--indigo{color:#4f46e5}
.aem-chest-bullet--pink{color:#ec4899}
.aem-chest-bullet--amber{color:#f59e0b}
.aem-chest-card__specs .is-amber{color:#f59e0b;font-weight:700}
.aem-chest-payments{
  margin-top:14px;
}
.aem-chest-payments__label{
  margin-bottom:8px;
  color:#607189;
  font-size:14px;
}
.aem-chest-payments__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.aem-chest-payment-pill{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 12px;
  border-radius:999px;
  background:#16e08f;
  color:#042f22;
  font-size:13px;
  font-weight:700;
}
.aem-chest-card__marketing h4{
  margin:0 0 12px;
  color:#0b1b31;
  font-size:18px;
  line-height:1.3;
  font-weight:800;
}
.aem-chest-card__marketing p{
  margin:0 0 10px;
  color:#4d5f75;
  font-size:15px;
  line-height:1.5;
}
.aem-chest-card__powered{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #e8eef4;
  color:#6b7b90;
  font-size:13px;
  font-style:italic;
}
.aem-chest-card__seller{
  margin:0 16px;
  padding:10px 12px;
  border-top:1px solid #edf2f7;
  background:#f8fafc;
  color:#5f7189;
  font-size:14px;
}
.aem-chest-card__seller strong{
  color:#17304a;
}
.aem-chest-card__actions{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px 16px;
}
.aem-chest-buy{
  flex:1 1 auto;
  min-height:42px;
  border:none;
  border-radius:12px;
  background:#1db9e3;
  color:#06263b;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(29,185,227,.22);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.aem-chest-buy:hover{
  background:#11b4ee;
  transform:translateY(-1px);
}
.aem-chest-buy:disabled{
  cursor:not-allowed;
  opacity:.65;
}
.aem-chest-icon{
  width:40px;
  height:40px;
  border:1px solid #d2dbe5;
  border-radius:12px;
  background:#fff;
  color:#20354f;
  font-size:18px;
  cursor:pointer;
}
.aem-chest-like.is-active{
  color:#ff5b8a;
  border-color:#ffc3d4;
  background:#fff2f7;
}
.aem-modal-open{
  overflow:hidden;
}
.aem-modal--chest .aem-modal-dialog{
  width:min(1120px, calc(100vw - 32px));
}
.aem-chest-modal{
  position:relative;
  border-radius:24px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 24px 80px rgba(2, 12, 27, .24);
}
.aem-chest-modal__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(340px, .9fr);
}
.aem-modal-close.aem-chest-modal-close{
  position:absolute;
  top:16px;
  right:16px;
  z-index:4;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.4);
  background:rgba(255,255,255,.86);
  color:#0f172a;
  font-size:24px;
  line-height:1;
}
.aem-chest-modal__stage{
  position:relative;
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.aem-chest-modal__badge{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  display:inline-flex;
  min-height:28px;
  padding:0 14px;
  align-items:center;
  border-radius:999px;
  border:1px solid var(--aem-chest-pill-border);
  background:var(--aem-chest-pill-bg);
  color:var(--aem-chest-pill-text);
  font-size:13px;
  font-weight:700;
}
.aem-model-viewer,
.aem-chest-modal__image,
.aem-chest-modal__placeholder{
  width:100%;
  height:100%;
  min-height:480px;
  object-fit:contain;
  transition:transform .18s ease;
}
.aem-chest-modal__image.is-rotating{
  animation:aemChestSpin 7s linear infinite;
}
@keyframes aemChestSpin{
  from{transform:scale(var(--aem-preview-zoom,1)) rotateY(0deg)}
  to{transform:scale(var(--aem-preview-zoom,1)) rotateY(360deg)}
}
.aem-chest-modal__placeholder{
  display:grid;
  place-items:center;
  font-size:120px;
}
.aem-chest-modal__controls{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.aem-chest-modal__controls button{
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background:rgba(255,255,255,.88);
  color:#0f172a;
  font-size:14px;
  font-weight:700;
}
.aem-chest-modal__controls button.is-active{
  background:#0f172a;
  color:#fff;
}
.aem-chest-modal__panel{
  padding:32px 28px 28px;
  background:#fff;
  display:grid;
  align-content:start;
  gap:14px;
}
.aem-chest-modal__eyebrow{
  color:var(--aem-chest-accent);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
}
.aem-chest-modal__title{
  margin:0;
  color:#0f172a;
  font-size:30px;
  line-height:1.08;
  font-weight:800;
}
.aem-chest-modal__price-row{
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.aem-chest-modal__price{
  color:#16a34a;
  font-size:34px;
  line-height:1;
  font-weight:800;
}
.aem-chest-modal__old-price{
  color:#94a3b8;
  font-size:15px;
  text-decoration:line-through;
}
.aem-chest-modal__desc{
  margin:0;
  color:#56667d;
  font-size:15px;
  line-height:1.55;
}
.aem-chest-modal__meta{
  display:grid;
  gap:10px;
  padding:14px 16px;
  border:1px solid #e8eef4;
  border-radius:18px;
  background:#f8fbfd;
}
.aem-chest-modal__meta-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#56667d;
  font-size:14px;
}
.aem-chest-modal__meta-row strong{
  color:#0f172a;
}
.aem-chest-modal__story h4{
  margin:0 0 10px;
  color:#0f172a;
  font-size:18px;
  font-weight:800;
}
.aem-chest-modal__story p{
  margin:0 0 10px;
  color:#56667d;
  font-size:15px;
  line-height:1.5;
}
.aem-chest-modal__actions{
  display:flex;
  gap:10px;
  align-items:center;
}
@media (max-width: 980px){
  .aem-tabs--chests{
    grid-template-columns:1fr;
  }
  .aem-chest-card__header{
    grid-template-columns:1fr;
  }
  .aem-chest-card__summary{
    align-items:flex-start;
  }
  .aem-chest-card__title-wrap{
    align-items:flex-start;
    text-align:left;
  }
  .aem-chest-card__desc{
    text-align:left;
  }
  .aem-chest-card__grid,
  .aem-chest-modal__grid{
    grid-template-columns:1fr;
  }
  .aem-chest-card__marketing{
    border-left:none;
    border-top:1px solid #e8eef4;
  }
  .aem-chest-modal__panel{
    padding:24px 20px 20px;
  }
}
@media (max-width: 640px){
  .aem-chests-hint{
    font-size:14px;
    padding:10px 12px;
  }
  .aem-chests-toolbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .aem-chests-sort{
    width:100%;
  }
  .aem-chest-card__price-main,
  .aem-chest-modal__price{
    font-size:30px;
  }
  .aem-chest-card__actions,
  .aem-chest-modal__actions,
  .aem-chest-modal__controls{
    flex-wrap:wrap;
  }
  .aem-chest-modal__stage,
  .aem-model-viewer,
  .aem-chest-modal__image,
  .aem-chest-modal__placeholder{
    min-height:320px;
  }
}
