/* BlueStone homepage structure, Aussify Life charcoal / copper / cream. */

body.sscomic-home.al-introing {
  overflow: hidden;
}

body.al-introing #wpadminbar {
  visibility: hidden;
}

#al-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0f2744;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.intro-icon {
  opacity: 0;
  transform: scale(0.65);
  animation: alIntroIn 0.65s cubic-bezier(0.2, 0.75, 0.2, 1) 0.15s forwards;
}

.intro-mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: #1e6fff;
  color: #eef3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, Inter, sans-serif;
  font-size: 42px;
  font-weight: 800;
}

.intro-wm {
  margin-top: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: alIntroUp 0.5s ease 0.72s forwards;
}

.intro-wm b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #eef3fa;
  line-height: 1;
}

.intro-wm small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9db4d0;
  margin-top: 5px;
}

.intro-bar-wrap {
  margin-top: 36px;
  width: 160px;
  height: 2px;
  background: rgba(245, 241, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
  opacity: 0;
  animation: alIntroFade 0.3s ease 1s forwards;
}

.intro-bar {
  height: 100%;
  width: 0;
  background: #1e6fff;
  border-radius: 99px;
  animation: alIntroBar 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.05s forwards;
}

.intro-tag {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(245, 241, 235, 0.3);
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: alIntroFade 0.4s ease 1.22s forwards;
}

#al-intro.exit {
  animation: alIntroExit 0.65s cubic-bezier(0.4, 0, 1, 1) forwards;
}

body.al-introing .ss-announce,
body.al-introing .ss-header,
body.al-introing #sscomic-main,
body.al-introing .ss-footer,
body.al-introing .ss-cart-drawer,
body.al-introing .ss-wish-drawer {
  opacity: 0;
}

@keyframes alIntroIn { to { opacity: 1; transform: scale(1); } }
@keyframes alIntroUp { to { opacity: 1; transform: translateY(0); } }
@keyframes alIntroFade { to { opacity: 1; } }
@keyframes alIntroBar { to { width: 100%; } }
@keyframes alIntroExit { to { opacity: 0; transform: scale(1.04); } }

.ss-logo.brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  max-width: none !important;
  line-height: 1.15 !important;
}

button.ss-action {
  color: #fff;
}

.ss-mainbar .ss-logo-img {
  height: 46px;
  width: auto;
  max-width: min(320px, 100%);
  object-fit: contain;
  object-position: left center;
}

.ss-footer-brand .ss-logo-img {
  height: 50px;
  max-width: 340px;
}

.al-hero {
  position: relative;
  min-height: 560px;
  height: clamp(520px, 62vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f2744;
}

.al-hero-slides {
  position: absolute;
  inset: 0;
}

.al-hero .ss-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background: #0f2744;
}

.al-hero .ss-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.al-hero .ss-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.al-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 33, 28, 0.88) 0%, rgba(42, 33, 28, 0.55) 42%, rgba(42, 33, 28, 0.08) 78%, rgba(42, 33, 28, 0) 100%);
  z-index: 2;
}

.al-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding: 48px 40px 64px 48px;
  transition: opacity 0.22s ease;
}

.al-hero-copy.is-leaving {
  opacity: 0;
}

.hc-eyebrow {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(176, 106, 52, 0.5);
  background: rgba(176, 106, 52, 0.16);
  color: #9db4d0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hc-h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #eef3fa;
  margin: 14px 0 12px;
  max-width: 14ch;
}

.hc-p {
  font-size: 15px;
  color: rgba(245, 241, 235, 0.82);
  line-height: 1.5;
  max-width: 44ch;
  margin-bottom: 18px;
}

.hc-ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.al-hero .al-hero-alt {
  border-color: rgba(245, 241, 235, 0.35);
  color: #eef3fa;
  background: transparent;
}

.al-hero .al-hero-alt:hover {
  background: rgba(245, 241, 235, 0.08);
  color: #eef3fa;
}

.hc-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hc-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(245, 241, 235, 0.55);
}

.al-hero-controls {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.al-hero-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 235, 0.35);
  background: rgba(42, 33, 28, 0.45);
  color: #eef3fa;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.al-hero-nav:hover {
  background: rgba(42, 33, 28, 0.75);
}

.al-hero-dots {
  display: flex;
  gap: 6px;
}

.al-hero .ss-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(245, 241, 235, 0.35);
  cursor: pointer;
}

.al-hero .ss-hero-dot.is-active {
  width: 22px;
  background: #9db4d0;
}

.al-ticker {
  overflow: hidden;
  padding: 8px 0;
  background: #0f2744;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(245, 241, 235, 0.45);
  border-bottom: 1px solid rgba(245, 241, 235, 0.05);
}

.al-ticker-track {
  display: inline-flex;
  min-width: max-content;
  animation: alTick 32s linear infinite;
}

.al-ticker-track span { padding-right: 64px; }
.al-ticker strong { color: #9db4d0; }

@keyframes alTick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.al-bento-wrap {
  background: #fff;
  border-bottom: 1px solid var(--ss-border);
}

.al-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 0;
}

.al-bento a {
  background: #fff;
  border: 1px solid var(--ss-border);
  border-radius: 10px;
  padding: 14px;
  display: block;
}

.al-bento a:hover { border-color: var(--ss-brand); }

.al-bento strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ss-header);
  margin-bottom: 4px;
}

.al-bento span {
  color: var(--ss-muted);
  font-size: 12px;
}

.al-banners-wrap { background: #fff; }

.al-home-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 0 28px;
}

.al-home-banner {
  position: relative;
  min-height: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px 24px;
}

.al-home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.al-home-banner:hover img { transform: scale(1.04); }

.al-home-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.12) 0%, rgba(10, 28, 51, 0.88) 100%);
}

.al-home-banner-body { position: relative; z-index: 1; }

.hb-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9db4d0;
  margin-bottom: 7px;
}

.hb-title {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #eef3fa;
  margin-bottom: 5px;
}

.hb-sub {
  font-size: 13px;
  color: rgba(245, 241, 235, 0.7);
}

.al-section {
  padding: 40px 0;
  background: #fff;
}

.al-section-tight { padding-top: 0; }

.al-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.al-sec-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.al-sec-head p {
  color: var(--ss-muted);
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.al-text-link {
  font-weight: 700;
  color: var(--ss-brand);
  font-size: 13px;
  white-space: nowrap;
}

.al-text-link:hover { text-decoration: underline; }

.al-cats-circles {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}

.al-cat-circle {
  flex: 1 1 0;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--ss-header);
}

.al-cat-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(42, 33, 28, 0.12);
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease;
}

.al-cat-circle:hover .al-cat-img { transform: translateY(-4px); }

.al-cat-circle strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

body.sscomic-home .ss-store-main {
  background: #EEF3FA;
  padding-bottom: 0;
}

body.sscomic-home .al-products-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
}

.al-cat-row {
  margin-bottom: 36px;
}

.al-cat-row:last-child {
  margin-bottom: 0;
}

.al-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.al-story-art {
  min-height: 0;
  height: 320px;
  max-height: 320px;
  align-self: start;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #0f2744;
}

.al-story-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.al-story-copy h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.al-story-copy > div > p {
  color: var(--ss-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 14px;
}

.al-trust3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.al-trust3 article {
  border: 1px solid var(--ss-border);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.al-trust3 h3 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
}

.al-trust3 p {
  color: var(--ss-muted);
  font-size: 12px;
  line-height: 1.55;
}

.al-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.al-quote {
  border: 1px solid var(--ss-border);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
}

.al-quote-stars {
  color: #1e6fff;
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.al-quote p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ss-header);
}

.al-quote b {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
}

.al-quote span {
  color: var(--ss-muted);
  font-size: 12px;
}

.al-about {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  background: var(--ss-cream);
  border: 1px solid var(--ss-border);
  border-radius: 14px;
  padding: 36px;
}

.al-about h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.al-about p {
  color: var(--ss-muted);
  font-size: 14px;
  line-height: 1.7;
}

.al-about a { color: var(--ss-brand); font-weight: 700; }

.al-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.al-checks span {
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--ss-border);
  border-radius: 99px;
  padding: 5px 12px;
  color: var(--ss-header);
}

.al-about-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.al-about-cta .ss-btn {
  width: fit-content;
}

.al-trust-wrap.wrap,
.al-trust-wrap {
  width: min(var(--ss-container-max, 1660px), calc(100% - 48px));
  max-width: var(--ss-container-max, 1660px);
  margin: 0.35rem auto 0.85rem;
  padding: 0;
  box-sizing: border-box;
}

body.sscomic-home .al-trust-wrap.wrap,
body.sscomic-home .al-trust-wrap,
.ss-about-panel .al-trust-wrap.wrap,
.ss-about-panel .al-trust-wrap {
  width: min(var(--ss-container-max, 1660px), calc(100% - var(--ss-container-gutter, 32px)));
}

body.single-product .al-trust-wrap.wrap,
body.single-product .al-trust-wrap {
  width: min(1200px, calc(100% - 48px));
}

.al-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ss-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 0;
}

.al-trust-item {
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 0;
  border-right: 1px solid var(--ss-border);
  text-decoration: none;
  color: inherit;
}

.al-trust-item:last-child { border-right: none; }
.al-trust-item:hover {
  background: #f7fafd;
}
.al-trust-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0;
}
.al-trust-icon svg,
.al-trust-icon .ss-al-ico {
  width: 28px;
  height: 28px;
  display: block;
}
.al-trust-item strong { display: block; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--ss-header, #0F2744); }
.al-trust-item span span { font-size: 11px; color: var(--ss-muted); line-height: 1.3; }

.ss-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--ss-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.ss-card-badges .ss-badge-new {
  background: #0f2744 !important;
  color: #eef3fa !important;
}

/* Home cards: circular Stripe-like add-to-cart on the right */
.ss-home .ss-card-foot,
body.sscomic-home .ss-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ss-home .ss-card a.ss-card-add,
.ss-home a.ss-card-add,
body.sscomic-home .ss-card a.ss-card-add,
body.sscomic-home a.ss-card-add {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  border-radius: 50%;
}

.ss-cart-drawer .widget_shopping_cart_content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.ss-cart-drawer .woocommerce-mini-cart__buttons,
.ss-cart-drawer p.woocommerce-mini-cart__buttons,
.ss-cart-drawer .woocommerce-mini-cart__buttons .button {
  display: none !important;
}

.ss-cart-drawer-empty-hint {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--ss-muted, #5b6b82) !important;
}

.ss-cart-drawer ul.cart_list li a.remove,
.ss-cart-drawer ul.product_list_widget li a.remove {
  position: static !important;
  float: none !important;
}

.ss-cart-drawer ul.cart_list li img,
.ss-cart-drawer ul.product_list_widget li img {
  float: none !important;
  width: 4.5rem !important;
  max-width: 4.5rem !important;
  height: 4.5rem !important;
  margin: 0 !important;
  padding: 0.35rem !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
}

@media (max-width: 1023.98px) {
  .ss-mainbar-mobile .ss-logo-img {
    height: 37px;
    max-width: 240px;
  }
}

@media (max-width: 1100px) {
  body.sscomic-home .al-products-wrap ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 800px) {
  .al-hero { min-height: 420px; height: 460px; }
  .al-hero-copy { padding: 28px 20px 72px; max-width: 100%; }
  .hc-h1 { font-size: 2rem; max-width: none; }
  .al-hero-controls { right: 16px; bottom: 16px; }
  .al-bento { grid-template-columns: 1fr 1fr; }
  .al-home-banners,
  .al-story,
  .al-quotes,
  .al-about,
  .al-trust3 {
    grid-template-columns: 1fr !important;
  }
  body.sscomic-home .al-products-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .al-story-art { height: 260px; max-height: 260px; min-height: 0; }
}

@media (max-width: 899px) {
  .al-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-trust-item:nth-child(2n) { border-right: 0; }
  .al-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--ss-border); }
}

@media (max-width: 600px) {
  body.sscomic-home .al-products-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-hero .ss-hero-slide,
  .al-ticker-track,
  .al-home-banner img,
  #al-intro {
    animation: none !important;
    transition: none !important;
  }
