/*
 Theme Name: The Cracked Ashlar Co. Child
 Template: blocksy
 Version: 1.4.0
*/

:root {
  --theme-palette-color-1: #121a29;
  --theme-palette-color-2: #6f86ab;
  --theme-palette-color-3: #d7e4ff;
  --theme-palette-color-4: #eef4ff;
  --theme-palette-color-5: #f8fbff;
  --theme-palette-color-6: #ffffff;
  --theme-palette-color-7: #0b1220;
  --theme-palette-color-8: #07101b;
  --rf-shell: #f7f2eb;
  --rf-ink: #162033;
  --rf-muted: #627492;
  --rf-glass: rgba(255,255,255,0.12);
  --rf-line: rgba(255,255,255,0.18);
  --rf-card: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(237,243,255,0.94) 100%);
  --rf-card-line: rgba(255,255,255,0.42);
  --rf-shadow: 0 22px 60px rgba(8,18,35,0.14);
}
html { scroll-behavior: smooth; }
body.home {
  background: #07101b !important;
  color: #eef4ff;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .hero-section[data-type="type-1"],
.home .page-header,
.home .entry-header,
.home .ct-breadcrumbs,
.home .page-title { display: none !important; }
.home .entry-content,
.home .entry-content > * { margin-block: 0 !important; }
.home .entry-content { padding: 0 !important; }
.home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,0.02) !important;
  box-shadow: none !important;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition: background 220ms ease, backdrop-filter 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}
.home .site-header .ct-container,
.home .site-header [data-row="middle"] > .ct-container {
  max-width: 100% !important;
  padding-inline: clamp(16px, 3vw, 34px);
}
.home .site-header .site-title-container,
.home .site-header .site-branding,
.home .site-header [data-id="logo"] { display: none !important; }
.home .ct-header [data-id="menu"] > ul { gap: clamp(10px, 1.5vw, 20px); }
.home .ct-header [data-id="menu"] > ul > li > a,
.home .site-header .ct-icon,
.home .site-header .ct-header-cart,
.home .site-header .ct-search-button {
  color: #111111 !important;
}
.home .ct-header [data-id="menu"] > ul > li > a {
  min-height: 40px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home .rf-home-shell {
  background: #07101b;
}
.home .rf-video-hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #07101b;
}
.home .rf-video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .rf-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,10,18,0.24) 0%, rgba(5,10,18,0.06) 34%, rgba(5,10,18,0.24) 70%, rgba(5,10,18,0.74) 100%),
    radial-gradient(circle at 22% 20%, rgba(255,255,255,0.14), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(149,196,255,0.12), transparent 22%);
}
.home .rf-hero-caption {
  position: absolute;
  inset-inline: clamp(20px, 4vw, 42px);
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.home .rf-hero-copy {
  max-width: 540px;
}
.home .rf-hero-logo {
  display: block;
  width: min(540px, 74vw);
  height: auto;
  margin: 0 0 14px;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.45));
}
.home .rf-hero-copy h1,
.home .rf-section-heading h2,
.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.05em;
}
.home .rf-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 10vw, 118px);
  line-height: 0.88;
  text-shadow: 0 10px 34px rgba(0,0,0,0.28);
}
.home .rf-hero-copy p {
  margin: 14px 0 0;
  max-width: 30ch;
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.home .rf-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}
.home .rf-scroll-cue:focus-visible,
.home .woocommerce a.button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.42);
  outline-offset: 3px;
}
.home .rf-collection-wrap {
  position: relative;
  z-index: 3;
  margin: -30px 16px 0;
  background: var(--rf-card);
  border: 1px solid var(--rf-card-line);
  border-radius: 34px 34px 0 0;
  padding: clamp(24px, 4vw, 44px) clamp(18px, 4vw, 42px) 72px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--rf-shadow), inset 0 1px 0 rgba(255,255,255,0.46);
}
.home .rf-feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin: 0 0 34px;
}
.home .rf-feature-card {
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.62) 0%, rgba(231,240,255,0.44) 100%);
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.54), 0 16px 34px rgba(45,69,110,0.08);
}
.home .rf-feature-kicker {
  display: block;
  margin-bottom: 10px;
  color: #6f86ab;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.home .rf-feature-card h3 {
  margin: 0 0 8px;
  color: var(--rf-ink);
  font-size: 28px;
  line-height: 1;
}
.home .rf-feature-card p,
.home .rf-section-heading p {
  margin: 0;
  color: var(--rf-muted);
  font-size: 15px;
  line-height: 1.75;
}
.home .rf-section-heading {
  display: grid;
  gap: 12px;
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}
.home .rf-eyebrow {
  display: inline-block;
  margin-inline: auto;
  color: #6f86ab;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}
.home .rf-section-heading h2 {
  margin: 0;
  color: var(--rf-ink);
  font-size: clamp(40px, 5vw, 78px);
  line-height: 0.95;
}
.home .products,
.home .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}
.home .products li.product,
.home .woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}
.home .products li.product,
.home .woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home .products li.product .button,
.home .products li.product .added_to_cart,
.home .woocommerce ul.products li.product .button,
.home .woocommerce ul.products li.product .added_to_cart {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.home .products li.product > a:first-child,
.home .woocommerce ul.products li.product > a:first-child {
  display: block;
  padding: 14px 14px 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.62) 0%, rgba(231,240,255,0.46) 100%);
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.54), 0 18px 40px rgba(49,76,121,0.09);
}
.home .products li.product img,
.home .woocommerce ul.products li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(180deg, #dfe9fb 0%, #c8d7f2 100%);
  margin-bottom: 16px !important;
}
.home .products li.product .woocommerce-loop-product__title,
.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--rf-ink);
  font-size: 25px;
  line-height: 1.05;
  margin-bottom: 10px;
  padding-inline: 10px;
}
.home .products li.product .price,
.home .woocommerce ul.products li.product .price {
  color: var(--rf-muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.home .woocommerce a.button,
.home .add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(218,231,255,0.64) 100%) !important;
  color: #14203a !important;
  border: 1px solid rgba(255,255,255,0.64) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px !important;
  font-weight: 700 !important;
}
@media (max-width: 1100px) {
  .home .rf-feature-band,
  .home .products,
  .home .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  html { scroll-behavior: auto; }
  .home .site-header .site-branding img,
  .home .site-header .custom-logo,
  .home .site-header .custom-logo-link img,
  .home .site-header .default-logo {
    max-height: 42px !important;
  }
  .home .rf-hero-caption {
    inset-inline: 18px;
    bottom: max(18px, env(safe-area-inset-bottom, 0px) + 12px);
    flex-direction: column;
    align-items: flex-start;
  }
  .home .rf-hero-copy h1 {
    font-size: clamp(40px, 16vw, 68px);
  }
  .home .rf-hero-copy p {
    font-size: 12px;
    max-width: 28ch;
  }
  .home .rf-collection-wrap {
    margin: -20px 12px 0;
    border-radius: 24px 24px 0 0;
    padding: 22px 18px 46px;
  }
  .home .rf-feature-band,
  .home .products,
  .home .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}


body.page-template-default.page.page-id-185 {
  background: #07101b !important;
}
.page-id-185 .hero-section[data-type="type-1"],
.page-id-185 .entry-header,
.page-id-185 .page-header,
.page-id-185 .ct-breadcrumbs,
.page-id-185 .page-title {
  display: none !important;
}
.page-id-185 .entry-content,
.page-id-185 .entry-content > * {
  margin-block: 0 !important;
}
.page-id-185 .entry-content {
  padding: 32px 0 0 !important;
}
.page-id-185 .rf-cat-page {
  display: grid;
  gap: 24px;
  width: min(100%, 1280px);
  margin-inline: auto;
}
.page-id-185 .rf-cat-hero {
  padding: clamp(24px, 5vw, 42px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(237,243,255,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow: 0 18px 44px rgba(21,35,61,0.08);
  text-align: center;
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
}
.page-id-185 .rf-cat-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #6f86ab;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.page-id-185 .rf-cat-hero h1,
.page-id-185 .rf-cat-card h2 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.04em;
}
.page-id-185 .rf-cat-hero h1 {
  margin: 0 0 12px;
  color: #162033;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
}
.page-id-185 .rf-cat-hero p {
  max-width: 60ch;
  margin: 0 auto;
  color: #60738f;
  font-size: 16px;
  line-height: 1.8;
}
.page-id-185 .rf-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.page-id-185 .rf-cat-card {
  display: grid;
  grid-template-rows: 260px minmax(250px, 1fr);
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(239,244,255,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 18px 40px rgba(29,46,79,0.08);
}
.page-id-185 .rf-cat-card-media {
  display: block;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(180deg, #dfe9fb 0%, #c8d7f2 100%);
  overflow: hidden;
}
.page-id-185 .rf-cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 220ms ease;
}
.page-id-185 .rf-cat-card:hover .rf-cat-card-media img,
.page-id-185 .rf-cat-card:focus-within .rf-cat-card-media img {
  transform: scale(1.03);
}
.page-id-185 .rf-cat-card-body {
  display: grid;
  grid-template-rows: auto auto minmax(84px, 1fr) auto;
  gap: 12px;
  padding: 24px 22px 26px;
  justify-items: center;
  align-content: start;
  text-align: center;
}
.page-id-185 .rf-cat-count {
  color: #6f86ab;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.page-id-185 .rf-cat-card h2 {
  margin: 0;
  color: #162033;
  font-size: clamp(28px, 2.2vw, 30px);
  line-height: 1.02;
  min-height: 62px;
  display: flex;
  align-items: center;
}
.page-id-185 .rf-cat-card h2 a {
  color: inherit;
  text-decoration: none;
}
.page-id-185 .rf-cat-card p {
  margin: 0;
  color: #60738f;
  font-size: 15px;
  line-height: 1.7;
  max-width: 28ch;
  min-height: calc(1.7em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-id-185 .rf-cat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(218,231,255,0.64) 100%);
  color: #14203a;
  border: 1px solid rgba(255,255,255,0.64);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  margin-inline: auto;
}
@media (max-width: 1100px) {
  .page-id-185 .rf-cat-card {
    grid-template-rows: 240px minmax(240px, 1fr);
  }
}
@media (max-width: 767px) {
  .page-id-185 .rf-cat-card {
    grid-template-rows: 278px minmax(228px, 1fr);
  }
  .page-id-185 .rf-cat-card-body {
    padding: 22px 20px 24px;
  }
}
@media (max-width: 1100px) {
  .page-id-185 .rf-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .page-id-185 .rf-cat-grid {
    grid-template-columns: 1fr;
  }
  .page-id-185 .rf-cat-hero {
    padding: 24px 18px;
    min-height: 220px;
  }
}

.home .site-header.rf-header-visible {
  opacity: 1;
  background: rgba(255,255,255,0.86) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(8,18,35,0.08);
}
.home .site-header.rf-header-visible .ct-header [data-id="menu"] > ul > li > a,
.home .site-header.rf-header-visible .ct-icon,
.home .site-header.rf-header-visible .ct-header-cart,
.home .site-header.rf-header-visible .ct-search-button {
  color: #111111 !important;
}
.home .site-header:not(.rf-header-visible) {
  pointer-events: none;
}
.home .site-header:not(.rf-header-visible) .ct-header [data-id="menu"] > ul > li > a,
.home .site-header:not(.rf-header-visible) .ct-icon,
.home .site-header:not(.rf-header-visible) .ct-header-cart,
.home .site-header:not(.rf-header-visible) .ct-search-button {
  color: rgba(255,255,255,0.02) !important;
}

.home .site-header {
  transform: translateY(-18px);
}
.home .site-header.rf-header-visible {
  transform: translateY(0);
}

.home .site-main,
.home .ct-container-full,
.home article.page,
.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home main#main,
.home .ct-container[data-content="normal"],
.home .ct-container[data-content="full"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.home .ct-page-title,
.home .ct-breadcrumbs,
.home .entry-header,
.home .page-description,
.home .site-main > article > header,
.home .ct-container > article > header,
.home .hero-section {
  display: none !important;
}
.home article.page {
  padding-top: 0 !important;
}
.home .rf-home-shell {
  margin-top: 0 !important;
}
.home .rf-video-hero {
  margin-top: 0 !important;
}

.home .hero-section {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.home .entry-content.is-layout-constrained,
.home .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .entry-content > .rf-home-shell:first-child {
  margin-top: -1px !important;
}
.home .rf-video-hero {
  position: relative;
  top: 0 !important;
}

html, body.home {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home #main-container,
.home #main,
.home .site-main,
.home .ct-container-full,
.home article.page,
.home .entry-content,
.home .rf-home-shell,
.home .rf-video-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .site-header {
  top: 0 !important;
}
.home admin-bar .site-header {
  top: 0 !important;
}

.home .rf-hero-cta-wrap {
  position: absolute;
  left: 50%;
  bottom: max(84px, env(safe-area-inset-bottom, 0px) + 70px);
  transform: translateX(-50%);
  z-index: 3;
}
.home .rf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(221,233,255,0.72) 100%);
  color: #101827;
  border: 1px solid rgba(255,255,255,0.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(7,16,27,0.20), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.home .rf-hero-cta:hover,
.home .rf-hero-cta:focus-visible {
  color: #101827;
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .home .rf-hero-cta-wrap {
    bottom: max(92px, env(safe-area-inset-bottom, 0px) + 76px);
  }
  .home .rf-hero-cta {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

.home .site-title-container {
  display: none !important;
}
.home .site-branding {
  max-width: 44px !important;
  overflow: hidden !important;
}
.home .site-logo-container img,
.home .custom-logo,
.home .default-logo {
  max-height: 30px !important;
}
.home .ct-header [data-id=menu] > ul {
  gap: 14px !important;
}
.home .ct-header [data-id=menu] > ul > li > a {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  padding: 0 4px !important;
}
.home #menu-main-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.home #menu-main-menu > li:last-child a {
  white-space: nowrap !important;
}


.tax-product_cat .hero-section[data-type="type-1"],
.tax-product_cat .ct-page-title {
  position: relative;
  overflow: hidden;
}
.tax-product_cat .hero-section[data-type="type-1"]::before,
.tax-product_cat .ct-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.58) 0%, rgba(7, 10, 16, 0.36) 45%, rgba(7, 10, 16, 0.62) 100%);
  pointer-events: none;
  z-index: 0;
}
.tax-product_cat .page-title,
.tax-product_cat .page-description,
.tax-product_cat .ct-breadcrumbs,
.tax-product_cat .ct-title-label,
.tax-product_cat .ct-title-heading {
  position: relative;
  z-index: 1;
}
.tax-product_cat .page-title,
.tax-product_cat .ct-title-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.tax-product_cat .page-description,
.tax-product_cat .page-description p,
.tax-product_cat .ct-breadcrumbs,
.tax-product_cat .ct-breadcrumbs a,
.tax-product_cat .ct-title-label {
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.28);
}
.tax-product_cat .page-description {
  max-width: 72ch;
  margin-inline: auto;
}
