@font-face {
  font-family: 'TT Norms Pro Serif';
  src: url('../font/TTNormsPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'TT Norms Pro Serif', sans-serif;
  background-color: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #000;
  text-decoration: none;
  border-bottom: 0;
  transition: all 0.2s ease-in-out;
}

a:hover {
  border-bottom: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 300;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #C47457;
  text-transform: uppercase;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.region-header {
  display: flex;
  padding-bottom: 20px;
}

.region-header > .container {
  padding-bottom: 0.5rem;
}

main > .container {
  padding-top: 0.5rem;
}

.header-row {
  display: flex;
  box-sizing: border-box;
  -webkit-box-align: center;
  align-items: center;
  min-width: 0px;
  min-height: 0px;
  flex-direction: row;
  height: 80px;
  flex: 0 0 auto;
  -webkit-box-pack: justify;
  justify-content: space-between;
  column-gap: 24px;
  position: relative;
  flex-wrap: nowrap;
  padding-right: 68px;
}

@media (max-width: 1024px) {
  .header-row .block-system-branding-block {

  }

}

#block-coffee-sense-cart {
  padding-left: 0;
  padding-top: 19px;
}

@media (max-width: 768px) {
  .header-row {
    flex-direction: column;
    height: 100%;
    align-items: initial;
    position: relative;
  }

  #block-coffee-sense-branding {
    margin-bottom: 5px;
    padding-left: 20px;
  }

  .slick--skin--fullscreen .slide__constrained {
    padding-left: 15px;
    padding-right: 15px;
  }

  #block-coffee-sense-main-navigation {
    margin-bottom: 10px;
  }

  #block-coffee-sense-senseloginformpopup {
    position: absolute;
    right: 60px;
    top: 14px;
    padding-top: 0;
  }

  #block-coffee-sense-cart {
    position: absolute;
    right: 0;
    top: 14px;
    padding-top: 0;
  }
}


.header-row > * {
  width: initial;
}

.header-row nav.navigation .nav-link {
  padding: 0;
  margin-top: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .header-row nav.navigation .nav-link {
    margin-right: 5px;
  }
}


.header-row .block-system-branding-block {
  display: flex;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding-left: 68px;
}

@media (max-width: 768px) {
  .header-row .block-system-branding-block {
    max-width: 120px;
  }
}

.header-row nav.navigation {
  display: flex;
  box-sizing: border-box;
  max-width: 100%;
  -webkit-box-align: center;
  align-items: center;
  min-width: 0px;
  min-height: 0px;
  flex-direction: row;
  flex: 1 1 auto;
  justify-content: space-around;
  padding-top: 15px;
}

.header-row .block-commerce-cart {
  display: flex;
  box-sizing: border-box;
  max-width: 100%;
  -webkit-box-align: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  flex-direction: row;
  flex: 0 0 auto;
  justify-content: space-around;
}

.header-row nav.navigation ul {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.header-row .navbar-brand img {
  height: 40px;
}

@media (max-width: 1024px) {
  .header-row nav.navigation ul {

  }
}
@media (max-width: 768px) {
  .header-row nav.navigation ul {
    min-width: 320px;
  }
}

.header-row nav.navigation ul li {
  flex: 1;
  text-align: center;
}

.block-sense-login-popup {
  padding-right: 0;
  padding-top: 14px;
}

.block-sense-login-popup a {
  text-decoration: none;
}

.block-sense-login-popup a:hover {
  text-decoration: none;
  border-bottom: 0;
}


.block-page-title-block {
  margin-bottom: 30px;
}

.block-page-title-block h1 {
  text-align: center;
  padding-bottom: 30px;
}

.view-shop .views-view-responsive-grid__item {
  border: 1px solid #ddd;
}

.view-shop .views-view-responsive-grid__item .views-view-responsive-grid__item-inner {
  height: 100%;
}

.commerce-product--view-mode-shop-item {
  position: relative;
  height: 100%;
}

.commerce-product--view-mode-shop-item .field--name-dynamic-token-fieldcommerce-product-show-more {
  text-align: center;
  position: absolute;
  bottom: 5px;
  width: 100%;
}

.commerce-product--view-mode-shop-item .field--name-field-coffee-image .media--blazy {

}

.commerce-product--view-mode-shop-item .field--name-title {
  padding: 5px 15px;
  text-align: center;
}

.commerce-product--view-mode-shop-item .commerce-from-price-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.commerce-product--view-mode-shop-item .commerce-from-price-wrapper .commerce-from-price  {
  display: inline-block;
  margin-right: 3px;
}

.commerce-product--view-mode-shop-item .commerce-from-price-wrapper .label-after {
  display: inline-block;
}



.block-views-blockhero-banner-block-1 {
  position: relative;
  right: 50%;
  left: 50%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 100vw;
  -ms-flex: 0 0 100vw;
  flex: 0 0 100vw;
  width: 100vw;
  max-width: none;
  margin-right: -50vw !important;
  margin-left: -50vw !important;
}


.layout-builder .block-views-blockhero-banner-block-1 {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 auto !important;
  flex: none;
  max-width: 100%;
  left: initial;
  right: initial;
}

.dialog-off-canvas-main-canvas{
  overflow: auto !important;
}

article.node--type-page .layout__region--content > * {
  margin-bottom: 30px;
}

footer {
  border-top: 2px solid rgb(52, 52, 52);
  padding-top: 5px;
}

footer .region-footer {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 30px;
}

footer .region-footer nav {
  margin-left: auto;
}

footer .region-footer .navbar-nav li a:first-child {
  padding-top: 0;
}

#block-coffee-sense-menubybrewmethod .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

#block-coffee-sense-menubybrewmethod {
  margin-bottom: 50px;
}

#block-coffee-sense-branding a:hover {
  border-bottom: 0;
}

#block-coffee-sense-main-navigation a.active{
  text-decoration: underline #C47457;
}

#block-coffee-sense-menubybrewmethod a.active{
  text-decoration: underline #C47457;
}

.slick--view--hero-banner .views-field-body {
  max-width: 60%;
}

.slick--view--hero-banner .buy-btn .btn, .add-to-cart-link.btn {
  background-color: #C47457;
  border: 0;
  color: #fff;
}

.slick--view--hero-banner .buy-btn .btn:hover, .add-to-cart-link.btn:hover {
  background-color: #A85C42;
}
/*
.commerce-product--type-coffee {
  padding: 1rem;
}*/

/* Product Title H1 */
.product-title {
  font-size: 32px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 20px;
  color: #C47457;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .product-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
}

.field--name-dynamic-twig-fieldcommerce-product-product-weights .variation-cart-forms .variation-cart-form,  .field--name-dynamic-twig-fieldcommerce-product-product-weight-shop-item .variation-cart-forms .variation-cart-form{
  display: none;
}

.field--name-dynamic-twig-fieldcommerce-product-product-weights .variation-cart-forms .variation-cart-form.is-active, .field--name-dynamic-twig-fieldcommerce-product-product-weight-shop-item .variation-cart-forms .variation-cart-form.is-active {
  display: block;
  text-align: right;
}

/* Unified selector wrapper styles */
.variation-selector-wrapper {
  /*margin: 20px 0;*/
}

/* Section labels - unified style */
.variation-selector-wrapper .section-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Weight selector - unified with grinding style */
.variation-selector-wrapper .variation-weights-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0 0 17px 0;
  padding: 0;
  flex-wrap: wrap;
}

.variation-selector-wrapper .variation-weights-list li {
  list-style: none;
  padding: 8px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  min-width: 60px;
  text-align: center;
}

.variation-selector-wrapper .variation-weights-list li:hover {
  border-color: #C47457;
  background-color: rgba(196, 116, 87, 0.05);
  box-shadow: 0 2px 8px rgba(196, 116, 87, 0.15);
}

.variation-selector-wrapper .variation-weights-list li.is-active {
  background-color: #C47457;
  border-color: #C47457;
  box-shadow: 0 3px 10px rgba(196, 116, 87, 0.3);
}

.variation-selector-wrapper .variation-weights-list li.is-active a {
  color: #fff;
  font-weight: normal;
}

.variation-selector-wrapper .variation-weights-list li a {
  color: #333;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.variation-selector-wrapper .variation-weights-list li a:hover {
  border-bottom: 0;
}

/* Grinding selector styles - refined */
.grinding-selector-wrapper {
  margin-bottom: 20px;
}

.grinding-selector-wrapper .grinding-selector-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.grinding-selector-wrapper .grinding-options-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.grinding-selector-wrapper .grinding-options-list li {
  list-style: none;
  padding: 8px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  min-width: 80px;
  text-align: center;
}

.grinding-selector-wrapper .grinding-options-list li:hover {
  border-color: #C47457;
  background-color: rgba(196, 116, 87, 0.05);
  box-shadow: 0 2px 8px rgba(196, 116, 87, 0.15);
}

.grinding-selector-wrapper .grinding-options-list li.is-active {
  background-color: #C47457;
  border-color: #C47457;
  box-shadow: 0 3px 10px rgba(196, 116, 87, 0.3);
}

.grinding-selector-wrapper .grinding-options-list li.is-active a {
  color: #fff;
  font-weight: normal;
}

.grinding-selector-wrapper .grinding-options-list li a {
  color: #333;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.grinding-selector-wrapper .grinding-options-list li a:hover {
  border-bottom: 0;
}

/* Add to cart button - enhanced with icon */
.add-to-cart-link.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(196, 116, 87, 0.3);
  min-width: 200px;
}

.add-to-cart-link.btn:hover {
  box-shadow: 0 4px 12px rgba(196, 116, 87, 0.4);
}

.add-to-cart-link.btn:active {
  box-shadow: 0 2px 5px rgba(196, 116, 87, 0.3);
}

/* Cart icon using pseudo-element */
.add-to-cart-link.btn::before {
  content: "🛒";
  font-size: 18px;
  line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .variation-selector-wrapper .variation-weights-list,
  .grinding-selector-wrapper .grinding-options-list {
    gap: 6px;
  }

  .variation-selector-wrapper .variation-weights-list li,
  .grinding-selector-wrapper .grinding-options-list li {
    padding: 7px 12px;
    font-size: 13px;
    min-width: 55px;
  }

  .add-to-cart-link.btn {
    padding: 9px 16px;
    font-size: 14px;
    width: 100%;
  }
}

.commerce-product--view-mode-shop-item .product-details {
  position: relative;
}

.commerce-product--view-mode-shop-item .product-details h4 {
  font-size: 1.1rem;
  max-width: 75%;
}

.commerce-product--view-mode-shop-item .product-details .variation-selector-wrapper .variation-weights-list li {
  padding: 1px 5px;
  border-radius: 0;
  border: 1px solid #000;
  min-width: 90px;
}
.commerce-product--view-mode-shop-item .product-details .grinding-options-list {

}

.commerce-product--view-mode-shop-item .product-details .grinding-options-list .grinding-options-list li {
  padding: 1px 5px;
  border-radius: 0;
  border: 1px solid #000;
  min-width: 75px;
}

.commerce-product--view-mode-shop-item .product-details .grinding-selector-wrapper .grinding-options-list li {
  padding: 1px 5px;
  border-radius: 0;
  border: 1px solid #000;
  min-width: 75px;
}

.commerce-product--view-mode-shop-item .product-details .grinding-selector-wrapper .grinding-options-list li.is-active, .commerce-product--view-mode-shop-item .product-details .grinding-options-list li.is-active, .commerce-product--view-mode-shop-item .product-details .variation-selector-wrapper .variation-weights-list li.is-active {
  border:0;
  font-weight: normal;
}

.commerce-product--view-mode-shop-item .product-details .grinding-selector-wrapper {
  padding-right: 90px;
}

.commerce-product--view-mode-shop-item .product-details .variation-cart-forms {
  position: absolute;
  right: 12px;
  top: 33px;
  width: 83px;
}

.commerce-product--view-mode-shop-item .product-details .section-label, .commerce-product--view-mode-shop-item .product-details .grinding-selector-label {
  display: none;
}

.commerce-product--view-mode-shop-item .add-to-cart-link {
  background-color: transparent;
  color: #000;
}

.commerce-product--view-mode-shop-item .add-to-cart-link::before {
  content: "";
  font-size: 18px;
  line-height: 1;
  display: none;
}


.commerce-product--view-mode-shop-item .product-add-to-cart-avoska {
  /*position: absolute;
  right: 0;
  bottom: 0;*/
  background-color: #C47457;
}

.commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form {
  display: none;
}

.commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form.is-active{
  display: block;
}

.commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form a {
  background: url("../img/avoska.png") no-repeat center center;
  width: 70px;
  height: 55px;
  margin: 6px;
  display: block;
  background-size: contain;
}

.commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form span {
  display: none;
}

.commerce-product--view-mode-shop-item .text-formatted {
  color: gray;
  min-height: 75px;
}

@media (min-width: 90em) {
  .slick--skin--fullscreen .slide__constrained {
    width: 100%;
    margin-left: 48px;
    left: 0;
  }
}

@media (max-width: 1024px) {
  .commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form a {
    width: 60px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .commerce-product--view-mode-shop-item .product-add-to-cart-avoska .avoska-cart-form a {
    width: 70px;
    height: 57px;
  }
}

.commerce-product--view-mode-shop-item .grinding-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.commerce-product--view-mode-shop-item .grinding-buttons .btn {
  border: 1px solid #000;
  min-width: 75px;
  padding: 1px 5px;
  background: #fff;
  margin: 0;
  border-radius: 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  appearance: none;
  text-align: center;
  text-align-last: center;
  text-transform: capitalize;
  width: 90px;
}

.commerce-product--view-mode-shop-item .grinding-buttons .btn.is-active {
  background-color: #C47457;
  box-shadow: 0 3px 10px rgba(196, 116, 87, 0.3);
  color: #fff;
  border: 0;
  height: 25px;
}

.view-shop {
  padding-left: 18px;
  padding-right: 18px;
}

.view-shop .product-details {
  padding: 12px;
}

.view-shop .views-view-responsive-grid__item {
  margin: 10px;
}

.field--name-dynamic-twig-fieldcommerce-product-product-weight-shop-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

