/* =========================================================
   SHOP — WEIGHT
   ========================================================= */

.coffee-variations {
    margin-top: auto;
}


.coffee-variation-options {
	display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}


.coffee-variation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
	border-radius: 8px;
}


.coffee-variation:hover,
.coffee-variation.is-selected {
    border-color: #222;
}


.coffee-variation.is-selected {
    box-shadow:
        inset 0 0 0 1px #222;
}


.coffee-variation-weight {
    font-weight: 600;
}


.coffee-variation-label {
    margin-top: 3px;

    font-size: 12px;
    line-height: 1.3;
}


.coffee-variation-price-100g {
    margin-top: 5px;

    font-size: 12px;
}


.coffee-variation-price-100g .woocommerce-Price-amount {
    font-weight: 500;
}


.coffee-variation-price {
    margin-top: 3px;

    font-weight: 600;
}


/* =========================================================
   SHOP — ADD TO CART
   ========================================================= */

.coffee-add-to-cart, .wc-block-cart__submit-container a.wc-block-cart__submit-button, button.wc-block-components-checkout-place-order-button {
    margin-top: 10px;
    padding: 10px 18px;
    border: 0;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition:
        opacity .2s ease,
        background-color .2s ease;
display: block;
  width: 100%;
	border-radius: 8px;
}


.coffee-add-to-cart:hover {
    background: #000;
}


.coffee-add-to-cart:disabled {
    opacity: .5;
    cursor: not-allowed;
}


.coffee-add-to-cart.is-loading {
    opacity: .6;
    cursor: wait;
}


.coffee-add-to-cart.is-added {
    background: #438a43;
}


/* =========================================================
   CART MESSAGE
   ========================================================= */

.coffee-cart-message {
    font-size: 13px;
}


.coffee-cart-message.is-success {
    color: #438a43;
	text-align: center;
	margin-top: 7px
}


.coffee-cart-message.is-error {
    color: #c0392b;
	text-align: center;
	margin-top: 7px
}


/* =========================================================
   SIMPLE PRODUCT NOTICE
   ========================================================= */

.simple-cart-notice {
    margin-top: 7px;

    font-size: 13px;

    opacity: 0;

    transition:
        opacity .2s ease;
}


.simple-cart-notice.is-visible {
    opacity: 1;
}


/* =========================================================
   SINGLE PRODUCT
   ========================================================= */

.coffee-product-variations {
    margin-bottom: 20px;
}


.coffee-product-option {
    margin-bottom: 20px;
}


.coffee-product-option-title {
    margin-bottom: 8px;

    font-weight: 600;
}


/* =========================================================
   SINGLE PRODUCT — WEIGHT
   ========================================================= */

.coffee-product-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.coffee-product-variation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	min-width: 105px;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


.coffee-product-variation:hover,
.coffee-product-variation.is-selected {
    border-color: #222;
}


.coffee-product-variation.is-selected {
    box-shadow:
        inset 0 0 0 1px #222;
}


.coffee-product-variation-weight {
    font-weight: 600;
}


.coffee-product-variation-label {
    margin-top: 3px;

    font-size: 12px;
}


.coffee-product-variation-price-100g {
    margin-top: 6px;

    font-size: 13px;
}


.coffee-product-variation-price {
    margin-top: 3px;

    font-weight: 600;
}


/* =========================================================
   SINGLE PRODUCT — GRIND
   ========================================================= */

.coffee-grind-selector {
    margin-top: 20px;
    margin-bottom: 20px;
}


.coffee-grind-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.coffee-grind-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
	border-radius: 8px;
}


.coffee-grind-option:hover,
.coffee-grind-option.is-selected {
    border-color: #222;
}


.coffee-grind-option.is-selected {
    box-shadow:
        inset 0 0 0 1px #222;
}


/* =========================================================
   CART BADGE
   ========================================================= */

.cart-contents {
    position: relative;
}


.cart-contents-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    border-radius: 50%;

    font-size: 11px;
    line-height: 1;

    background: #222;
    color: #fff;
}

 /* -------------------------------------------------
         * PRODUCT TAGS
         * ------------------------------------------------- */

.coffee-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.coffee-product-tag {
    display: inline-block;
    text-decoration: none;
	background-color: #3b7a57;
	padding: 4px;
	border-radius: 4px;
	color: #fff;
	font-size: 12px;
}

.coffee-product-tag a{
	color: #fff;
}
a.coffee-product-tag:hover{
	text-decoration: none;
	color: #FF8E00;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .coffee-product-variation,
    .coffee-variation {
        flex: 1 1 auto;
    }

    .coffee-product-variation-options,
    .coffee-variation-options,
    .coffee-grind-options {
        gap: 6px;
    }

}