/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

html {
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
}

.koi-btn:hover, .koi-btn-dark:hover {
    transform: scale(1.04);
  }

.brxe-search button {
    background-color: var(--yellow);
    border:1px solid var(--purple);
    border-radius: 0.9375rem;
    background-image: linear-gradient(85deg, var(--purple), var(--pink));
    justify-content: center !important;
    padding: 0.75rem 1rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: auto;
  }

.bricks-button[type="submit"] {
  transition: all 0.3s ease-in-out;
  width: 100%;
  text-align: center;
  font-size: var(--text-s);
  color: var(--white);
  font-weight: 700;
  line-height: var(--text-m);
  padding-block-start: var(--space-2);
  padding-inline-end: var(--space-3);
  padding-block-end: var(--space-2);
  padding-inline-start: var(--space-3);
  background-color: var(--purple);
  border-start-start-radius: var(--space-3);
  border-start-end-radius: var(--space-3);
  border-end-start-radius: var(--space-3);
  border-end-end-radius: var(--space-3);
}

.brxe-search button:hover {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  filter: brightness(105%);
  transform: scale(1.04);
}

button[type="submit"] {
  transition: all 0.3s ease-in-out;
}

button[type="submit"]:hover {
  filter: brightness(105%);
  transform: scale(1.04);
}

.bricks-search-overlay {
  backdrop-filter: blur(15px);
}

.pop {
  position: relative;
}

@supports (-webkit-hyphens: none) {
  /* Safari-only styles */
  .pop {
    color: #DC328F;
    -webkit-text-fill-color: #DC328F;
  }
}

.pop:after {
  background: url('public/img/accent_underline.svg') no-repeat center center;
  background-size: contain;
  bottom: -1.4rem;
  content: '';
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  height: 50px;
}

@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: var(--ring-opacity);
  }
  50% {
    transform: scale(1.1);
    opacity: calc(var(--ring-opacity) * 0.6);
  }
}
 
.ring-pulse {
  transform-origin: 20px 20px;
  animation: ringPulse 6s ease-in-out infinite;
}
 
@media (prefers-reduced-motion: reduce) {
  .ring-pulse {
    animation: none;
  }
}

svg.hero-bg {
  width: 100%;
}

.project:nth-child(even) {
  direction: rtl;
  text-align: left;
}

.project:nth-child(even) .project-client {
  text-align: right;
}

.project:nth-child(even) .brxe-text {
  text-align: left;
}

.project p strong {
  color: var(--orange);
  font-weight: 400;
}

:where(.brxe-heading).has-separator {
  gap: 0.625rem;
}

#post-body h2, #post-body h3 {
  margin: var(--space-4) 0 var(--space-4) 0;
}

#post-body h2 {
  font-size: var(--heading-2xs);
  font-weight: 700;
  line-height: var(--heading-2xs);
}

#post-body h3 {
  color: var(--purple);
  font-size: calc(var(--heading-2xs)/1.4);
  line-height: calc(var(--heading-2xs)/1.4);
  margin: var(--space-4) 0 var(--space-3) 0;
}

#post-body h4, #post-body h5, #post-body h6 {
  margin: var(--space-2) 0 var(--space-1) 0;
}

#post-body a {
  border-bottom: 2px dotted var(--pink);
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#post-body a:hover {
  color: #ed2583;
}

#post-body li {
  margin: 0.46875rem 0;
}

.post-tag a {
  border-bottom: 1px dotted var(--pink);
}

.sendfox-form label.email {
  display: none;
}

.sendfox-form label.checkbox {
  color: #fff;
}

.sendfox-form  input, .sendfox-form button[type="submit"] {
  border: 1px solid var(--white);
  border-radius: 0.9375rem;
}

.sendfox-form input[type="checkbox"] {
  border: 1px solid var(--white);
}

.sendfox-form input {
  color: var(--black-alt);
}

.sendfox-form input::placeholder {
  color: rgba(3,31,47,0.65);
}

.sendfox-form button[type="submit"] {
  align-self: stretch;
  background-image: linear-gradient(85deg, var(--purple), var(--pink));
  color: #fff;
  font-size: var(--text-s);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: var(--text-m);
  padding: 0.25rem 1rem;
  transition: all 0.3s ease-in-out;
}

.sendfox-message.success {
  background-color: var(--yellow);
  border-radius: 0.9375rem;
  color: rgba(3,31,47,1.0);
  padding: 0.9375rem;
  text-align: center;
}


/* ---
FLUENT CART
--- */

.fct-customer-dashboard-app-container.fluent-cart-customer-profile-app .fct-customer-dashboard-single-subscription .fct-single-order-box .fct-customer-dashboard-content-table-item .right-content .el-dropdown button[aria-label="Subscription options"].el-tooltip__trigger {
  display: none;
}


/* ---
  FLOATING CLOCK
--- */

.floating-clock {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 30vw;
  height: 30vw;
  pointer-events: none;
  opacity: 0.25;
  color: #ffffff;
  --floating-clock-accent: currentColor;
  animation: floating-clock-drift 12s ease-in-out infinite;
  z-index: 1;
}

.floating-clock__face {
  width: 100%;
  height: 100%;
  display: block;
}

.floating-clock__hand {
  transform-box: view-box;
  transform-origin: 110px 110px;
  transition: transform 0.05s linear;
}

@keyframes floating-clock-drift {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-clock {
    animation: none;
  }
}

@media (max-width: 768px) {
  .floating-clock {
    width: 140px;
    height: 140px;
  }
}