@charset "utf-8";

/*
Theme Name: Espressa - Coffee Roastery & Espresso Bar HTML5 Template
Author: Metropolitanthemes
Version: 1.0.0

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

/*======================
(min-width: 1200px)
========================*/
@media (min-width: 1200px) {
  /* 3. Header */
  .header-style-two {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    border-right: 1px solid var(--es-line-2);
  }
  .header-style-two .header-main,
  .header-style-two .side-wrap {
    height: 100%;
  }
  .header-style-two .side-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 40px 34px;
    overflow-y: auto;
  }
  .header-style-two .es-nav {
    display: block;
    margin: 0;
  }
  .header-style-two .es-nav > ul {
    flex-direction: column;
    gap: 4px;
  }
  .header-style-two .es-nav > ul > li > a {
    padding: 8px 0;
    font-size: 15px;
  }
  .header-style-two .es-nav > ul > li > a i {
    transform: rotate(-90deg);
  }
  .header-style-two .es-nav > ul > li:hover > a i {
    transform: rotate(-90deg) translateY(3px);
  }
  .header-style-two .es-nav .sub-menu {
    top: -14px;
    left: calc(100% + 30px);
    transform: translateX(-12px);
  }
  .header-style-two .es-nav li:hover > .sub-menu,
  .header-style-two .es-nav li:focus-within > .sub-menu {
    transform: translateX(0);
  }
  .header-style-two .es-nav .sub-menu::before {
    left: -34px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 34px;
    height: auto;
  }
  .header-style-two .es-nav .has-mega {
    position: relative;
  }
  .header-style-two .es-nav .mega-menu {
    top: -30px;
    left: calc(100% + 30px);
    width: 760px;
    transform: translateX(-12px);
  }
  .header-style-two .es-nav .has-mega:hover > .mega-menu,
  .header-style-two .es-nav .has-mega:focus-within > .mega-menu {
    transform: translateX(0);
  }
  .header-style-two .es-nav .mega-menu::before {
    left: -34px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 34px;
    height: auto;
  }
  .header-style-two .side-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    text-align: center;
  }
  .header-style-two .header-actions {
    margin: 0;
  }
  .header-style-two .es-menu-toggle {
    display: none;
  }
  .es-header.header-style-two .es-nav .sub-menu .sub-menu {
    left: 100%;
    right: auto;
  }
  .has-side-header .main-root,
  .has-side-header .es-footer {
    margin-left: 300px;
  }
  /* beside the side header the container fills its column: give the widest gutters room */
  .has-side-header .main-root .container,
  .has-side-header .es-footer .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

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

  /* 3. Header */
  .header-actions .header-btn {
    display: inline-flex;
  }

  /* 11. Home 03 - Coffee Club */
  .strip-track {
    padding: 0 max(24px, calc((100vw - 1440px) / 2 + 12px));
  }
}

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

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

  /* 3. Header */
  .es-header .wide {
    padding: 0 28px;
  }
  .header-main .wide {
    gap: 28px;
  }

  /* 3. Header */
  .es-nav > ul {
    gap: 26px;
  }
  .es-nav > ul > li > a {
    font-size: 14px;
  }
  /* the third level opens left only where a right one would leave the window */
  .es-nav > ul > li:nth-last-child(-n+3) .sub-menu .sub-menu {
    left: auto;
    right: 100%;
  }

  /* 10. Home 02 - Espresso Bar */
  .hm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 18. Footer */
  .footer-bean {
    width: 280px;
    height: 280px;
    right: -30px;
  }
}

/*======================
(max-width: 1199px)
========================*/
@media (max-width: 1199px) {
  /* 3. Header */
  .es-nav {
    display: none;
  }
  .es-menu-toggle {
    display: inline-flex;
  }
  .header-main .wide {
    height: 86px;
  }
  .header-top .top-right > a {
    display: none;
  }

  /* 8. Hero Sliders */
  .hero-copy {
    max-width: 560px;
  }

  /* 14. Club Builder & Brew Guide */
  .method-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 17. Subheader */
  .es-subheader {
    padding: 200px 0 100px;
  }

  /* 18. Footer */
  .footer-bean {
    position: relative;
    right: auto;
    top: auto;
    width: 240px;
    height: 240px;
    margin: -40px auto 0;
  }
}

/*======================
(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;
  }
  .es-sketch {
    width: 200px;
  }

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

  /* 8. Hero Sliders */
  .es-hero .swiper-slide {
    min-height: 720px;
  }
  .hero-copy {
    margin: 0 auto;
  }
  .es-hero .swiper-slide::after {
    background: rgba(28, 22, 18, 0.66);
  }
  .hero-prev,
  .hero-next {
    top: auto;
    bottom: 22px;
    margin-top: 0;
    width: 48px;
    height: 48px;
  }
  .hero-prev {
    left: calc(50% - 120px);
  }
  .hero-next {
    right: calc(50% - 120px);
  }
  .hero-count {
    bottom: 36px;
  }

  /* 9. Home 01 - Roastery */
  .roast-tray-wrap {
    margin: 20px auto 0;
  }

  /* 9. Home 01 - Roastery */
  .club-band {
    padding: 90px 0;
  }

  /* 11. Home 03 - Coffee Club */
  .bag-feats.is-start li {
    flex-direction: row;
    text-align: left;
  }
  .bag-feats {
    gap: 30px;
  }

  /* 11. Home 03 - Coffee Club */
  .split-hours {
    grid-template-columns: 1fr;
  }
  .sh-photo {
    min-height: 380px;
  }
  .sh-copy {
    padding: 70px 24px;
  }

  /* 12. Inner Pages */
  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step::after {
    display: none;
  }

  /* 12. Inner Pages */
  .faq-side {
    position: static;
  }

  /* 13. Coffee Pages */
  .od-side {
    position: static;
  }

  /* 13. Coffee Pages */
  .cd-book {
    position: static;
  }

  /* 14. Club Builder & Brew Guide */
  .club-summary {
    position: static;
  }

  /* 15. Bean Shop */
  .order-summary {
    position: static;
  }

  /* 16. Blog & Account */
  .account-wrap {
    grid-template-columns: 1fr;
  }
  .account-side {
    min-height: 460px;
  }
}

/*======================
(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-wish,
  .header-actions .es-theme-toggle {
    display: none;
  }

  /* 7. Components */
  .es-bar-card {
    grid-template-columns: 1fr;
  }
  .bar-img img {
    min-height: 240px;
  }
  .bar-body {
    padding: 28px 24px;
  }

  /* 9. Home 01 - Roastery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 10. Home 02 - Espresso Bar */
  .bar-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bar-mosaic .mosaic-big {
    grid-column: span 2;
    grid-row: auto;
  }
  .bar-mosaic img {
    aspect-ratio: 1 / 1;
  }
  .bar-mosaic .mosaic-big img {
    aspect-ratio: 16 / 10;
  }

  /* 10. Home 02 - Espresso Bar */
  .bar-map .container {
    align-items: flex-end;
    padding-bottom: 24px;
  }

  /* 13. Coffee Pages */
  .harvest-cal {
    padding: 22px 16px;
  }
  .harvest-cal .hc-head,
  .harvest-cal li {
    grid-template-columns: 86px 1fr;
    gap: 8px;
  }
  .hc-m {
    font-size: 9px;
    letter-spacing: 0;
  }
  .harvest-cal li b {
    font-size: 13px;
  }

  /* 13. Coffee Pages */
  .bars-list .es-bar-card:nth-child(2n) .bar-img {
    order: 0;
  }

  /* 14. Club Builder & Brew Guide */
  .bt-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .bt-now .es-btns {
    justify-content: center;
  }
  .brew-timer {
    padding: 32px 22px;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 15. Bean Shop */
  .bag-line,
  .bag-lines.is-wish .bag-line {
    grid-template-columns: 80px 1fr 40px;
    gap: 14px 18px;
  }
  .bag-line .es-qty,
  .bag-line .bl-total,
  .bag-lines.is-wish .bag-line .es-btn {
    grid-column: 2;
  }
  .bag-line .bl-total {
    text-align: left;
  }
  .bl-remove {
    grid-row: 1;
    grid-column: 3;
  }

  /* 16. Blog & Account */
  .author-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
  .comment-list ul {
    padding-inline-start: 30px;
  }
  .post-nav b {
    display: none;
  }
  .article-rows > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .article-quote {
    padding: 30px 24px;
  }

  /* 17. Subheader */
  .es-subheader {
    padding: 170px 0 84px;
  }
  .es-subheader .sub-seal {
    width: 130px;
    height: 130px;
    right: -20px;
  }

  /* 18. Footer */
  .es-footer {
    padding-top: 80px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/*======================
(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;
  }
  body {
    font-size: 15.5px;
  }
  .es-lead {
    font-size: 16.5px;
  }

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

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

  /* 2. Preloader & Reveals */
  .es-preloader .pre-pile {
    transform: scale(0.8);
  }

  /* 3. Header */
  .es-header .wide {
    padding: 0 16px;
  }
  .header-main .wide {
    height: 74px;
  }
  .es-logo img {
    height: 40px;
  }
  .header-actions {
    gap: 8px;
  }

  /* 3. Header */
  .es-header.is-sticky .header-main .wide {
    height: 68px;
  }

  /* 8. Hero Sliders */
  .es-hero .swiper-slide {
    min-height: 680px;
  }
  .hero-seal {
    width: 96px;
    height: 96px;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  /* 9. Home 01 - Roastery */
  .roast-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
  }
  .roast-readout {
    gap: 24px;
  }
  .roast-tray .es-bean {
    width: 20px;
    height: 27px;
  }

  /* 9. Home 01 - Roastery */
  .review-slider-wrap {
    padding: 34px 24px 30px;
  }

  /* 10. Home 02 - Espresso Bar */
  .shot-dial {
    width: 280px;
    height: 280px;
  }
  .shot-dial .dial-in b {
    font-size: 64px;
  }
  .shot-read b {
    font-size: 19px;
  }

  /* 10. Home 02 - Espresso Bar */
  .hm-grid {
    grid-template-columns: 1fr;
  }
  .hm-photo {
    min-height: 240px;
  }

  /* 11. Home 03 - Coffee Club */
  .strip-item {
    width: 280px;
  }
  .strip-track {
    gap: 18px;
  }

  /* 12. Inner Pages */
  .es-panel {
    padding: 32px 22px 28px;
  }

  /* 12. Inner Pages */
  .process-row {
    grid-template-columns: 1fr;
  }
  .founder-quote {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    text-align: center;
  }
  .founder-quote .es-face {
    grid-row: auto;
    margin: 0 auto;
  }

  /* 14. Club Builder & Brew Guide */
  .club-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 14. Club Builder & Brew Guide */
  .grind-guide li {
    grid-template-columns: 96px 1fr 64px;
    gap: 6px 10px;
  }
  .brew-dial {
    width: 240px;
    height: 240px;
  }

  /* 16. Blog & Account */
  .blog-post.is-quote {
    padding: 40px 26px;
  }
  .bp-glyph {
    right: 20px;
    font-size: 80px;
  }
  .post-date {
    left: 16px;
    width: 64px;
    height: 70px;
  }
  .post-date b {
    font-size: 26px;
  }

  /* 16. Blog & Account */
  .account-form,
  .account-side {
    padding: 40px 24px;
  }

  /* 16. Blog & Account */
  .launch-count {
    grid-template-columns: repeat(2, 1fr);
  }
  .launch-count b {
    font-size: 36px;
  }

  /* 17. Subheader */
  .es-subheader {
    padding: 150px 0 70px;
  }
}
