.pf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 8px;
}
.pf-tab {
    display: inline-flex;
    padding: 0 10px;
    height: 35px;
    border-radius: 100px;
    background: var(--white);
    font-weight: 500;
    font-size: 16px;
    color: var(--green-dark);
    align-items: center;
    white-space: nowrap;
}
.pf-tab.active, .pf-tab:hover {
    background: var(--green-dark);
    color: #fff;
}
.pf-bar {
    position: relative;
}
button {
    cursor: pointer;
}
.pf-toggle-btn {
    display: flex;
    height: 35px;
    font-weight: 400;
    font-size: 16px;
    color: var(--green-dark);
    padding: 0 9px;
    align-items: center;
    background: var(--green-light);
    border: 0;
    border-radius: 100px;
    gap: 4px;
    margin-right: 8px;
}
.pf-toggle-btn:hover {
    background: var(--green-dark);
    color: #fff;
}
.pf-toggle-btn:hover *[stroke] {
    stroke: #fff;
}
.pf-toggle-btn:hover *[fill] {
    fill: #fff;
}
.pf-count {
    background: var(--green-dark);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;transition:all linear .25s;
}
.pf-toggle-btn:hover .pf-count {
    background: #fff;
    color: var(--green-dark);
}
.pf-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 100;
    background: #fff;
    border-radius: 26px;
    min-width: 375px;
    box-shadow: 0 5px 19px 0 rgba(0, 0, 0, 0.15);
}
.pf-dropdown .content {
    padding: 16px;    
    background: var(--white);
    position: relative;
    z-index: 2;
    border-radius: 26px;
}
.pf-dropdown .overlay {
    display: none;
}
.pf-dropdown .top {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}
.pf-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 51, 51, 0.06);
    border-radius: 100%;
    transition: all linear .25s;
    padding: 0;
    padding-top: 1px;
}
.pf-close:hover {
    background: var(--green-dark);
}
.pf-close:hover svg *[stroke] {
    stroke: #fff;
}
.pf-close:hover svg *[fill] {
    fill: #fff;
}
.pf-group {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.pf-group:last-child {
    margin-bottom: 0;
}
.pf-group-label {
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    margin-bottom: 6px;
}
.pf-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    padding-top: 1px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: var(--green-dark);
    border: 1px solid #c4c4c4;
    border-radius: 169px;
    transition: all linear .25s;
    cursor: pointer;
}
.pf-chip input {
    display: none;
}
.pf-chip.is-active, .pf-chip:hover {
    color: var(--white);
    background: var(--green-dark);
    border: 1px solid #c4c4c4;
}
.pf-chip.is-active::before {
    display: block;
    width: 15px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8983 0.960782L4.89828 9.96078C4.84604 10.0131 4.784 10.0546 4.71572 10.0829C4.64743 10.1112 4.57423 10.1258 4.50031 10.1258C4.42639 10.1258 4.3532 10.1112 4.28491 10.0829C4.21662 10.0546 4.15458 10.0131 4.10234 9.96078L0.164844 6.02328C0.0592961 5.91773 0 5.77458 0 5.62531C0 5.47605 0.0592961 5.33289 0.164844 5.22734C0.270392 5.1218 0.413546 5.0625 0.562813 5.0625C0.71208 5.0625 0.855234 5.1218 0.960781 5.22734L4.50031 8.76758L13.1023 0.164844C13.2079 0.0592959 13.351 -1.11213e-09 13.5003 0C13.6496 1.11213e-09 13.7927 0.0592959 13.8983 0.164844C14.0038 0.270392 14.0631 0.413546 14.0631 0.562813C14.0631 0.71208 14.0038 0.855234 13.8983 0.960782Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: left center;
    margin-right: 9px;
    content: ' ';
}
.pf-reset {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
}
.pf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: opacity .3s;
}
.pf-grid.pf-loading {
    opacity: .4;
    pointer-events: none;
}
.pf-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
}
@media (max-width: 1200px) {
    .pf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .pf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.pf-add-to-cart {
    padding: 8px 16px;
    background: #3a4a3a;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
    white-space: nowrap;
}
.pf-add-to-cart:hover {
    background: #2a3a2a;
}
.pf-add-to-cart.pf-loading {
    opacity: .6;
    cursor: not-allowed;
}
.pf-add-to-cart.pf-added {
    background: #5a8a5a;
}
/* Toast */

.pf-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10009;
    background: #3a4a3a;
    color: #fff;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    transition: opacity .25s, transform .25s;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    pointer-events: none;
    max-width: 90vw;
}
.pf-toast.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.pf-toast.error {
    background: #c0392b;
}
.pf-category-block+.pf-category-block {
    margin-top: var(--val60);
}
.pf-category-title {
    margin: 0 0 16px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
}
.pf-products-container.pf-loading {
    opacity: .4;
    pointer-events: none;
}
/* Overlay */

.pf-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}
body.pf-modal-open {
    overflow: hidden;
}
/* Modal */

.pf-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 80%;
    max-width: 715px;
}
.pf-modal-close {
    position: absolute;
    right: -46px;
    top: 0;
    background: #fff;
}
/* Body */

.pf-modal-body {
    display: flex;
    gap: 24px;
    padding: 24px;
}
/* Image */

.pf-modal-img {
    width: 100%;
    max-width: 49%;
}
.pf-modal-info {
    width: 100%;
    max-width: 51%;
}
.pf-modal-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}
/* Info */

.pf-modal-name {
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 1px;
}
.pf-modal-desc {
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 20px;
    opacity: 0.7;
}
.pf-modal-pcs {
    font-weight: 500;
    font-size: 14px;
    margin: 0 0 16px;
    opacity: 0.85;
}
/* Атрибут-чіпи */

.pf-attr-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.pf-attr-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all linear .25s;
}
.pf-attr-chip input {
    display: none;
}
.pf-attr-chip input+span {
    border-radius: 100%;
    min-width: 16px;
    width: 16px;
    height: 16px;
    border: 2px solid #C7C7C7;
    display: block;
}
.pf-attr-chip.is-active input+span {
    background: var(--primary) url(../images/ok.svg) no-repeat center;
    border-color: var(--primary);
}
/* Footer з ціною і кількістю */

.pf-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}
.pf-modal-price {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--green-dark);
}
/* Quantity */

.pf-qty {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid #e0e0e0;
}
.pf-qty-btn {
    border-radius: 100px;
    padding: 8px;
    width: 36px;
    height: 36px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-qty-btn:hover:hover {
    background: var(--green-dark);
}
.pf-qty-btn:hover *[stroke] {
    stroke: #fff;
}
.pf-qty-btn:hover *[fill] {
    fill: #fff;
}
.pf-qty-val {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}
/* Add to cart */

.pf-modal-add-btn {
    background: var(--green-dark) !important;
    width: 100%;
    gap: 4px;
    height: 40px !important;
}
.pf-modal-add-btn:hover {
    background: var(--primary) !important;
}
.pf-modal-add-btn.pf-added {
    background: var(--primary) !important;
}
.pf-modal-add-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}
.pf-modal-loading {
    color: #999;
    font-size: 14px;
    padding: 16px 0;
}
.pf-modal-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
    grid-column: 1/3;
}
.pf-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #3a4a3a;
    border-radius: 50%;
    animation: pf-spin .7s linear infinite;
}
@keyframes pf-spin {
    to {
        transform: rotate(360deg);
    }
}
.pf-modal-error {
    text-align: center;
    padding: 40px;
    color: #c0392b;
}
/* Overlay */

.pf-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* притискаємо до правого краю */
}
/* Modal */

.pf-cart-modal {
    position: relative;
    background: #fff7ed;
    width: 100%;
    max-width: 375px;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}
.pf-cart-close {
    position: absolute;
    left: -53px;
    top: 20px;
    background: #fff;
}
.pf-cart-title {
    padding: 28px 16px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin:0;
}
/* Discount banner */

.pf-cart-discount-banner {
    margin: 0 16px 16px;
    padding: 12px 16px;
    background: #f5edd8;
    border-radius: 12px;
    font-size: 14px;
    color: #7a5c1e;
}
/* Items list */

.pf-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Item */

.pf-cart-item {
    display: grid;
    grid-template-columns: 55px 1fr 28px;
    gap: 8px;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    transition: opacity .2s;
}
.pf-cart-item.pf-removing {
    opacity: .4;
    pointer-events: none;
}
.pf-cart-item-img {
    width: 55px;
    height: 55px !important;
    align-self: flex-start;
    object-fit: cover;
    border-radius: 8px;
}
.pf-cart-item-name {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 1px;
}
.pf-cart-item-desc {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 8px;
}
.pf-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pf-cart-item-qty {
    font-weight: 500;
    font-size: 14px;
    color: var(--green-dark);
}
.pf-cart-item-price {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 12px;
    color: var(--green-dark);
}
.pf-cart-remove {
    background: #E2EADC;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-cart-remove:hover {
    background: var(--primary);
}
.pf-cart-remove:hover *[stroke] {
    stroke:#fff;
}
.pf-cart-remove:hover *[fill] {
    fill:#fff;
}
/* Footer */

.pf-cart-footer {
    background: var(--green-dark);
    color: #fff;
    padding: 20px 16px;
    border-radius: 25px 25px 0 0;
    margin-top: 20px;
}
.pf-cart-footer-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 10px;
}
.pf-cart-total-row {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 24px;
}
.pf-cart-checkout-btn {
    gap:4px;
    width: 100%;
    border:1px solid #fff;
}
.pf-cart-checkout-btn.btn-white:hover {
    border: 1px solid var(--white);
    background:transparent;
    color:#fff;
}
.pf-cart-checkout-btn.btn-white:hover *[stroke] {
    stroke:#fff;
}
.pf-cart-checkout-btn.btn-white:hover *[fill] {
    fill:#fff;
}
.pf-cart-empty {
    text-align: center;
    padding: 40px;
    color: #999;
}
.pf-product {
    padding: 16px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    flex-direction: column;
}
.pf-product .pf-product-footer {
    margin-top: auto;
    width: 100%;
}
.pf-product-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0 0 1px;
    cursor: pointer;
}
.pf-product-desc {
    font-size: 14px;
    margin: 0 0 20px;
    width: 100%;
    opacity: 0.7;
}
.pf-product .pf-product-img {
    margin-bottom: 16px;
    width: 100%;
}
.pf-product .pf-product-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
}
.pf-product .pf-product-img img[src*="placeholder"],
.pf-product .pf-product-img img[src*="prehold"],
.pf-product .pf-product-img img[data-src*="placeholder"],
.pf-product .pf-product-img img[data-src*="prehold"],
.pf-product .pf-product-img img[alt="Sōya Sushi"] {
    object-fit: cover;
    background: transparent;
    padding: 0;
}
.pd-info {
    width: 100%;
    margin-bottom: 8px;
}
.ccart .pd-info {
    margin:0;
}
.pf-modal-info .pd-info {
    padding: 0 0 20px;
    border-bottom: 1px solid var(--green-light);
    margin-bottom: 20px;
}
.pd-info .additional {
    gap: 4px;
}
.pd-info .additional img {
    display: block;
    max-height: 18px;
}
.pd-info .kcal,
.pd-info .pcs {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}
.pf-product-footer .pf-product-price {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--green-dark);
}
.pf-product-footer .btn {
    gap: 4px;
    height: 40px;
    padding: 0 10px;
}
.pf-product-footer .btn.pf-loading {
    pointer-events: none;
    opacity: 0.5;
}
.pf-products-container .promo {
    border-radius: 16px;
    margin-top: var(--val60);
    padding: 20px;
}
.pf-products-container .promo>div {
    max-width: 540px;
    margin: 0 auto;
}
.pf-products-container .promo>div img {
    max-width: 235px;
    margin-left: 40px;
    margin-top: -20px;
    margin-bottom: -20px;
}
.pf-products-container .promo .title {
    position: relative;
    margin: 0 0 10px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 26px;
    color: var(--white);
}
.pf-products-container .promo .title span {
    font-family: var(--font-family);
    background: var(--white);
    border-radius: 6px;
    padding: 3px 4px;
    font-weight: 700;
    font-size: 14px;
    color: var(--green-dark);
    position: absolute;
    left: 100%;
    display: block;
    letter-spacing: -0.03em;
    transform: translate(-50%, calc(-100% - 5px));
    top: 0;
}
.pf-products-container .promo-info .title {
    display: block;
}
.pf-products-container .promo-info .title span {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 15px;
    line-height: 1.3;
    white-space: normal;
    letter-spacing: 0;
}
.pf-products-container .promo-info > div {
    text-align: center;
}
.pf-products-container .promo-info > div img {
    display: none;
}
.pf-products-container .promo-delivery {
    background: #3B4831;
    padding: 24px 28px;
    color: #fff;
    margin: var(--val60) 0;
}
.pf-products-container .promo-delivery .delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: none;
    margin: 0;
}
.pf-products-container .promo-delivery .delivery-option {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}
.pf-products-container .promo-delivery .delivery-option svg {
    flex-shrink: 0;
    opacity: 0.9;
}
.pf-products-container .promo-delivery .delivery-option .t {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 2px;
    color: #fff;
}
.pf-products-container .promo-delivery .delivery-option .s {
    font-size: 13px;
    margin: 0;
    color: #fff;
    opacity: 0.75;
}
@media (max-width: 900px) {
    .pf-products-container .promo-delivery .delivery-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pf-products-container .promo-delivery {
        padding: 20px;
    }
}
.pf-modal-attributes {
    padding: 0 0 20px;
    border-bottom: 1px solid var(--green-light);
    margin: 0 0 20px;
}