:root {
    --pawe-navy: #26336E;
    --pawe-ink: #17213A;
    --pawe-text: #667085;
    --pawe-muted: #98A2B3;
    --pawe-line: #E4E7EC;
}

.pawe-grid-widget,
.pawe-search,
.pawe-filter,
.pawe-pagination {
    font-family: inherit;
    direction: rtl;
    box-sizing: border-box;
}

.pawe-grid-widget *,
.pawe-search *,
.pawe-filter *,
.pawe-pagination * {
    box-sizing: border-box;
}

.pawe-grid-widget {
    position: relative;
}

.pawe-grid {
    --pawe-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--pawe-cols), minmax(0, 1fr));
    gap: 18px;
    transition: opacity .24s ease, transform .24s ease, filter .24s ease;
}

.pawe-grid-widget.is-loading .pawe-grid {
    opacity: .44;
    transform: translateY(4px);
    filter: saturate(.8);
    pointer-events: none;
}

.pawe-status {
    position: absolute;
    z-index: 10;
    top: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    background: rgba(23, 33, 58, .92);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.6;
    transition: opacity .2s ease, transform .2s ease;
}

.pawe-grid-widget.is-loading .pawe-status,
.pawe-status.is-error {
    opacity: 1;
    transform: translateY(0);
}

.pawe-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pawe-line);
    border-radius: 18px;
    padding: 10px 10px 14px;
    transition: transform .34s cubic-bezier(.2,.75,.25,1), box-shadow .34s ease, border-color .34s ease;
    opacity: 1;
    transform: translateY(0);
}

.pawe-card.pawe-card--prepare {
    opacity: 0;
    transform: translateY(18px);
}

.pawe-card.is-pawe-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--pawe-delay, 0ms);
}

.pawe-card.is-pawe-visible:hover {
    transform: translateY(-6px);
    border-color: rgba(38, 51, 110, .20);
    box-shadow: 0 20px 48px -32px rgba(23, 33, 58, .55);
    transition-delay: 0ms;
}

.pawe-card__media {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.pawe-card__image-wrap {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F4F6F9;
    border-radius: 14px;
}

.pawe-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform .55s cubic-bezier(.2,.75,.25,1);
}

.pawe-card:hover .pawe-card__image {
    transform: scale(1.035);
}

.pawe-card__badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #D92D20;
    border: 1px solid #FEE4E2;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 8px 20px -14px rgba(23,33,58,.3);
}

.pawe-card__body {
    padding: 12px 3px 0;
}

.pawe-card__category {
    color: var(--pawe-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pawe-card__title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.75;
    min-height: 49px;
}

.pawe-card__title a {
    color: var(--pawe-ink);
    text-decoration: none;
    transition: color .2s ease;
}

.pawe-card__title a:hover {
    color: var(--pawe-navy);
}

.pawe-card__footer {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #F0F2F5;
    padding-top: 11px;
}

.pawe-card__price {
    min-width: 0;
    color: var(--pawe-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.pawe-card__price del {
    display: block;
    color: var(--pawe-muted);
    font-size: 10px;
    font-weight: 500;
    opacity: .8;
}

.pawe-card__price ins {
    text-decoration: none;
}

.pawe-card__button {
    width: auto;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    color: #fff;
    background: var(--pawe-navy);
    border-radius: 11px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.pawe-card__button:hover {
    color: #fff;
    background: #1D2857;
    transform: translateX(-2px);
    box-shadow: 0 10px 22px -14px rgba(38, 51, 110, .75);
}

.pawe-card__button-text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
}

.pawe-card__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1;
}

.pawe-card__button-icon i,
.pawe-card__button-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    max-width: 1em;
    max-height: 1em;
    color: inherit;
    fill: currentColor;
}

.pawe-card__button--icon_only {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0 !important;
    gap: 0 !important;
}

.pawe-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pawe-text);
    background: #fff;
    border: 1px dashed #CDD4E0;
    border-radius: 16px;
    padding: 30px;
    font-size: 13px;
}

/* Search */
.pawe-search {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--pawe-line);
    border-radius: 14px;
    padding: 0 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pawe-search:focus-within {
    border-color: rgba(38,51,110,.42);
    box-shadow: 0 0 0 4px rgba(38,51,110,.07);
    transform: translateY(-1px);
}

.pawe-search__icon,
.pawe-search__clear {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pawe-navy);
}

.pawe-search__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--pawe-ink);
    font: inherit;
    font-size: 13px;
}

.pawe-search__input::-webkit-search-cancel-button {
    display: none;
}

.pawe-search__clear {
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: opacity .18s ease, transform .18s ease;
}

.pawe-search.has-value .pawe-search__clear {
    opacity: .65;
    visibility: visible;
}

.pawe-search__clear:hover {
    opacity: 1 !important;
    transform: rotate(8deg);
}

/* Filters */
.pawe-filter {
    width: 100%;
    border-bottom: 1px solid var(--pawe-line);
    padding: 16px 0;
}

.pawe-filter__title {
    margin-bottom: 12px;
    color: var(--pawe-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

.pawe-filter__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pawe-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding: 3px 0;
}

.pawe-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pawe-check__box {
    width: 17px;
    height: 17px;
    border: 1px solid #CDD4E0;
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, border-color .2s ease, transform .18s ease;
}

.pawe-check__box span {
    width: 7px;
    height: 4px;
    border-right: 1.7px solid #fff;
    border-bottom: 1.7px solid #fff;
    transform: translateY(-1px) rotate(45deg) scale(.5);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.pawe-check input:checked + .pawe-check__box {
    background: var(--pawe-navy);
    border-color: var(--pawe-navy);
    transform: scale(1.03);
}

.pawe-check input:checked + .pawe-check__box span {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
}

.pawe-check__label {
    min-width: 0;
    color: #475467;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    transition: color .2s ease, transform .2s ease;
}

.pawe-check:hover .pawe-check__label {
    color: var(--pawe-navy);
    transform: translateX(-2px);
}

.pawe-check__count {
    color: var(--pawe-muted);
    font-size: 10px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Pagination */
.pawe-pagination {
    width: 100%;
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pawe-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.pawe-pages__number,
.pawe-pages__arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid var(--pawe-line);
    border-radius: 11px;
    background: #fff;
    color: #475467;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.pawe-pages__number:hover,
.pawe-pages__arrow:hover:not(:disabled) {
    border-color: rgba(38,51,110,.34);
    color: var(--pawe-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -17px rgba(23,33,58,.65);
}

.pawe-pages__number.is-active {
    background: var(--pawe-navy);
    border-color: var(--pawe-navy);
    color: #fff;
    box-shadow: 0 12px 24px -17px rgba(38,51,110,.8);
}

.pawe-pages__arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 auto;
    overflow: hidden;
    font-size: 9px;
}

.pawe-pages__arrow i {
    display: block;
    font-size: 1em;
    line-height: 1;
}

.pawe-pages__arrow svg {
    display: block;
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    fill: currentColor;
    flex: 0 0 auto;
}

.pawe-pages__arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.pawe-pages__dots {
    width: 22px;
    text-align: center;
    color: var(--pawe-muted);
    font-size: 12px;
}

@media (max-width: 767px) {
    .pawe-grid { gap: 10px; }
    .pawe-card { padding: 7px 7px 10px; border-radius: 14px; }
    .pawe-card__image-wrap { height: 155px; border-radius: 11px; }
    .pawe-card__image { padding: 6px; }
    .pawe-card__body { padding-top: 9px; }
    .pawe-card__category { font-size: 9px; }
    .pawe-card__title { font-size: 11.5px; line-height: 1.7; min-height: 40px; margin-bottom: 9px; }
    .pawe-card__footer { min-height: 35px; padding-top: 8px; gap: 8px; flex-wrap: wrap; }
    .pawe-card__price { font-size: 10.5px; width: 100%; }
    .pawe-card__price del { font-size: 8px; }
    .pawe-card__button { width: 100%; min-height: 34px; padding: 8px 10px; border-radius: 9px; font-size: 10px; }
    .pawe-card__button--icon_only { width: 34px; height: 34px; min-width: 34px; min-height: 34px; padding: 0 !important; }
    .pawe-card__button-icon { font-size: 11px; }
    .pawe-card__badge { top: 7px; right: 7px; font-size: 8px; padding: 4px 6px; }
    .pawe-pages__number { width: 34px; height: 34px; border-radius: 9px; font-size: 11px; }
    .pawe-pages__arrow { width: 32px; height: 32px; min-width: 32px; min-height: 32px; border-radius: 9px; font-size: 8px; }
    .pawe-pages { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    .pawe-card,
    .pawe-card__image,
    .pawe-search,
    .pawe-pages__number,
    .pawe-pages__arrow,
    .pawe-check__label,
    .pawe-check__box {
        transition: none !important;
        animation: none !important;
    }
    .pawe-card { opacity: 1 !important; transform: none !important; }
}


/* Elementor layout safety helpers (v1.0.2) */
.pawe-shop-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.pawe-shop-sidebar {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 286px !important;
    width: 286px !important;
    max-width: 286px !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
}

.pawe-shop-sidebar.elementor-invisible,
.pawe-shop-sidebar .elementor-invisible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.pawe-shop-sidebar > .e-con-inner,
.pawe-shop-sidebar > .elementor-element,
.pawe-shop-sidebar .elementor-widget-wrap,
.pawe-shop-sidebar .elementor-widget,
.pawe-shop-sidebar .elementor-widget-container {
    opacity: 1;
    visibility: visible !important;
}

.pawe-shop-main {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

@keyframes paweSafeReveal {
    from { opacity: .001; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pawe-safe-reveal { animation: paweSafeReveal .52s cubic-bezier(.2,.75,.25,1) both; }
.pawe-delay-1 { animation-delay: .06s; }
.pawe-delay-2 { animation-delay: .12s; }

.pawe-filter__empty {
    padding: 10px 12px;
    border: 1px dashed #D0D5DD;
    border-radius: 10px;
    background: #F9FAFB;
    color: var(--pawe-muted);
    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .pawe-shop-layout { gap: 18px !important; }
    .pawe-shop-sidebar {
        flex-basis: 250px !important;
        width: 250px !important;
        max-width: 250px !important;
    }
}

@media (max-width: 767px) {
    .pawe-shop-layout {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .pawe-shop-sidebar,
    .pawe-shop-main {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
