@charset "utf-8";

/*
Theme Name: Truffella - Chocolatier & Cake Boutique HTML5 Template
Author: Metropolitanthemes
Version: 1.0.0

Responsive stylesheet - desktop first: 1399 / 1199 / 991 / 767 / 575
*/

/*======================
(min-width: 1600px)
========================*/
@media (min-width: 1600px) {
  /* 1. General */
  .container {
    max-width: 1440px;
  }

  /* 3. Header */
  .header-search {
    display: block;
  }
}

/*======================
(min-width: 1960px)
========================*/
@media (min-width: 1960px) {
  /* 1. General */
  .container {
    max-width: 1560px;
  }
  html {
    font-size: 17px;
  }
  body {
    font-size: 17px;
  }

  /* 8. Home 01: Chocolatier */
  .tf-hero .swiper-slide {
    min-height: 940px;
  }
}

/*======================
(max-width: 1399px)
========================*/
@media (max-width: 1399px) {
  /* 1. General */
  .sec-pt-120 {
    padding-top: 100px;
  }
  .sec-pb-120 {
    padding-bottom: 100px;
  }

  /* 3. Header */
  .tf-header .wide {
    padding: 0 28px;
  }
  .header-main .wide {
    gap: 34px;
  }
  .header-top .top-left .top-phone {
    display: none;
  }
  .tf-nav > ul {
    gap: 24px;
  }
  .tf-nav > ul > li > a {
    letter-spacing: 0.14em;
  }

  /* 8. Home 01: Chocolatier */
  .tf-float[data-depth="3"] {
    width: 160px;
  }
  .tf-float[data-depth="2"] {
    width: 120px;
  }
  .tf-float[data-depth="1"] {
    width: 90px;
  }
}

/*======================
(max-width: 1199px)
========================*/
@media (max-width: 1199px) {
  /* 3. Header */
  .tf-nav {
    display: none;
  }
  .header-top .top-right > a {
    display: none;
  }
  .header-main .wide {
    height: 84px;
  }

  /* 7. Components */
  .tf-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .tf-strip .strip-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  /* 8. Home 01: Chocolatier */
  .tf-hero .swiper-slide {
    min-height: 760px;
    padding: 190px 0 120px;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .type-cut {
    top: auto;
    bottom: 0;
    width: 34vw;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .finest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .finest-salon {
    display: none;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .table-bar {
    grid-template-columns: 1fr;
  }
  .table-live {
    grid-column: 1;
  }

  /* 11. Chocolatier Pages */
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-step:nth-child(even) {
    margin-top: 0;
  }

  /* 11. Chocolatier Pages */
  .metro-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }

  /* 12. Atelier Pages */
  .tile-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 12. Atelier Pages */
  .truffle-list {
    grid-template-columns: 1fr;
  }
}

/*======================
(max-width: 991px)
========================*/
@media (max-width: 991px) {
  /* 1. General */
  .sec-pt-120 {
    padding-top: 84px;
  }
  .sec-pb-120 {
    padding-bottom: 84px;
  }
  .sec-pt-90 {
    padding-top: 70px;
  }
  .sec-pb-90 {
    padding-bottom: 70px;
  }
  .tf-photo-band::after {
    background: linear-gradient(90deg, rgba(34, 19, 13, 0.92) 0%, rgba(34, 19, 13, 0.8) 60%, rgba(34, 19, 13, 0.55) 100%);
  }

  /* 1. General */
  .tf-title {
    margin-bottom: 46px;
  }
  .tf-title.is-split {
    display: block;
  }
  .tf-title.is-split .tf-lead {
    margin-top: 22px;
  }

  /* 3. Header */
  .header-top .top-left {
    display: none;
  }
  .header-top .top-mid {
    flex: 1;
    text-align: left;
  }

  /* 7. Components */
  .tf-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
  .tf-mosaic a.is-big {
    grid-column: 1 / span 2;
    grid-row: auto;
    aspect-ratio: 1;
  }
  .tf-mosaic a:nth-child(n+8) {
    display: none;
  }

  /* 7. Components */
  .tf-timeline::before {
    left: 8px;
  }
  .tl-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0 40px 46px;
  }
  .tl-row .tl-year,
  .tl-row.is-flip .tl-year {
    position: static;
    transform: none;
    flex-direction: row;
  }
  .tl-row .tl-year::after {
    display: none;
  }
  .tl-row .tl-year::before,
  .tl-row.is-flip .tl-year::before {
    left: 4px;
    right: auto;
    top: 48px;
    transform: none;
  }
  .tl-row.is-flip .tl-media {
    order: 0;
  }
  .tl-row.is-flip .tl-copy {
    justify-self: start;
  }

  /* 8. Home 01: Chocolatier */
  .tf-promo.is-big {
    min-height: 460px;
  }

  /* 8. Home 01: Chocolatier */
  .exp-tall {
    margin-top: 60px;
  }
  .tf-experience .f-2,
  .tf-experience .f-5 {
    display: none;
  }

  /* 8. Home 01: Chocolatier */
  .tf-barforms {
    background-size: 100% 70%;
    background-position: left top;
    background-image: linear-gradient(90deg, var(--tf-beige), var(--tf-beige));
  }
  .barforms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .barforms-photos .bf-small {
    margin-top: 30%;
  }

  /* 9. Home 02: Cake Atelier */
  .anatomy-stage {
    position: relative;
    top: 0;
    min-height: 440px;
  }
  .tf-cake.is-xl {
    --w: 300px;
  }

  /* 9. Home 02: Cake Atelier */
  .workshop-grid {
    grid-template-columns: 1fr;
  }
  .workshop-photo {
    min-height: 380px;
  }
  .workshop-panel {
    padding: 70px 24px;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .chef-round {
    left: 0;
    width: 140px;
    height: 140px;
  }
  .tf-chef .chef-seal {
    display: none;
  }

  /* 11. Chocolatier Pages */
  .story-media .sm-small {
    margin-bottom: 0;
  }
  .story-media .tf-seal {
    width: 110px;
    height: 110px;
    top: -40px;
    right: 0;
  }

  /* 11. Chocolatier Pages */
  .profile-card {
    position: relative;
    top: 0;
  }

  /* 11. Chocolatier Pages */
  .boutique-map {
    position: relative;
    top: 0;
  }
  .boutique-map iframe {
    height: 420px;
  }

  /* 11. Chocolatier Pages */
  .faq-side {
    position: relative;
    top: 0;
  }

  /* 12. Atelier Pages */
  .builder-stage {
    position: relative;
    top: 0;
  }

  /* 12. Atelier Pages */
  .boxer-box {
    position: relative;
    top: 0;
  }

  /* 12. Atelier Pages */
  .corp-summary {
    position: relative;
    top: 0;
  }

  /* 12. Atelier Pages */
  .club-order {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  /* 13. Cafe Pages */
  .booking-summary {
    position: relative;
    top: 0;
  }

  /* 14. Shop Pages */
  .shop-side {
    position: relative;
    top: 0;
  }
  .side-promo {
    display: none;
  }

  /* 14. Shop Pages */
  .pd-gallery {
    position: relative;
    top: 0;
  }

  /* 14. Shop Pages */
  .order-summary {
    position: relative;
    top: 0;
  }

  /* 15. Journal, Account & Bare Pages */
  .blog-side {
    position: relative;
    top: 0;
  }

  /* 15. Journal, Account & Bare Pages */
  .account-card {
    grid-template-columns: 1fr;
  }
  .account-media {
    min-height: 300px;
  }

  /* 16. Subheader */
  .tf-subheader {
    min-height: 380px;
    padding: 70px 0;
  }
  .tf-subheader::after {
    background: linear-gradient(90deg, rgba(250, 249, 245, 0.96) 0%, rgba(250, 249, 245, 0.9) 55%, rgba(250, 249, 245, 0.55) 100%);
  }
  .tf-subheader.is-dark::after,
  [data-theme="dark"] .tf-subheader:not(.is-dark)::after {
    background: rgba(20, 13, 10, 0.82);
  }
  .tf-subheader .sub-seal {
    width: 110px;
    height: 110px;
    bottom: -40px;
  }

  /* 17. Footer */
  .footer-club .club-gl {
    width: 100%;
    opacity: 0.35;
  }
  .footer-club .club-gl.is-on {
    opacity: 0.35;
  }
}

/*======================
(max-width: 767px)
========================*/
@media (max-width: 767px) {
  /* 1. General */
  /* Bootstrap's widest gutter is wider than the container's side padding on a phone: rows would spill past the screen */
  .g-5,
  .gx-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* 3. Header */
  .header-top {
    display: none;
  }
  .header-actions .is-account,
  .header-actions .tf-theme-toggle {
    display: none;
  }

  /* 7. Components */
  .tf-quote blockquote {
    padding: 0;
  }
  .tf-quotes .quotes-prev,
  .tf-quotes .quotes-next {
    top: auto;
    bottom: 0;
    transform: none;
  }

  /* 8. Home 01: Chocolatier */
  .tf-hero .swiper-slide {
    min-height: 640px;
    padding: 150px 0 110px;
  }
  .tf-hero .swiper-slide::after {
    background: linear-gradient(90deg, rgba(34, 19, 13, 0.88) 0%, rgba(34, 19, 13, 0.72) 70%, rgba(34, 19, 13, 0.5) 100%);
  }

  /* 8. Home 01: Chocolatier */
  .exp-tall .tf-seal {
    width: 110px;
    height: 110px;
    top: -50px;
    left: -10px;
  }
  .exp-over {
    left: 24px;
    right: 24px;
    bottom: 22px;
  }
  .tf-float[data-depth="3"] {
    width: 110px;
  }
  .tf-float[data-depth="2"],
  .tf-float[data-depth="1"] {
    width: 80px;
  }

  /* 9. Home 02: Cake Atelier */
  .tf-hero-two {
    padding-top: 20px;
  }
  .hero-two-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-two-bar .tf-btn {
    margin-left: 0;
  }
  .tf-hero-two .hero-title .ln {
    white-space: normal;
  }

  /* 9. Home 02: Cake Atelier */
  .tf-film {
    min-height: 420px;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .tf-hero-three {
    padding: 130px 0 90px;
  }
  .tf-hero-three .swiper-slide .container {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }
  .type-words .ln {
    white-space: normal;
  }
  .type-cut {
    position: relative;
    right: auto;
    width: 60vw;
    margin: 10px auto 0;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .finest-grid {
    grid-template-columns: 1fr;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .table-form {
    grid-template-columns: 1fr 1fr;
  }
  .table-form .tf-btn {
    grid-column: 1 / -1;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .show-wrap {
    padding: 0 0 70px;
  }
  .show-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .show-wrap .single-prev,
  .show-wrap .single-next {
    top: auto;
    bottom: 0;
  }
  .show-wrap .single-prev {
    left: calc(50% - 60px);
  }
  .show-wrap .single-next {
    right: calc(50% - 60px);
  }

  /* 11. Chocolatier Pages */
  .numbers-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }
  .numbers-row li:nth-child(3) {
    border-left: 0;
  }

  /* 11. Chocolatier Pages */
  .crafts-media .crafts-seal {
    width: 110px;
    height: 110px;
    right: 12px;
    bottom: -36px;
  }

  /* 11. Chocolatier Pages */
  .metro-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
  }

  /* 11. Chocolatier Pages */
  .contact-form-wrap {
    padding: 50px 24px;
  }

  /* 12. Atelier Pages */
  .corp-media .corp-seal {
    width: 110px;
    height: 110px;
    left: 12px;
    bottom: -36px;
  }

  /* 13. Cafe Pages */
  .menu-search {
    width: 100%;
  }

  /* 13. Cafe Pages */
  .wizard-steps {
    grid-template-columns: 1fr 1fr;
  }

  /* 14. Shop Pages */
  .bag-line,
  .bag-lines.is-wish .bag-line {
    grid-template-columns: 76px 1fr auto;
    gap: 12px 16px;
  }
  .bag-line .tf-qty,
  .bag-line .bl-total,
  .bag-line .tf-btn {
    grid-column: 2;
  }
  .bag-line .bl-remove {
    grid-column: 3;
    grid-row: 1;
  }
  .bl-total {
    text-align: left;
  }

  /* 15. Journal, Account & Bare Pages */
  .soon-count {
    flex-wrap: wrap;
    justify-content: center;
  }
  .soon-count li {
    min-width: 90px;
  }
  .soon-cut {
    width: 120px;
    right: 4%;
    bottom: 3%;
  }

  /* 17. Footer */
  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }
  .footer-logo img {
    height: 70px;
  }
}

/*======================
(max-width: 575px)
========================*/
@media (max-width: 575px) {
  /* 1. General */
  .sec-pt-120 {
    padding-top: 70px;
  }
  .sec-pb-120 {
    padding-bottom: 70px;
  }
  .sec-pt-90 {
    padding-top: 60px;
  }
  .sec-pb-90 {
    padding-bottom: 60px;
  }
  .tf-lead {
    font-size: 17px;
  }

  /* 1. General */
  .tf-btn {
    height: 50px;
    padding: 0 24px;
  }

  /* 1. General */
  .tf-back-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  /* 3. Header */
  .tf-header .wide {
    padding: 0 16px;
  }
  .header-main .wide {
    height: 74px;
  }
  .tf-logo img,
  .tf-header.is-sticky .tf-logo img {
    height: 40px;
  }
  .header-actions .is-wish {
    display: none;
  }

  /* 7. Components */
  .tf-promo .promo-text {
    padding: 30px 26px;
  }

  /* 7. Components */
  .tf-strip {
    grid-template-columns: 1fr;
  }
  .tf-strip .strip-item {
    border-left: 0;
    padding: 0;
  }

  /* 7. Components */
  .tf-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 8px;
  }

  /* 8. Home 01: Chocolatier */
  .tf-hero .hero-title {
    font-size: 40px;
  }
  .tf-hero .hero-title .ln {
    white-space: normal;
  }
  .tf-hero .hero-copy p {
    font-size: 16.5px;
  }

  /* 9. Home 02: Cake Atelier */
  .tf-cake.is-xl {
    --w: 230px;
  }
  .tf-cake.is-xl .cake-layer.is-sponge {
    height: 34px;
  }
  .anatomy-stage .stage-glow {
    width: 320px;
  }

  /* 10. Home 03: Chocolaterie & Cafe */
  .fl-piece {
    grid-template-columns: 64px 1fr;
    gap: 8px 18px;
  }
  .fl-square {
    width: 64px;
    height: 48px;
    grid-row: span 2;
  }
  .fl-pct {
    font-size: 26px;
  }

  /* 11. Chocolatier Pages */
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 12. Atelier Pages */
  .tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-grid.is-3,
  .tile-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 12. Atelier Pages */
  .stage-plate {
    min-height: 380px;
  }
  .stage-plate .tf-cake.is-xl {
    --w: 210px !important;
  }

  /* 12. Atelier Pages */
  .qty-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 15. Journal, Account & Bare Pages */
  .article-pair,
  .post-nav {
    grid-template-columns: 1fr;
  }
  .author-box {
    grid-template-columns: 1fr;
  }
  .post-quote,
  .post-link {
    padding: 36px 28px;
  }

  /* 15. Journal, Account & Bare Pages */
  .account-form {
    padding: 44px 24px;
  }

  /* 17. Footer */
  .tf-newsletter .tf-btn {
    width: 100%;
    margin-top: 10px;
  }
  .tf-newsletter .tf-input {
    flex-basis: 100%;
  }
}
