/*
Theme Name: Photo To Canvas
Author: Matt Lewis
Version: 5.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
html,
body,
h1,
h2,
h3,
h4,
h5,
p {
  font-family: "DM Sans", sans-serif;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500 !important;
}
p {
  font-weight: 300;
}

:root {
  --primary: #2563eb;
}
.text-primary {
  color: var(--primary);
}
.bg-primary {
  background: var(--primary);
}

@keyframes fadeInUp {
  0% {
    transform: translateY(45px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.ptc-popup,
.first,
.second,
.third {
  opacity: 0;
  transition: all 0.5s ease;
  animation: 0.5s fadeInUp;
  animation-fill-mode: forwards;
}

.fade-in {
  opacity: 0;
  transition: all 0.3s ease;
  animation: 0.3s fadeIn;
  animation-fill-mode: forwards;
  animation-delay: 0.1s;
}

.second {
  animation-delay: 0.15s;
}
.third {
  animation-delay: 0.3s;
}

/* WooCommerce */
.wc-backward,
.wp-block-woocommerce-empty-mini-cart-contents-blocks {
  display: none !important;
}
/* Show mini cart on cart and checkout pages */
.woocommerce-cart .widget_shopping_cart,
.woocommerce-checkout .widget_shopping_cart {
  display: block !important;
}
.wc-block-mini-cart {
  visibility: visible !important;
}

.wp-block-group__inner-container {
  width: 1300px;
  max-width: 97.5%;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.wp-block-woocommerce-checkout,
.is-large.wc-block-cart {
  width: 1280px;
  max-width: 97.5%;
  margin: 0 auto !important;
}
.is-large.wc-block-cart {
  padding-top: 3rem !important;
}
.wc-block-components-product-details__image-url,
.wc-block-components-product-details__crop-url,
.wc-block-components-product-details__shipping-tiers,
.wp-block-woocommerce-mini-cart-shopping-button-block,
.woocommerce-MyAccount-navigation-link--edit-account {
  display: none !important;
}
.woocommerce-MyAccount-content p {
  margin-bottom: 0.5rem;
}
.woocommerce-MyAccount-content a {
  color: #10172a;
  font-weight: 700;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
  height: auto !important;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
  min-height: 3em;
  background: #10172a;
  color: white;
}
.is-large .wp-block-woocommerce-checkout-order-summary-block {
  background: white;
}
h2.wc-block-mini-cart__title {
  font-size: 1rem !important;
}
.woocommerce-MyAccount-navigation {
  width: 800px;
  max-width: 97.5%;
  margin: 0 auto;
  margin-top: 3.5rem;
  padding: 0 1rem;
}
.woocommerce-MyAccount-content {
  width: 800px;
  max-width: 97.5%;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 0.375rem;
  margin-top: 2rem;
  border: none;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.woocommerce-info {
  border-top-color: #0f172a;
}
.woocommerce-info::before {
  color: #0f172a;
}
.woocommerce-MyAccount-content .wc-forward {
  display: none !important;
}
.woocommerce-MyAccount-navigation .is-active {
  background: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 100pc;
  color: white;
}
.woocommerce-MyAccount-navigation ul {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.editor-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: rgb(71 85 105);
}
.editor-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}
.editor-content h3 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}
.editor-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}
.editor-content h5 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}
.editor-content h6 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}

.print-type img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}
.print-type .wp-block-column {
  background: white;
  padding: 0;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.print-type .wp-block-group__inner-container {
  padding: 0;
  max-width: 100%;
}
.print-type .wp-block-group__inner-container .wp-block-group .wp-block-group {
  padding: 2.25rem;
  padding-top: 1.5rem;
  max-width: 100%;
}
.print-type .wp-block-group__inner-container h2 {
  font-size: 1.75rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  color: rgb(15 23 42);
}
.print-type .wp-block-group__inner-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgb(71 85 105);
  line-height: 1.4;
  max-width: 85%;
}

.ti-widget.ti-goog .ti-header .ti-rating-text strong.ti-rating {
  font-size: 16px !important;
}
.ti-widget.ti-goog .star-lg .ti-star {
  width: 20px !important;
  height: 22px !important;
}

footer {
  margin-top: 2.5rem;
}

.wc-block-components-product-metadata__description {
  display: none !important;
}

@media (max-width: 992px) {
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

.size-full {
  width: 100%;
  height: auto !important;
}
