/* Filter */
.gfpa-widget {
    position: relative;
    font-family: Arial, sans-serif;
}

.gfpa-filter-toggle-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
    position: relative;
}

.gfpa-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    transition: all .25s ease;
    box-sizing: border-box;
}

.gfpa-filter-toggle:hover {
    background: #333333;
    color: #ffffff;
}

.gfpa-filter-toggle-icon,
.gfpa-filter-toggle-icon i,
.gfpa-filter-toggle-icon svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpa-filter-wrap {
    position: relative;
}

.gfpa-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

.gfpa-filter-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    overflow-y: auto;
    transition: .3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.gfpa-filter-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: #111111;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.gfpa-filter-wrap.active .gfpa-filter-overlay {
    opacity: 1;
    visibility: visible;
}

.gfpa-filter-wrap.active .gfpa-filter-panel {
    left: 0;
}

.gfpa-panel {
    width: 100%;
    max-width: 380px;
    background: #f7f5f1;
    border: 1px solid #d9cfbf;
    border-radius: 16px;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.gfpa-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #d9cfbf;
    box-sizing: border-box;
}

.gfpa-panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111111;
}

.gfpa-panel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gfpa-clear-btn {
    background: #111111;
    color: #c89b49;
    border: 1px solid transparent;
    border-radius: 6px;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all .2s ease;
}

.gfpa-accordion-item {
    border-bottom: 1px solid #d9cfbf;
}

.gfpa-accordion-item:last-child {
    border-bottom: none;
}

.gfpa-accordion-button {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
}

.gfpa-accordion-text {
    color: #8a7556;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

.gfpa-accordion-icon {
    color: #8a7556;
    font-size: 16px;
    transform: rotate(90deg);
    transition: 0.2s ease;
    flex-shrink: 0;
}

.gfpa-accordion-item.is-open .gfpa-accordion-icon {
    transform: rotate(-90deg);
}

.gfpa-accordion-content {
    display: none;
    padding: 14px 18px 18px;
    box-sizing: border-box;
}

.gfpa-accordion-item.is-open .gfpa-accordion-content {
    display: block;
}

.gfpa-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gfpa-check-item {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.gfpa-check-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #b79149;
}

.gfpa-check-text {
    font-size: 15px;
    color: #111111;
}

.gfpa-count-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #efe8dd;
    color: #a08863;
    font-size: 12px;
    border-radius: 999px;
}

.gfpa-filter-range-wrap {
    width: 100%;
    padding-top: 2px;
    --gfpa-range-active: #b79149;
    --gfpa-range-inactive: #d9d9d9;
}

.gfpa-filter-range-box {
    position: relative;
    width: 100%;
    height: 26px;
    margin-bottom: 14px;
    background: linear-gradient(to right, var(--gfpa-range-inactive) 0%, var(--gfpa-range-inactive) 100%);
    border-radius: 999px;
}

.gfpa-filter-range {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 26px;
    margin: 0;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.gfpa-filter-range::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border: 0;
}

.gfpa-filter-range::-moz-range-track {
    height: 6px;
    background: transparent;
    border: 0;
}

.gfpa-filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b79149;
    border: 2px solid #b79149;
    cursor: pointer;
    margin-top: -6px;
    pointer-events: auto;
    box-shadow: 0 0 0 2px #fff;
}

.gfpa-filter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b79149;
    border: 2px solid #b79149;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 0 2px #fff;
}

.gfpa-filter-range-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.gfpa-filter-range-separator {
    color: #8a7556;
    font-size: 15px;
    font-weight: 700;
}

.gfpa-filter-range-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d9cfbf;
    border-radius: 8px;
    background: #faf7f2;
    color: #8a7556;
    padding: 8px 12px;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    text-align: center;
}

.gfpa-filter-close-wrap {
    text-align: right;
    margin-bottom: 10px;
}

.gfpa-filter-close {
    border: none;
    background: #111111;
    color: #ffffff;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    padding: 6px;
}

.gfpa-filter-close i,
.gfpa-filter-close svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gfpa-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.gfpa-rating-star,
.gfpa-rating-star i,
.gfpa-rating-star svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpa-filter-toggle-icon,
.gfpa-filter-toggle-icon i,
.gfpa-filter-toggle-icon svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpa-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gfpa-color-item {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.gfpa-color-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gfpa-color-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #d9cfbf;
    display: block;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.gfpa-color-item input:checked + .gfpa-color-circle {
    outline: 2px solid #111111;
    outline-offset: 2px;
    transform: scale(1.03);
}

.gfpa-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gfpa-size-item {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.gfpa-size-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gfpa-size-text {
    min-width: 40px;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid #d9cfbf;
    border-radius: 8px;
    background: #fbfaf6;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.gfpa-size-item input:checked + .gfpa-size-text {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.gfpa-rating-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gfpa-rating-item {
    display: grid;
    grid-template-columns: 18px auto 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.gfpa-rating-item input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #b79149;
}

.gfpa-rating-label-text {
    font-size: 14px;
    color: #c79a49;
    letter-spacing: 1px;
    white-space: nowrap;
}

.gfpa-rating-bar {
    height: 4px;
    border-radius: 999px;
    background: #ece6dd;
    display: block;
}

.gfpa-rating-bar-5 { width: 100%; }
.gfpa-rating-bar-4 { width: 72%; }
.gfpa-rating-bar-3 { width: 45%; }
.gfpa-rating-bar-2 { width: 24%; }

.gfpa-offer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gfpa-offer-item {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.gfpa-offer-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gfpa-offer-chip {
    min-height: 34px;
    padding: 8px 14px;
    border: 1px solid #d9cfbf;
    border-radius: 18px;
    background: #fbfaf6;
    color: #111111;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.gfpa-offer-item input:checked + .gfpa-offer-chip {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

body.gfpa-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .gfpa-filter-toggle {
        display: inline-flex;
    }

    .gfpa-panel {
        max-width: 100%;
    }
}

@media (min-width: 1025px) {
    .gfpa-filter-overlay,
    .gfpa-filter-close {
        display: none;
    }

    .gfpa-filter-panel {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        background: transparent;
        z-index: 1;
        overflow: visible;
        transition: none;
        padding: 0;
    }
}

@media (max-width: 767px) {
    .gfpa-panel-top {
        padding: 12px 14px;
    }

    .gfpa-accordion-button,
    .gfpa-accordion-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .gfpa-clear-btn {
        min-height: 40px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .gfpa-price-input {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .gfpa-check-text {
        font-size: 14px;
    }

    .gfpa-filter-panel {
        width: 300px;
        max-width: 88vw;
    }
}

/* Product Grid */
.gfpa-products-widget {
    position: relative;
}

.gfpa-products-widget.gfpa-loading {
    opacity: .6;
    pointer-events: none;
}

.gfpa-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gfpa-products-count {
    font-size: 15px;
    color: #8a847b;
}

.gfpa-prod-sort-select {
    min-width: 180px;
    height: 40px;
    border: 1px solid #ddd5c8;
    border-radius: 6px;
    background-color: #fff;
    color: inherit;
    padding: 0 38px 0 12px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'><path d='M5 7.5L10 12.5L15 7.5' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: var(--gfpa-sort-arrow-size, 12px);
}

.gfpa-prod-toolbar-right {
    display: flex;
    align-items: center;
}

.gfpa-prod-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gfpa-products-widget[data-desktop-columns="1"] .gfpa-prod-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.gfpa-products-widget[data-desktop-columns="2"] .gfpa-prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gfpa-products-widget[data-desktop-columns="3"] .gfpa-prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gfpa-products-widget[data-desktop-columns="4"] .gfpa-prod-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .gfpa-products-widget[data-tablet-columns="1"] .gfpa-prod-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-tablet-columns="2"] .gfpa-prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-tablet-columns="3"] .gfpa-prod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-tablet-columns="4"] .gfpa-prod-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .gfpa-products-widget[data-mobile-columns="1"] .gfpa-prod-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-mobile-columns="2"] .gfpa-prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-mobile-columns="3"] .gfpa-prod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .gfpa-products-widget[data-mobile-columns="4"] .gfpa-prod-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.gfpa-prod-card {
    border: 1px solid #ddd5c8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gfpa-prod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.gfpa-prod-thumb {
    position: relative;
    height: 320px;
    background: #efebe3;
    overflow: hidden;
}

.gfpa-prod-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.gfpa-prod-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gfpa-prod-offer-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fbf0dd;
    color: #d78a1c;
}

.gfpa-prod-wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 1px solid #e1d9ea;
    border-radius: 50%;
    background: #fff;
    color: #d9c8ef;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
    transition: all .25s ease;
}

.gfpa-prod-wishlist-btn:hover {
    transform: scale(1.05);
}

.gfpa-prod-wishlist-btn,
.gfpa-prod-wishlist-btn i,
.gfpa-prod-wishlist-btn svg,
.gfpa-prod-wishlist-btn svg path {
    color: inherit;
    fill: currentColor;
    stroke: currentColor;
}

.gfpa-prod-wishlist-btn.is-active {
    background: #fff0f3;
}

.gfpa-prod-wishlist-btn.is-active,
.gfpa-prod-wishlist-btn.is-active i,
.gfpa-prod-wishlist-btn.is-active svg,
.gfpa-prod-wishlist-btn.is-active svg path {
    color: inherit;
    fill: currentColor;
    stroke: currentColor;
}

.gfpa-prod-content {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gfpa-prod-category {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8f8a81;
}

.gfpa-prod-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #1d1b18;
}

.gfpa-prod-title a {
    color: inherit;
    text-decoration: none;
}

.gfpa-prod-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1;
}

.gfpa-prod-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.gfpa-prod-rating-stars .active,
.gfpa-prod-rating-stars .inactive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpa-prod-rating-stars i,
.gfpa-prod-rating-stars svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.gfpa-prod-rating-stars svg {
    width: 1em;
    height: 1em;
}

.gfpa-prod-rating-count {
    color: #8f8a81;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.gfpa-prod-price-wrap {
    margin-top: 4px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.gfpa-prod-price {
    flex: 1 1 auto;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.gfpa-prod-price .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.gfpa-prod-price ins {
    text-decoration: none;
    color: #1d1b18;
}

.gfpa-prod-price > .amount {
    color: #1d1b18;
}

.gfpa-prod-price del {
    color: #9b948b;
    text-decoration: line-through;
    text-decoration-color: #9b948b;
}

.gfpa-prod-discount-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 48px;
    margin-left: auto;
    background: transparent;
    color: #4c8c5a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    padding: 5px;
    border-radius: 6px;
    letter-spacing: 0;
    text-transform: none;
}

.gfpa-prod-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gfpa-prod-pagination .page-numbers,
.gfpa-pagination.gfpa-prod-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd5c8;
    border-radius: 8px;
    background: #fff;
    color: #1d1b18;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gfpa-prod-pagination .page-numbers.current,
.gfpa-pagination.gfpa-prod-pagination .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

.gfpa-prod-pagination .page-numbers i,
.gfpa-prod-pagination .page-numbers svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.gfpa-prod-pagination .page-numbers svg {
    width: 1em;
    height: 1em;
}

.gfpa-prod-empty {
    padding: 20px;
    border: 1px solid #ddd5c8;
    border-radius: 12px;
    background: #fff;
}

.gfpa-card-style1 .gfpa-prod-card {
    border-radius: 14px;
}

/* Toast */
.gfpa-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    background: #111111;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(14px);
    transition: all .3s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.gfpa-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Wishlist Widget - Unique Prefix */
.gfpaw-widget {
    position: relative;
}

.gfpaw-heading {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.gfpaw-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(120px, .6fr) minmax(260px, .9fr);
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid #ececec;
    background: #fafafa;
    color: #111111;
    margin-bottom: 12px;
    border-radius: 0;
}

.gfpaw-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gfpaw-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(120px, .6fr) minmax(260px, .9fr);
    gap: 20px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #ececec;
    background: #f8f8f8;
}

.gfpaw-product-col {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.gfpaw-thumb a {
    display: block;
}

.gfpaw-thumb img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.gfpaw-product-info {
    min-width: 0;
}

.gfpaw-product-title {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.gfpaw-product-title a {
    color: inherit;
    text-decoration: none;
}

.gfpaw-product-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

.gfpaw-price-col,
.gfpaw-actions-col {
    display: flex;
    align-items: center;
}

.gfpaw-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.gfpaw-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gfpaw-remove-btn,
.gfpaw-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    box-sizing: border-box;
}

.gfpaw-btn-icon,
.gfpaw-btn-icon i,
.gfpaw-btn-icon svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpaw-btn-icon svg {
    width: 1em;
    height: 1em;
}

.gfpaw-empty {
    padding: 20px;
    border: 1px solid #ddd5c8;
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 1024px) {
    .gfpaw-table-head {
        display: none;
    }

    .gfpaw-row {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .gfpaw-product-col,
    .gfpaw-price-col,
    .gfpaw-actions-col {
        justify-content: center;
        align-items: center;
    }

    .gfpaw-product-col {
        flex-direction: column;
    }

    .gfpaw-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .gfpaw-row {
        text-align: center;
    }

    .gfpaw-product-col,
    .gfpaw-price-col,
    .gfpaw-actions-col,
    .gfpaw-actions {
        justify-content: center;
        align-items: center;
    }

    .gfpaw-product-col {
        flex-direction: column;
    }

    .gfpaw-product-info {
        text-align: center;
    }

    .gfpaw-thumb img {
        width: 100%;
        max-width: 120px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
}

/* =========================================================
   GFPA SINGLE PRODUCT WIDGET - FINAL
   ========================================================= */

.gfpa-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    gap: 48px;
    align-items: start;
}

/* gallery updated */
.gfpa-single-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
}

.gfpa-single-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 1px;
    width: 100%;
}

.gfpa-single-gallery-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    line-height: 1;
    width: auto;
    height: auto;
    min-width: 36px;
    min-height: 36px;
    padding: 8px;
    background: #ffffff;
    color: #1b1815;
    border: 1px solid #d8d1c7;
    border-radius: 50%;
}

.gfpa-single-gallery-arrow i {
    color: inherit;
    font-size: inherit;
}

.gfpa-single-gallery-arrow svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: currentColor;
}

.gfpa-single-gallery-prev {
    order: 1;
}

.gfpa-single-thumbs {
    order: 2;
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.22) transparent;
}

.gfpa-single-gallery-next {
    order: 3;
}

.gfpa-single-thumbs {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gfpa-single-thumbs::-webkit-scrollbar {
    display: none;
}

/* thumbs */
.gfpa-single-thumb-item {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gfpa-single-thumb-item img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    background: transparent !important;
    border: 1px solid #d8d1c7;
    border-radius: 6px;
    box-shadow: none !important;
}

.gfpa-single-thumb-item.is-active img {
    border-color: #c89b49;
}

.gfpa-single-main-image {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.gfpa-single-main-image img {
    display: block;
}

.gfpa-single-zoom-lens {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 20;
    background-repeat: no-repeat;
    border: 2px solid rgba(255,255,255,.9);
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    transform: translate(-50%, -50%);
}

.gfpa-single-main-image:hover .gfpa-single-zoom-lens {
    opacity: 1;
}

.gfpa-single-main-image img.gfpa-single-img-changing{
    opacity:0;
    transform:scale(.97);
}

.gfpa-single-main-image:hover img {
    transform: scale(1.08);
}

.gfpa-single-category {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a837a;
    margin-bottom: 12px;
}

.gfpa-single-title {
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 10px;
    color: #1b1815;
}

.gfpa-single-review-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gfpa-single-rating-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfpa-single-rating-stars {
    display: flex;
    gap: 2px;
}

.gfpa-single-rating-star {
    color: #000;
    display: inline-flex;
}

.gfpa-single-rating-stars.gfpa-has-rating .gfpa-single-rating-star.is-active {
    color: #f5a623;
}

.gfpa-single-rating-stars.gfpa-no-rating .gfpa-single-rating-star {
    color: #000;
}

.gfpa-single-rating-star i,
.gfpa-single-rating-star svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.gfpa-single-rating-text {
    font-size: 14px;
    color: #7d776f;
}

.gfpa-single-stock {
    font-size: 14px;
    font-weight: 500;
}

.gfpa-single-stock.in-stock {
    color: #4d8b59;
}

.gfpa-single-stock.out-of-stock {
    color: #c74848;
}

.gfpa-single-top-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid #d8d1c7;
    border-bottom: 1px solid #d8d1c7;
    margin-bottom: 18px;
}

.gfpa-single-price,
.gfpa-single-price .price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gfpa-single-price del {
    color: #8a847d;
}

.gfpa-single-price ins {
    text-decoration: none;
    color: #1a1714;
}

.gfpa-single-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f3e8;
    color: #4d8b59;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.gfpa-single-custom-attributes {
    margin-bottom: 18px;
}

.gfpa-single-attribute-block {
    margin-bottom: 18px;
}

.gfpa-single-attribute-title {
    font-size: 14px;
    font-weight: 600;
    color: #1b1815;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 10px;
}

.gfpa-single-attribute-values {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gfpa-single-color-swatch {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-clip: padding-box;
}

.gfpa-single-color-swatch.is-active {
    border-color: #c89b49;
}

.gfpa-single-size-option {
    min-width: 54px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #d8d1c7;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #1b1815;
}

.gfpa-single-size-option.is-active {
    background: #1b1815;
    color: #fff;
    border-color: #1b1815;
}

.gfpa-single-variable-wrap .variations {
    display: none !important;
}

.gfpa-single-qty-row,
.gfpa-single-qty-row-from-variable {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
}

.gfpa-single-qty-label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
}

.gfpa-single-qty-wrap {
    display: inline-flex;
    align-items: center;
}

.gfpa-single-summary .quantity,
.gfpa-single-variable-wrap .quantity {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #d8d1c7;
    border-radius: 6px;
    overflow: hidden;
    min-height: 44px;
    width: auto;
    float: none !important;
    margin: 0 !important;
}

.gfpa-single-summary .quantity input.qty,
.gfpa-single-variable-wrap .quantity input.qty {
    width: 56px;
    min-width: 56px;
    min-height: 44px;
    text-align: center;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 10px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.gfpa-single-summary .quantity input.qty::-webkit-outer-spin-button,
.gfpa-single-summary .quantity input.qty::-webkit-inner-spin-button,
.gfpa-single-variable-wrap .quantity input.qty::-webkit-outer-spin-button,
.gfpa-single-variable-wrap .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gfpa-single-summary .quantity .minus,
.gfpa-single-summary .quantity .plus,
.gfpa-single-variable-wrap .quantity .minus,
.gfpa-single-variable-wrap .quantity .plus {
    min-width: 40px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: inherit;
    line-height: 1;
}

.gfpa-single-qty-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gfpa-single-qty-btn-icon i,
.gfpa-single-qty-btn-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.gfpa-single-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 18px;
}

.gfpa-single-cart-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: stretch;
}

.gfpa-single-cart-wrap .single_add_to_cart_button {
    width: 100% !important;
    min-height: 54px;
    margin: 0 !important;
    box-shadow: none !important;
}

.gfpa-single-wishlist-wrap {
    flex: 0 0 auto;
    display: flex;
}

.gfpa-single-wishlist-btn {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    border: 1px solid #d8d1c7;
    background: #fff;
    color: #c7abd8;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gfpa-single-wishlist-btn i,
.gfpa-single-wishlist-btn svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.gfpa-single-wishlist-icon-active {
    display: none;
}

.gfpa-single-wishlist-btn.is-active .gfpa-single-wishlist-icon-normal {
    display: none;
}

.gfpa-single-wishlist-btn.is-active .gfpa-single-wishlist-icon-active {
    display: inline-flex;
}

.gfpa-single-benefits {
    border-top: 1px solid #d8d1c7;
    margin-top: 10px;
}

.gfpa-single-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a453f;
    padding: 14px 0;
    border-bottom: 1px solid #d8d1c7;
}

.gfpa-single-benefit-icon i,
.gfpa-single-benefit-icon svg {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .gfpa-single-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gfpa-single-main-image img {
        height: 420px;
    }

    .gfpa-single-gallery-arrow {
        min-width: 32px;
        min-height: 32px;
    }

    .gfpa-single-thumb-item img {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 767px) {
    .gfpa-single-main-image img {
        height: 320px;
    }

    .gfpa-single-thumbs {
        gap: 5px;
    }

    .gfpa-single-title {
        font-size: 34px;
    }

    .gfpa-single-qty-row,
    .gfpa-single-qty-row-from-variable {
        flex-wrap: wrap;
    }

    .gfpa-single-thumbs-wrap {
        gap: 5px;
    }

    .gfpa-single-gallery-arrow {
        min-width: 28px;
        min-height: 28px;
        padding: 6px;
    }

    .gfpa-single-thumb-item img {
        width: 54px;
        height: 54px;
    }
}

/* offer product widget */
.gfpa-offer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gfpa-offer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #353530;
    border: 1px solid #666;
    border-radius: 8px;
    padding: 14px 16px;
    width: 100%;
}

.gfpa-offer-image {
    position: relative;
    flex: 0 0 auto;
    overflow: visible;
    margin-left: 10px;
    margin-top: 12px;
}

.gfpa-offer-image a {
    display: block;
}

.gfpa-offer-image img {
    width: 54px;
    height: 62px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    position: relative;
    z-index: 2;
}

.gfpa-offer-save-badge {
    position: absolute;
    z-index: 5;
    width: 42px;
    height: 42px;
    background: #ff1717;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.gfpa-offer-save-badge-text {
    position: relative;
    z-index: 2;
    font-size: 7px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-8deg);
}

.gfpa-offer-save-badge-peel {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 25px;
    height: 18px;
    background: linear-gradient(135deg, #fff2a6 0%, #f6c21a 48%, #c78a00 100%);
    border-radius: 100% 0 50% 0;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    box-shadow: -3px -3px 8px rgba(0,0,0,.18);
}

.gfpa-offer-save-badge-top-left {
    top: -18px;
    left: -18px;
}

.gfpa-offer-save-badge-top-right {
    top: -18px;
    right: -18px;
}

.gfpa-offer-save-badge-bottom-left {
    bottom: -18px;
    left: -18px;
}

.gfpa-offer-save-badge-bottom-right {
    bottom: -18px;
    right: -18px;
}

/* badge size desktop */
.gfpa-offer-badge-size-small .gfpa-offer-save-badge {
    width: 34px;
    height: 34px;
    padding: 4px;
}

.gfpa-offer-badge-size-small .gfpa-offer-save-badge-text {
    font-size: 6px;
}

.gfpa-offer-badge-size-small .gfpa-offer-save-badge-peel {
    width: 18px;
    height: 13px;
}

.gfpa-offer-badge-size-medium .gfpa-offer-save-badge {
    width: 42px;
    height: 42px;
    padding: 5px;
}

.gfpa-offer-badge-size-medium .gfpa-offer-save-badge-text {
    font-size: 7px;
}

.gfpa-offer-badge-size-medium .gfpa-offer-save-badge-peel {
    width: 25px;
    height: 18px;
}

.gfpa-offer-badge-size-big .gfpa-offer-save-badge {
    width: 54px;
    height: 54px;
    padding: 6px;
}

.gfpa-offer-badge-size-big .gfpa-offer-save-badge-text {
    font-size: 9px;
}

.gfpa-offer-badge-size-big .gfpa-offer-save-badge-peel {
    width: 30px;
    height: 22px;
}

.gfpa-offer-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gfpa-offer-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.gfpa-offer-title a {
    color: inherit;
    text-decoration: none;
}

.gfpa-offer-title a:hover {
    color: inherit;
}

.gfpa-offer-price {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.gfpa-offer-price del {
    opacity: .65;
}

.gfpa-offer-price ins {
    text-decoration: none;
}

.gfpa-offer-action {
    flex: 0 0 auto;
    margin-left: auto;
}

.gfpa-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: #fff;
    background: #1d1d1a;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    transition: all .2s ease;
}

.gfpa-offer-btn:hover {
    color: #fff;
    background: #000;
    text-decoration: none;
}

.gfpa-offer-empty {
    color: #fff;
    background: #353530;
    padding: 14px 16px;
    border-radius: 8px;
}

/* tablet */
@media (max-width: 1024px) {
    .gfpa-offer-card {
        gap: 12px;
    }

    .gfpa-offer-badge-size-small .gfpa-offer-save-badge {
        width: 32px;
        height: 32px;
    }

    .gfpa-offer-badge-size-medium .gfpa-offer-save-badge {
        width: 40px;
        height: 40px;
    }

    .gfpa-offer-badge-size-big .gfpa-offer-save-badge {
        width: 50px;
        height: 50px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .gfpa-offer-card {
        align-items: center;
        gap: 12px;
        padding: 12px 12px;
    }

    .gfpa-offer-image {
        margin-left: 8px;
        margin-top: 10px;
    }

    .gfpa-offer-image img {
        width: 48px;
        height: 56px;
    }

    .gfpa-offer-badge-size-small .gfpa-offer-save-badge {
        width: 28px;
        height: 28px;
        padding: 3px;
    }

    .gfpa-offer-badge-size-small .gfpa-offer-save-badge-text {
        font-size: 5px;
    }

    .gfpa-offer-badge-size-medium .gfpa-offer-save-badge {
        width: 36px;
        height: 36px;
        padding: 4px;
    }

    .gfpa-offer-badge-size-medium .gfpa-offer-save-badge-text {
        font-size: 6px;
    }

    .gfpa-offer-badge-size-big .gfpa-offer-save-badge {
        width: 44px;
        height: 44px;
        padding: 5px;
    }

    .gfpa-offer-badge-size-big .gfpa-offer-save-badge-text {
        font-size: 7px;
    }

    .gfpa-offer-save-badge-top-left {
        top: -14px;
        left: -14px;
    }

    .gfpa-offer-save-badge-top-right {
        top: -14px;
        right: -14px;
    }

    .gfpa-offer-save-badge-bottom-left {
        bottom: -14px;
        left: -14px;
    }

    .gfpa-offer-save-badge-bottom-right {
        bottom: -14px;
        right: -14px;
    }

    .gfpa-offer-title {
        font-size: 15px;
    }

    .gfpa-offer-price {
        font-size: 13px;
    }

    .gfpa-offer-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
}