
.atl-store{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#10233e}
.atl-store-hero{padding:70px 5%;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;background:linear-gradient(135deg,#eef8ff,#fff);border-radius:24px;margin:28px auto;max-width:1420px}
.atl-store-kicker{font-size:12px;font-weight:900;color:#0879ef;letter-spacing:.8px}
.atl-store-hero h1{font-size:clamp(42px,5vw,68px);line-height:1;letter-spacing:-2.5px;margin:14px 0 18px}
.atl-store-hero p{font-size:18px;color:#64758c;max-width:720px}
.atl-store-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.atl-store-btn,.atl-theme-buy{display:inline-flex;min-height:48px;padding:0 22px;border-radius:10px;align-items:center;justify-content:center;background:#0879ef;color:#fff!important;font-weight:850;text-decoration:none!important}
.atl-store-btn--ghost{background:#fff;color:#0879ef!important;border:1px solid #9acdf9}
.atl-store-visual{min-height:350px;border-radius:22px;background:linear-gradient(145deg,#061a32,#0a64c8 58%,#14b8ff);display:flex;flex-direction:column;justify-content:flex-end;padding:28px;color:#fff;box-shadow:0 24px 50px rgba(7,74,145,.22)}
.atl-store-visual span{font-size:14px;opacity:.8}.atl-store-visual b{font-size:34px}
.atl-store-trust{max-width:1420px;margin:0 auto;padding:18px 24px;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;border:1px solid #dce8f3;border-radius:14px;background:#fff;text-align:center;font-weight:800;font-size:13px}
.atl-store-section{max-width:1420px;margin:0 auto;padding:54px 0}
.atl-store-head h2,.atl-store-section>h2{font-size:36px;letter-spacing:-1px;margin:0 0 8px}.atl-store-head p{margin:0;color:#6c7f94}
.atl-store-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:26px}
.atl-theme-card{border:1px solid #d9e5f0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(15,55,96,.07)}
.atl-theme-preview{aspect-ratio:16/9;background:linear-gradient(135deg,color-mix(in srgb,var(--atl-accent) 85%,#061a32),#eef8ff);display:grid;place-items:center;color:#fff;font-size:28px;font-weight:900}
.atl-theme-card-body{padding:22px}.atl-theme-top{display:flex;justify-content:space-between;align-items:center}.atl-theme-badge{font-size:10px;font-weight:900;color:#fff;background:var(--atl-accent);padding:6px 10px;border-radius:999px}.atl-theme-price{font-size:21px;font-weight:900}.atl-theme-card h3{font-size:25px;margin:14px 0 8px}.atl-theme-card p{color:#64758c}.atl-theme-card ul{padding:0;list-style:none;display:grid;gap:7px;font-size:13px}.atl-theme-buy{width:100%;margin-top:12px;background:var(--atl-accent)}
.atl-store-license-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.atl-store-license-grid>div{border:1px solid #dbe6f0;border-radius:14px;padding:20px}.atl-store-license-grid b{font-size:18px}.atl-store-license-grid p{color:#64758c}
.atl-store-faq details{border-top:1px solid #dbe6f0;padding:18px 4px}.atl-store-faq summary{font-weight:850;cursor:pointer}.atl-store-faq p{color:#64758c}
@media(max-width:900px){.atl-store-hero{grid-template-columns:1fr}.atl-store-grid{grid-template-columns:1fr 1fr}.atl-store-trust{grid-template-columns:1fr 1fr}.atl-store-license-grid{grid-template-columns:1fr}}
@media(max-width:620px){.atl-store-grid{grid-template-columns:1fr}.atl-store-trust{grid-template-columns:1fr}.atl-store-hero{padding:42px 24px}.atl-store-section{padding-left:18px;padding-right:18px}}


/* =========================================================
   ATL THEME STORE v1.1 — ENVATO-STYLE PRODUCT PREVIEWS
   Original AutomationToolLab implementation.
   ========================================================= */

.atl-theme-card{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.atl-theme-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 46px rgba(15,55,96,.13);
  border-color:#bfd7ea;
}

.atl-theme-preview{
  position:relative;
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eef6fd;
  border-bottom:1px solid #d9e5f0;
}
.atl-theme-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  transition:transform .34s ease,filter .34s ease;
}
.atl-theme-preview:hover img{
  transform:scale(1.018);
  filter:brightness(.72);
}
.atl-theme-preview__veil{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  background:linear-gradient(180deg,rgba(4,24,48,.05),rgba(4,24,48,.72));
  color:#fff;
  opacity:0;
  transition:opacity .22s ease;
}
.atl-theme-preview:hover .atl-theme-preview__veil{
  opacity:1;
}
.atl-theme-preview__veil b{
  font-size:17px;
  font-weight:900;
}
.atl-theme-preview__veil small{
  font-size:11px;
  opacity:.86;
}
.atl-theme-preview__fallback{
  height:100%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,color-mix(in srgb,var(--atl-accent) 85%,#061a32),#eef8ff);
  color:#fff;
  font-size:28px;
  font-weight:900;
}

.atl-theme-actions{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:10px;
  margin-top:16px;
}
.atl-theme-actions .atl-theme-buy{
  margin-top:0;
}
.atl-theme-preview-btn{
  display:inline-flex;
  min-height:48px;
  padding:0 14px;
  border-radius:10px;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#10233e!important;
  border:1px solid #c9dae9;
  font-weight:850;
  text-decoration:none!important;
  white-space:nowrap;
}
.atl-theme-preview-btn:hover{
  border-color:var(--atl-accent);
  color:var(--atl-accent)!important;
  background:#f7fbff;
}

.atl-store-preview-note{
  max-width:1420px;
  margin:10px auto 0;
  padding:16px 18px;
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid #cfe0ef;
  background:#f6fbff;
  border-radius:12px;
  color:#546b82;
  font-size:13px;
}
.atl-store-preview-note strong{
  flex:0 0 auto;
  color:#10233e;
}

.atl-preview-modal[hidden]{display:none!important}
.atl-preview-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(2,13,29,.88);
  backdrop-filter:blur(8px);
  padding:28px;
  overflow:auto;
}
.atl-preview-modal__dialog{
  width:min(1180px,96vw);
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.4);
}
.atl-preview-modal__bar{
  min-height:58px;
  padding:12px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  border-bottom:1px solid #dbe6f0;
  background:#fff;
  color:#10233e;
}
.atl-preview-modal__bar strong{
  font-size:16px;
}
.atl-preview-modal__bar span{
  color:#6c7f94;
  font-size:12px;
}
.atl-preview-modal__image{
  display:block;
  width:100%;
  height:auto;
  background:#eef4f9;
}
.atl-preview-modal__close{
  position:fixed;
  top:18px;
  right:18px;
  z-index:1000000;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:#10233e;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.24);
}

@media(max-width:720px){
  .atl-theme-actions{
    grid-template-columns:1fr;
  }
  .atl-store-preview-note{
    margin-left:18px;
    margin-right:18px;
    align-items:flex-start;
    flex-direction:column;
  }
  .atl-preview-modal{
    padding:12px;
  }
  .atl-preview-modal__bar{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* =========================================================
   ATL THEME STORE v1.2 — MOBILE COMMERCIAL POLISH
   Tightens the hero, trust bar and product cards on phones.
   ========================================================= */

/* Remove excessive native page-title whitespace where the host theme outputs
   a page H1 above the shortcode storefront. */
body.page-slug-wordpress-themes .entry-header,
body.page-slug-wordpress-themes .page-header,
body.page-slug-wordpress-themes h1.entry-title{
  display:none!important;
}

/* Store hero refinement */
.atl-store-hero{
  overflow:hidden;
}
.atl-store-visual{
  position:relative;
  isolation:isolate;
}
.atl-store-visual:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 18%,rgba(255,255,255,.18),transparent 23%),
    radial-gradient(circle at 22% 75%,rgba(0,190,255,.22),transparent 28%);
  z-index:-1;
}

/* Desktop product cards should read like products, not long articles. */
.atl-theme-preview{
  aspect-ratio:16/10;
}
.atl-theme-card-body{
  display:flex;
  flex-direction:column;
}
.atl-theme-card ul{
  margin-bottom:0;
}
.atl-theme-actions{
  margin-top:auto;
  padding-top:16px;
}

/* Better store rhythm */
.atl-store-section{
  padding-top:46px;
  padding-bottom:46px;
}
.atl-store-license{
  padding-top:34px;
}
.atl-store-faq{
  padding-top:34px;
}

/* Tablet */
@media(max-width:900px){
  .atl-store-hero{
    margin:18px;
    padding:42px 28px;
    gap:26px;
  }
  .atl-store-visual{
    min-height:260px;
  }
  .atl-store-trust{
    margin-left:18px;
    margin-right:18px;
  }
}

/* Mobile */
@media(max-width:620px){
  .atl-store{
    overflow-x:hidden;
  }

  .atl-store-hero{
    margin:12px;
    padding:30px 18px 24px;
    border-radius:18px;
    gap:22px;
  }

  .atl-store-kicker{
    font-size:10px;
    letter-spacing:.55px;
  }

  .atl-store-hero h1{
    font-size:34px;
    line-height:1.02;
    letter-spacing:-1.5px;
    margin:10px 0 14px;
  }

  .atl-store-hero p{
    font-size:15px;
    line-height:1.55;
  }

  .atl-store-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:18px;
  }

  .atl-store-btn{
    width:100%;
    min-height:48px;
    font-size:14px;
  }

  /* Biggest issue visible in the screenshot: hero artwork was too tall on phone. */
  .atl-store-visual{
    min-height:220px;
    border-radius:18px;
    padding:22px;
    justify-content:flex-end;
  }

  .atl-store-visual span{
    font-size:12px;
  }

  .atl-store-visual b{
    font-size:28px;
    line-height:1.04;
  }

  /* Compact the trust benefits into tidy rows. */
  .atl-store-trust{
    margin:14px 18px 0;
    padding:14px 16px;
    grid-template-columns:1fr;
    gap:8px;
    text-align:left;
    font-size:12.5px;
  }

  .atl-store-section{
    padding:34px 14px;
  }

  .atl-store-head h2,
  .atl-store-section>h2{
    font-size:31px;
    line-height:1.05;
    letter-spacing:-1px;
  }

  .atl-store-head p{
    font-size:15px;
    line-height:1.5;
  }

  .atl-store-grid{
    gap:18px;
    margin-top:20px;
  }

  .atl-theme-card{
    border-radius:16px;
  }

  /* Shorter professional cover image on mobile. */
  .atl-theme-preview{
    aspect-ratio:16/9;
  }

  .atl-theme-card-body{
    padding:18px 16px 16px;
  }

  .atl-theme-badge{
    font-size:9px;
    padding:5px 9px;
  }

  .atl-theme-price{
    font-size:23px;
  }

  .atl-theme-card h3{
    font-size:24px;
    line-height:1.12;
    margin:12px 0 8px;
  }

  .atl-theme-card p{
    font-size:14px;
    line-height:1.5;
    margin:0 0 12px;
  }

  .atl-theme-card ul{
    font-size:13px;
    line-height:1.45;
    gap:5px;
    margin:0;
  }

  .atl-theme-actions{
    padding-top:14px;
    gap:9px;
  }

  .atl-theme-preview-btn,
  .atl-theme-buy{
    min-height:46px;
    font-size:13px;
  }

  .atl-store-preview-note{
    margin:6px 14px 0;
    padding:14px;
    font-size:12px;
    line-height:1.45;
  }

  .atl-store-license-grid{
    gap:12px;
  }

  .atl-store-license-grid>div{
    padding:16px;
  }

  .atl-store-faq details{
    padding:16px 2px;
  }
}

/* Very narrow phones */
@media(max-width:390px){
  .atl-store-hero h1{
    font-size:30px;
  }
  .atl-store-visual{
    min-height:200px;
  }
  .atl-store-visual b{
    font-size:25px;
  }
  .atl-store-head h2,
  .atl-store-section>h2{
    font-size:28px;
  }
}
