/*
 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.0
 Text Domain:  bricks
*/


/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: 'Poppins', system-ui, sans-serif;
  --font-serif: ui-serif, serif;
  --font-mono: monospace;

  --bricks-color-primary: #F6B068;

  --bricks-border-color: hsl(216, 12%, 84%);

  --bg-body: #fff;

  --bg-surface: hsl(0, 0%, 100%);
  --bg-surface-1: hsl(210, 17%, 98%);
  --bg-surface-2: hsl(210, 17%, 96%);
  --bg-surface-3: hsl(210, 17%, 94%);
  --bg-surface-4: hsl(210, 17%, 92%);
  --bg-surface-5: hsl(210, 17%, 90%);

  --text-surface: hsl(0, 0%, 25%);
  --text-surface-1: hsl(0, 0%, 35%);
  --text-surface-2: hsl(0, 0%, 65%);
  --text-surface-3: hsl(0, 0%, 75%);

  --text-2xl: calc(1.275rem + 0.3vw);
  --text-3xl: calc(1.3rem + 0.6vw);
  --text-4xl: calc(1.325rem + 0.9vw);
  --text-5xl: calc(1.375rem + 1.5vw);
  --text-6xl: calc(1.475rem + 2.7vw);
  --text-7xl: calc(1.525rem + 3.3vw);
  --text-8xl: calc(1.575rem + 3.9vw);
  --text-9xl: calc(1.625rem + 4.5vw);
}

@media (min-width: 1279px) {
  :root {
    --text-2xl: 1.5rem;
    --text-3xl: 1.75rem;
    --text-4xl: 2rem;
    --text-5xl: 2.5rem;
    --text-6xl: 3.5rem;
    --text-7xl: 4rem;
    --text-8xl: 4.5rem;
    --text-9xl: 5rem;
  }
}

/* typoghrapy */

.prose {
  font-size: 1rem;
  line-height: 1.75;
}

.no-prose {
  line-height: 1.5;
}

.prose :where(p):not(:where(.not-prose p)),
.prose :where(table):not(:where(.not-prose table)),
.prose :where(pre):not(:where(.not-prose pre)),
.prose :where(iframe):not(:where(.not-prose iframe)),
.prose :where(blockquote):not(:where(.not-prose blockquote)) {
  margin-top: .75rem;
  margin-bottom: 1.25em;
}

.prose :where(h1):not(:where(.not-prose h1)),
.prose :where(h2):not(:where(.not-prose h2)),
.prose :where(h3):not(:where(.not-prose h3)),
.prose :where(h4):not(:where(.not-prose h4)),
.prose :where(h5):not(:where(.not-prose h5)),
.prose :where(h6):not(:where(.not-prose h6)) {
  color: var(--text-surface);
  margin-top: 1.75em;
  margin-bottom: .75rem;
  font-weight: bold;
}

.prose :where(h1):not(:where(.not-prose h1)) {
  font-size: 1.5em;
  line-height: 1.3;
}

.prose :where(h2):not(:where(.not-prose h2)) {
  font-size: 1.25em;
  line-height: 1.3;
}

.prose :where(h3):not(:where(.not-prose h3)) {
  font-size: 1.15em;
  line-height: 1.5;
}

.prose :where(h4):not(:where(.not-prose h4)) {
  font-size: 1.1em;
  line-height: 1.6;
}

.prose :where(h5):not(:where(.not-prose h5)) {
  line-height: 1.6;
}

.prose :where(ul):not(:where(.not-prose ul)),
.prose :where(ol):not(:where(.not-prose ol)) {
  list-style: revert;
  padding-inline-start: 1.5rem;
  margin-top: .75rem;
  margin-bottom: 1.25em;
}

.prose :where(li p):not(:where(.not-prose p)),
.prose :where(li ul):not(:where(.not-prose ul)),
.prose :where(li ol):not(:where(.not-prose ol)) {
  margin-bottom: .75em;
}

.prose :where(dd+dt):not(:where(.not-prose dt)),
.prose :where(dt+dd):not(:where(.not-prose dd)),
.prose :where(li+li):not(:where(.not-prose li)) {
  margin-top: 0.5em;
}

.prose :where(iframe):not(:where(.not-prose iframe)) {
  width: 100%;
  background-color: #444;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
  height: auto;
  border-radius: 0.3rem;
}

.prose :where(pre):not(:where(.not-prose pre)) {
  white-space: pre;
  overflow-x: auto;
  font-size: 1rem;
  padding: 2rem 1.5rem;
  background-color: var(--bg-surface-1);
  border-radius: 0.375em;
  position: relative;
}

.prose :where(code):not(:where(.not-prose code)) {
  background-color: var(--bg-surface-2);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
}

.prose :where(pre>code):not(:where(.not-prose code)) {
  overflow-x: auto;
  display: block;
  margin-left: -1.5rem;
  padding: 0 1.5rem 1rem;
  margin-right: -1.5rem;
  background-color: inherit;
  border-radius: inherit;
}

.prose :where(kbd):not(:where(.not-prose kbd)),
.prose :where(var):not(:where(.not-prose var)) {
  border-color: var(--bg-surface-4);
  border-radius: 0.375rem;
  border-width: 1px;
  padding: 0.25rem 0.5rem;
}

.prose :where(mark):not(:where(.not-prose mark)),
.prose :where(del):not(:where(.not-prose del)),
.prose :where(ins):not(:where(.not-prose ins)) {
  border-radius: 0.375rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  color: hsl(210, 10%, 23%);
  font-weight: 300;
}

.prose :where(abbr):not(:where(.not-prose abbr)) {
  text-decoration-color: hsl(207, 86%, 75%);
}

.prose :where(mark):not(:where(.not-prose mark)) {
  background-color: hsl(45, 97%, 90%);
}

.prose :where(del):not(:where(.not-prose del)) {
  background-color: hsl(0, 100%, 90%);
}

.prose :where(ins):not(:where(.not-prose ins)) {
  background-color: hsl(130, 57%, 90%);
}

.prose :where(hr):not(:where(.not-prose hr)) {
  border-width: 0;
  background-color: var(--bg-surface-3);
  height: 2px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.prose :where(blockquote):not(:where(.not-prose blockquote)) {
  border-inline-start-width: 3px;
  border-color: var(--bricks-color-primary);
  padding: .75rem 1.25rem;
}

.prose :where(blockquote > cite):not(:where(.not-prose cite)) {
  display: block;
}

.prose :where(br):not(:where(.not-prose br)) {
  content: "";
  display: block;
}

.prose :where(table):not(:where(.not-prose table)) {
  text-indent: 0;
  font-size: 1rem;
  border-spacing: 0;
  border-collapse: collapse;
  border-width: 1px;
  word-break: normal;
}

.prose :where(th):not(:where(.not-prose th)) {
  text-align: start;
  padding: 0.5rem 1rem;
}

.prose :where(td):not(:where(.not-prose td)) {
  padding: 0.5rem 1rem;
}

.prose :where(tr:last-child):not(:where(.not-prose tr)) {
  border-bottom: 0;
}

.prose :where(tr):not(:where(.not-prose tr)),
.prose :where(tr:first-child):not(:where(.not-prose tr)) {
  border-bottom-width: 1px;
}

.prose :where(th+th):not(:where(.not-prose th)),
.prose :where(td+td):not(:where(.not-prose td)) {
  border-inline-start-width: 1px;
}

/* bricks style */


::placeholder {
  color: #aaa;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #aaa;
}

body.bricks-is-frontend :focus {
  outline: none
}

.woocommerce .button {
  background-color: var(--bricks-color-primary);
  padding: .75em 1em;
}

.bricks-button {
  padding: .75em 1em;
}

.woocommerce-checkout .place-order .button,
.cart-collaterals .wc-proceed-to-checkout .button {
  line-height: inherit;
}

.star-rating span:before,
#reviews form .stars.selected a.active:before,
#reviews form .stars.selected a:not(.active):before {
  color: #eab308;
}