/*
Theme Name: DesignTato
Author: DesignTato
Description: A monochrome storefront for custom name tattoo designs, with editable Elementor starter pages and product galleries.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designtato
*/

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --dt-ink: #171615;
  --dt-text: #595652;
  --dt-muted: #68645f;
  --dt-line: #e3dfda;
  --dt-paper: #f4f2ef;
  --dt-soft: #faf9f7;
  --dt-white: #fff;
  --dt-serif: "Instrument Serif", Georgia, serif;
  --dt-sans: "DM Sans", Arial, sans-serif;
  --dt-max: 1320px;
  --dt-gutter: clamp(22px, 4.45vw, 76px);
  --dt-section-space: clamp(56px, 6.25vw, 94px);
  --dt-grid-gap: clamp(18px, 2.25vw, 34px);
}

body.designtato-site {
  margin: 0;
  background: var(--dt-white);
  color: var(--dt-ink);
  font-family: var(--dt-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.designtato-site *, .designtato-site *::before, .designtato-site *::after {
  box-sizing: border-box;
}

.designtato-site :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.designtato-site a {
  color: inherit;
}

.designtato-site img {
  max-width: 100%;
  height: auto;
}

.dt-screen-reader,
.dt-skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.dt-skip-link:focus {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--dt-white);
  color: var(--dt-ink);
}

.designtato-site .dt-wrap {
  --width: min(var(--dt-max), calc(100% - 2 * var(--dt-gutter)));
  width: var(--width);
  margin-inline: auto;
}

/* Default spacing is applied through Elementor's container variables. */
.elementor .dt-layout.e-con {
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  min-width: 0;
}

.elementor .dt-section.e-con {
  --padding-top: var(--dt-section-space);
  --padding-bottom: var(--dt-section-space);
  --row-gap: clamp(29px, 3.1vw, 46px);
}

.elementor .dt-grid-three.e-con,
.elementor .dt-grid-two.e-con {
  --row-gap: var(--dt-grid-gap);
  --column-gap: var(--dt-grid-gap);
  --align-items: start;
}

.elementor .dt-heading .elementor-heading-title {
  margin: 0;
  color: var(--dt-heading-color, var(--dt-ink));
  font-family: var(--dt-serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.elementor .dt-heading .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}

.elementor .dt-text {
  color: var(--dt-body-color, var(--dt-text));
  font-family: var(--dt-sans);
  font-size: 16px;
  line-height: 1.65;
}

.elementor .dt-text p {
  margin: 0 0 1em;
}

.elementor .dt-text p:last-child,
.elementor .dt-text blockquote {
  margin: 0;
}

.elementor .dt-centered {
  text-align: center;
}

.elementor .dt-section-title .elementor-heading-title {
  font-size: clamp(46px, 5.1vw, 74px);
}

.elementor .dt-wordmark .elementor-heading-title {
  font-size: 39px;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.elementor .dt-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--dt-ink);
  color: var(--dt-white);
  font-family: var(--dt-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.elementor .dt-button .elementor-button:hover {
  background: #383431;
  color: var(--dt-white);
}

.elementor .dt-text-button .elementor-button {
  min-height: 0;
  padding: 0 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dt-ink);
  text-align: start;
}

.elementor .dt-text-button .elementor-button:hover {
  background: transparent;
  color: var(--dt-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.elementor .dt-photo a,
.elementor .dt-photo img {
  display: block;
  width: 100%;
}

.elementor .dt-photo img {
  object-fit: cover;
}

/* Global header and navigation. */
.dt-site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--dt-line);
  background: var(--dt-white);
}

.elementor .dt-header-row.e-con {
  --flex-direction: row;
  --align-items: center;
  --column-gap: clamp(20px, 3vw, 44px);
  min-height: 76px;
}

.elementor .dt-header-row > .elementor-widget,
.elementor .dt-footer-links > .elementor-widget {
  width: auto;
}

.dt-header-brand {
  margin-inline-end: auto;
}

.elementor .dt-header-order .elementor-button {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 13px;
  white-space: nowrap;
}

.dt-menu {
  color: var(--dt-ink);
  font-family: var(--dt-sans);
  font-size: 14px;
  font-weight: 500;
}

.dt-menu-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-menu-desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.45vw, 37px);
  white-space: nowrap;
}

.dt-menu-links a {
  color: inherit;
  text-decoration: none;
}

.dt-menu-links a:hover,
.dt-menu-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.dt-menu-mobile {
  display: none;
}

.dt-menu-mobile summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
  list-style: none;
}

.dt-menu-mobile summary::-webkit-details-marker {
  display: none;
}

.dt-menu-icon {
  width: 20px;
  height: 13px;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.dt-menu-mobile .dt-menu-links {
  position: absolute;
  z-index: 10;
  inset-inline-end: 0;
  top: calc(100% + 11px);
  min-width: 196px;
  padding: 7px;
  border: 1px solid var(--dt-line);
  background: var(--dt-white);
  box-shadow: 0 10px 25px #17161512;
}

.dt-menu-mobile .dt-menu-links a {
  display: block;
  padding: 9px 13px;
}

/* Homepage. */
.elementor .dt-hero.e-con {
  --flex-direction: row;
  --align-items: stretch;
  background: var(--dt-paper);
}

.elementor .dt-hero-copy.e-con {
  --width: 47%;
  --justify-content: center;
  --padding-top: clamp(48px, 5vw, 80px);
  --padding-right: clamp(24px, 4vw, 68px);
  --padding-bottom: clamp(48px, 5vw, 80px);
  --padding-left: max(var(--dt-gutter), calc((100vw - var(--dt-max)) / 2));
}

.elementor .dt-display-title .elementor-heading-title {
  font-size: clamp(64px, 7.35vw, 112px);
  line-height: .91;
  letter-spacing: -.042em;
}

.elementor .dt-hero-description {
  margin-top: 26px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
}

.elementor .dt-hero-description p {
  max-width: 395px;
}

.elementor .dt-hero-button {
  margin-top: 27px;
}

.elementor .dt-hero-button .elementor-button {
  min-height: 49px;
  padding-inline: 23px;
}

.elementor .dt-hero > .dt-hero-photo {
  position: relative;
  width: 53%;
  min-height: clamp(490px, 40vw, 640px);
  overflow: hidden;
}

.elementor .dt-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 52% center;
}

.dt-collection {
  scroll-margin-top: 22px;
}

.elementor .dt-product-card.e-con {
  --row-gap: 8px;
}

.elementor .dt-card-photo a,
.elementor .dt-work-photo a {
  overflow: hidden;
  background: var(--dt-paper);
}

.elementor .dt-card-photo img {
  aspect-ratio: 1 / 1.03;
  transition: transform .35s ease;
}

.elementor .dt-card-photo a:hover img,
.elementor .dt-work-photo a:hover img {
  transform: scale(1.035);
}

.elementor .dt-card-title {
  margin-top: 9px;
}

.elementor .dt-card-title .elementor-heading-title {
  font-size: clamp(27px, 2.43vw, 38px);
  line-height: 1.06;
}

.elementor .dt-card-price,
.elementor .dt-product-price {
  color: var(--dt-ink);
  font-weight: 600;
  letter-spacing: -.01em;
}

.elementor .dt-card-price {
  font-size: 14px;
}

.elementor .dt-view-design {
  margin-top: 3px;
}

.elementor .dt-view-design .elementor-button-content-wrapper {
  align-items: center;
  gap: 8px;
}

.elementor .dt-view-design .elementor-button-content-wrapper::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: rotate(45deg);
}

.elementor .dt-work.e-con {
  --dt-heading-color: var(--dt-white);
  --dt-body-color: #d9d5cf;
  background: var(--dt-ink);
}

.elementor .dt-work-heading.e-con {
  --flex-direction: row;
  --align-items: flex-end;
  --justify-content: space-between;
  --column-gap: 24px;
  --row-gap: 8px;
}

.elementor .dt-work-heading > .elementor-widget {
  width: auto;
}

.elementor .dt-work-intro {
  padding-bottom: 4px;
}

.elementor .dt-work-photo a {
  background: #383431;
}

.elementor .dt-work-photo img {
  aspect-ratio: 1 / 1.11;
  transition: transform .35s ease;
}

.elementor .dt-work-caption {
  margin-top: 12px;
  font-size: 14px;
}

.elementor .dt-reviews.e-con {
  background: var(--dt-soft);
}

.elementor .dt-review-card.e-con {
  --padding-top: 23px;
  --padding-right: 24px;
  --padding-bottom: 28px;
  --padding-left: 24px;
  --row-gap: 14px;
  align-self: stretch;
  border: 1px solid var(--dt-line);
  background: var(--dt-white);
}

.elementor .dt-review-label {
  color: var(--dt-muted);
  font-size: 13px;
  font-weight: 600;
}

.elementor .dt-review-quote,
.elementor .dt-review-quote blockquote {
  padding: 0;
  border: 0;
  color: var(--dt-ink);
  font-family: var(--dt-serif);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.13;
}

/* Product pages. */
.elementor .dt-product.e-con {
  --padding-top: clamp(22px, 3.3vw, 48px);
  --padding-bottom: clamp(50px, 5.5vw, 78px);
  --row-gap: 22px;
}

.elementor .dt-breadcrumb {
  color: var(--dt-muted);
  font-size: 13px;
}

.dt-breadcrumb a {
  text-underline-offset: 3px;
}

.dt-breadcrumb span {
  margin-inline: 6px;
}

.elementor .dt-product-grid.e-con,
.elementor .dt-info.e-con {
  --column-gap: clamp(33px, 6.15vw, 92px);
  --row-gap: 34px;
  --align-items: start;
}

.elementor .dt-product-gallery {
  min-width: 0;
}

.elementor .dt-product-gallery .swiper-slide-inner {
  width: 100%;
  margin: 0;
}

.elementor .dt-product-gallery .swiper-slide-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  background: var(--dt-paper);
}

.elementor .dt-product-gallery .swiper .elementor-swiper-button {
  top: calc((100% - 28px) / 2);
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dt-white);
  color: var(--dt-ink);
  font-size: 15px;
}

.elementor .dt-product-gallery .elementor-swiper-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.elementor .dt-product-gallery .elementor-swiper-button-prev {
  left: 13px;
}

.elementor .dt-product-gallery .elementor-swiper-button-next {
  right: 13px;
}

.elementor .dt-product-gallery .elementor-swiper-button:focus-visible {
  outline-offset: -4px;
}

.elementor .dt-product-gallery .swiper-pagination {
  position: relative;
  inset: auto;
  display: flex;
  min-height: 28px;
  align-items: end;
  justify-content: center;
}

.elementor .dt-product-gallery .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px 4px;
  background: #74706a;
  opacity: .55;
}

.elementor .dt-product-gallery .swiper-pagination-bullet-active {
  background: var(--dt-ink);
  opacity: 1;
}

.elementor .dt-product-details.e-con {
  --padding-top: clamp(0px, 1.45vw, 22px);
  --row-gap: 18px;
}

.elementor .dt-product-title .elementor-heading-title,
.elementor .dt-info-title .elementor-heading-title {
  font-size: clamp(49px, 5.1vw, 79px);
  line-height: .99;
}

.elementor .dt-product-price {
  font-size: 19px;
}

.elementor .dt-product-intro,
.elementor .dt-description-text {
  max-width: 550px;
  font-size: 17px;
}

.elementor .dt-order.e-con {
  --padding-top: 24px;
  --row-gap: 13px;
  margin-top: 9px;
  border-top: 1px solid var(--dt-line);
}

.elementor .dt-small-title .elementor-heading-title {
  font-size: 34px;
}

.dt-form-placeholder {
  margin: 0;
  padding: 13px 15px;
  border-inline-start: 2px solid #aaa39c;
  background: var(--dt-soft);
  color: var(--dt-text);
  font-size: 14px;
}

.dt-shortcode .fluentform .ff-btn-submit {
  background: var(--dt-ink);
  color: var(--dt-white);
}

.elementor .dt-product-description.e-con {
  --padding-top: clamp(31px, 4.2vw, 62px);
  --padding-bottom: clamp(52px, 6vw, 86px);
  --row-gap: 16px;
  --column-gap: var(--dt-grid-gap);
  --align-items: center;
  border-top: 1px solid var(--dt-line);
}

/* About, contact, and footer. */
.elementor .dt-info.e-con {
  --padding-top: var(--dt-section-space);
  --padding-bottom: var(--dt-section-space);
  --align-items: center;
}

.elementor .dt-info-copy.e-con {
  --row-gap: 22px;
}

.elementor .dt-info-copy .dt-text {
  max-width: 480px;
  font-size: 17px;
}

.elementor .dt-info-photo img {
  aspect-ratio: 1 / 1.02;
}

.dt-site-footer {
  border-top: 1px solid var(--dt-line);
  background: var(--dt-paper);
}

.elementor .dt-footer-row.e-con {
  --padding-top: 39px;
  --padding-bottom: 24px;
  --row-gap: 26px;
  --column-gap: var(--dt-grid-gap);
  --align-items: center;
}

.elementor .dt-footer-studio.e-con {
  --row-gap: 8px;
}

.elementor .dt-footer-line,
.elementor .dt-copyright {
  font-size: 14px;
}

.elementor .dt-footer-links.e-con {
  --flex-direction: row;
  --flex-wrap: wrap;
  --row-gap: 9px;
  --column-gap: clamp(14px, 2.3vw, 31px);
  --width: auto;
}

.elementor .dt-copyright {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--dt-line);
  color: var(--dt-muted);
  font-size: 13px;
}

.dt-fallback-header,
.dt-fallback-footer {
  padding-block: 19px;
}

.dt-fallback-brand {
  color: var(--dt-ink);
  font-family: var(--dt-serif);
  font-size: 37px;
  line-height: 1;
  text-decoration: none;
}

.dt-standard-content {
  min-height: 50vh;
  padding-block: var(--dt-section-space);
}

.dt-standard-content h1,
.dt-standard-content h2 {
  font-family: var(--dt-serif);
  font-weight: 400;
  line-height: 1.1;
}

.dt-standard-content h1 {
  margin-top: 0;
  font-size: clamp(45px, 6vw, 76px);
}

@media (max-width: 900px) {
  .elementor .dt-header-row.e-con {
    --column-gap: 10px;
    min-height: 68px;
  }

  .elementor .dt-header-brand .elementor-heading-title {
    font-size: 35px;
  }

  .elementor .dt-header-order {
    order: 1;
  }

  .elementor .dt-header-navigation {
    position: relative;
    order: 2;
  }

  .dt-menu-desktop {
    display: none;
  }

  .dt-menu-mobile {
    display: block;
  }

  .elementor .dt-display-title .elementor-heading-title {
    font-size: clamp(60px, 9vw, 82px);
  }

  .elementor .dt-hero > .dt-hero-photo {
    min-height: 465px;
  }

  .elementor .dt-product-grid.e-con,
  .elementor .dt-info.e-con {
    --column-gap: 30px;
  }
}

@media (max-width: 680px) {
  .elementor .dt-hero.e-con {
    --flex-direction: column;
  }

  .elementor .dt-hero-copy.e-con {
    --width: 100%;
    --padding-top: 46px;
    --padding-right: var(--dt-gutter);
    --padding-bottom: 40px;
    --padding-left: var(--dt-gutter);
  }

  .elementor .dt-display-title .elementor-heading-title {
    font-size: clamp(61px, 14.3vw, 82px);
  }

  .elementor .dt-hero-description {
    margin-top: 19px;
  }

  .elementor .dt-hero-button {
    margin-top: 22px;
  }

  .elementor .dt-hero > .dt-hero-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.28;
  }

  .elementor .dt-collection .dt-grid-three.e-con {
    --row-gap: 30px;
  }

  .elementor .dt-card-photo img {
    aspect-ratio: 1.15;
  }

  .elementor .dt-work-heading.e-con {
    --flex-direction: column;
    --align-items: flex-start;
  }

  .elementor .dt-work-photo img {
    aspect-ratio: 1.1;
  }

  .elementor .dt-work .dt-grid-three.e-con {
    --row-gap: 27px;
  }

  .elementor .dt-product-details.e-con {
    --padding-top: 0px;
    --row-gap: 14px;
  }

  .elementor .dt-footer-row.e-con {
    --padding-top: 30px;
    --row-gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor .dt-button .elementor-button,
  .elementor .dt-photo img {
    transition: none;
  }
}
