/* Yeni kahve kartları tasarımı için stiller */
.coffee-cards-section {
    margin-top: 80px;
    padding-top: 40px;
}

.coffee-card {
    background-color: #F8F1EC;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.coffee-card-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 15px;
    background-color: #e8e8df;
    height: 260px;
    padding: 10px;
}

.coffee-card-image img {
    width: 60%;
    height: auto;
    transition: transform 0.3s ease;
}

.coffee-card:hover .coffee-card-image img {
    transform: scale(1.05);
}

.add-button {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #000000a1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.add-button span {
    font-size: 18px;
    line-height: 1;
    color: #000000a1;
}

.add-button:hover {
    background-color: #333;
}

.add-button:hover span {
    color: #fff;
}

.add-button:focus {
    outline: none;
}

.add-button.no-stock {
    width: unset;
    height: unset;
    border-radius: 0px;
    background-color: #F5423E;
    border-width: 0px;
    font-size: 18px;
    font-family: 'Gotham' !important;
    font-size: 12px;
    font-weight: 300;
    padding: 4px 6px;
    cursor: not-allowed !important;
}

.add-button.no-stock span {
    line-height: 1;
    color: #fff;
    font-family: 'Gotham' !important;
    font-size: 12px;
}

.add-button.no-stock:hover {
    background-color: #F5423E;
}

.add-button.no-stock:hover span {
    color: #fff;
}

.add-button.no-stock:focus {
    outline: none;
}

.coffee-card.skeleton-loading .coffee-card-image .placeholder-image {
    animation: skeleton-loading 1s linear infinite alternate;
    width: 60%;
    height: 70%;
    border-radius: 12px;
    opacity: 0.7;
}

.coffee-card.skeleton-loading .coffee-card-info h3,
.coffee-card.skeleton-loading .coffee-card-price,
.coffee-card.skeleton-loading .coffee-card-meta {
    border-radius: 12px;
    animation: skeleton-loading 1s linear infinite alternate;
    color: transparent;
    display: table;
    opacity: 0.7;
}

.coffee-card.skeleton-loading .add-button {
    animation: skeleton-loading 1s linear infinite alternate;
    border-width: 0px;
    opacity: 0.7;
    /* color: #EDEDED;
    color: #DCDCDC;
    color: #EDEDED; */
}

.coffee-card.skeleton-loading .coffee-card-image {
    border-radius: 12px;
}

.coffee-card.skeleton-loading .add-button span{
    color: transparent;
}

.coffee-card.skeleton-loading .coffee-card-image img {
    display: none;
}

@keyframes shimmer {
	0% {
		background-position: 100% 100%;
	}
	100% {
		background-position: 0 0;
	}
}

@keyframes skeleton-loading-primary {
    0% {
        background-color: hsl(200, 20%, 70%);
    }

    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

@keyframes skeleton-loading {
    0% {
        background-color: #D4D3C2;
    }

    100% {
        background-color: #E8E8DF;
    }
}

/* Yeni kahve kartları tasarımı için stiller responsive için */
/* SM */
@media (min-width: 576px) {
    .coffee-card-image {
        height: 260px;
        padding: 60px;
    }
}
/* MD */
@media (min-width: 768px) {
    .coffee-card-image {
        height: 220px;
        padding: 14px;
    }
}
/* LG */
@media (min-width:992px) {
    .coffee-card-image {
        height: 260px;
        padding: 30px;
    }
}
/* XL */
@media (min-width:1200px) {
    .coffee-card-image {
        height: 320px;
        padding: 20px;
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .filter-top .new-label {
        margin-bottom: 8px;
        border: 1px solid #34352A;
    }

    .filter-top .new-label:not(:last-child) {
        border: 1px solid #34352A;
    }
}


/* Dropdown Styles */
.size-dropdown {
    position: absolute;
    top: 95%;
    right: 0px;
    background: #e8e8e0;
    border: 1px solid #d7d7d7;
    min-width: 134px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.size-dropdown.show {
    opacity: 1;
    /* max-height: 120px; */
    overflow-y: auto;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #f8f8f8;
}

.dropdown-option:active {
    background-color: #e8e8e8;
}

.dropdown-section {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-title {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background-color: #f8f8f8;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
}

.coffee-card-info {
    padding: 10px 0;
    text-align: start;
    font-family: 'Gotham' !important;
}

.coffee-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #34352A;
    margin-bottom: 5px;
}

.coffee-card-meta {
    font-size: 12px;
    color: #414232;
    margin-bottom: 5px;
}

.coffee-card-price {
    font-size: 16px;
    font-weight: 600;
    color: #34352A;
    margin-bottom: 0;
}

/* Ürün seçenekleri için stiller */
.product-options {
    margin-bottom: 20px;
}

.product-options label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-btn {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #333;
    background-color: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background-color: #333;
    color: white;
}

.option-btn.selected {
    background-color: #333;
    color: white;
}

@media (max-width: 768px) {
    .product-background {
        height: 250px;
    }

    .product-image {
        width: 50% !important;
        margin-top: 150px;
    }

    .product-info {
        margin-left: 0;
    }

    .add-to-cart-btn {
        display: block;
        text-align: center;
        font-size: 16px;
    }

    .product-showcase {
        margin-top: 100px;
    }
}


.image-container {
    max-height: 80%;
    max-width: 100%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}


/* CHECKBOX FILTER STYLE */

.cb-product-filter {
    font-size: 12px;
    padding-left: 28px;
}
.cb-product-filter .checkmark{
    height: 16px;
    width: 16px;
    border-radius: 0px;
}

.filter-left label.cb-product-filter .checkmark:after  {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 11px;
    border-width: 0 1px 1px 0;
}

.filter-left label.cb-product-filter {
    padding-left: 26px;
}