/* ============================================================
   Product Detail Page — Apzl Images Style
   Split-panel layout: dark image left, white info right
   ============================================================ */


/* === Split Panel Layout === */

.apzl-detail {
    display: flex;
    min-height: calc(100vh - 64px);
    padding: 0 var(--margin_left_on_page);
}

@media (max-width: 600px) {
    .apzl-detail {
        padding-left: var(--margin_left_on_page_mobile);
        padding-right: var(--margin_left_on_page_mobile);
    }
}

@media (max-width: 991px) {
    .apzl-detail {
        flex-direction: column;
        min-height: auto;
    }
}


/* === Left Panel: Image Area === */

.apzl-detail-image {
    flex: 1 1 60%;
    background-color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

/* Blurred background image layer */
.apzl-detail-image-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(30px) brightness(0.5);
    z-index: 0;
}

@media (max-width: 991px) {
    .apzl-detail-image {
        min-height: 300px;
        max-height: 60vh;
    }
}

.apzl-detail-image-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .apzl-detail-image-inner {
        padding: 8px;
    }
}

.apzl-detail-img {
    max-width: 100%;
    max-height: calc(100vh - 144px);
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.apzl-detail-img:hover {
    transform: scale(1.02);
}

/* Zoom hint overlay */
.apzl-zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family-base);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apzl-zoom-hint i {
    font-size: 11px;
}

.apzl-detail-image:hover .apzl-zoom-hint {
    opacity: 1;
}

@media (max-width: 991px) {
    .apzl-zoom-hint {
        display: none;
    }
}

/* === Fullscreen Lightbox Zoom === */

.apzl-zoom-trigger {
    cursor: zoom-in;
}

.apzl-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.apzl-lightbox.is-open {
    display: block;
    animation: apzlFadeIn 0.2s ease;
}

@keyframes apzlFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.apzl-lightbox-bg {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px) brightness(0.3);
    z-index: 0;
}

.apzl-lightbox-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden;
}

.apzl-lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    transition: transform 0.25s ease;
    transform-origin: center center;
}

.apzl-lightbox.is-deep .apzl-lightbox-body {
    cursor: zoom-out;
}

.apzl-lightbox.is-deep .apzl-lightbox-img {
    transform: scale(2.5);
}

.apzl-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.apzl-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Lightbox hint */
.apzl-lightbox-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 8px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-family-base);
    font-size: 12px;
    font-weight: 400;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease 2s;
    white-space: nowrap;
}

.apzl-lightbox.is-deep .apzl-lightbox-hint {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
    .apzl-detail-img {
        max-height: 55vh;
    }
    .apzl-detail-img:hover {
        transform: none;
    }
}


/* === Right Panel: Info Area === */

.apzl-detail-info {
    flex: 0 0 420px;
    max-width: 460px;
    background-color: #fff;
    border-left: 1px solid var(--color-border);
    overflow-y: auto;
    max-height: calc(100vh - 64px);
}

@media (max-width: 1200px) {
    .apzl-detail-info {
        flex: 0 0 380px;
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .apzl-detail-info {
        flex: none;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border);
        overflow-y: visible;
        max-height: none;
    }
}

.apzl-detail-info-inner {
    padding: 24px 28px 40px;
}

@media (max-width: 600px) {
    .apzl-detail-info-inner {
        padding: 20px 16px 32px;
    }
}


/* === Breadcrumb === */

.apzl-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    font-family: var(--font-family-base);
    font-size: 12px;
}

.apzl-detail-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.apzl-detail-breadcrumb a:hover {
    color: var(--color-primary);
}

.apzl-breadcrumb-sep {
    margin: 0 8px;
    color: var(--color-border);
    font-size: 8px;
    display: flex;
    align-items: center;
}

.apzl-breadcrumb-current {
    color: var(--color-text-secondary);
    font-weight: 500;
}


/* === Title Section === */

.apzl-detail-header {
    margin-bottom: 24px;
}

.apzl-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: var(--color-accent-light, #FDF6E3);
    color: var(--color-accent, #B8860B);
    font-family: var(--font-family-base);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    border: 1px solid rgba(184, 134, 11, 0.2);
}

.apzl-detail-badge i {
    font-size: 10px;
}

.apzl-detail-title {
    font-family: var(--font-family-base);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}


/* === Metadata Section === */

.apzl-detail-meta {
    margin-bottom: 28px;
}

.apzl-detail-meta-heading {
    font-family: var(--font-family-base);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.apzl-detail-meta-heading i {
    font-size: 11px;
    color: var(--color-primary);
}

.apzl-detail-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--color-light-bg);
    border-left: 3px solid var(--color-primary);
    margin-bottom: 16px;
    font-family: var(--font-family-base);
    font-size: 13px;
    color: var(--color-text-secondary);
}
.apzl-detail-notice i {
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 14px;
}
.apzl-detail-notice-warning {
    background-color: #fef3cd;
    border-left-color: var(--color-warning, #D4940A);
    color: #856404;
}
.apzl-detail-notice-warning i {
    color: var(--color-warning, #D4940A);
}


/* === Meta Rows (label/value pairs) === */

.apzl-meta-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
}

.apzl-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
}
.apzl-meta-row:last-child {
    border-bottom: none;
}

.apzl-meta-label {
    font-family: var(--font-family-base);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apzl-meta-icon {
    font-size: 12px;
    color: var(--color-primary);
    width: 16px;
    text-align: center;
}

.apzl-meta-value {
    font-family: var(--font-family-base);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-align: right;
    word-break: break-word;
}

.apzl-meta-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text);
}

.apzl-meta-adjusted {
    color: var(--color-success, #1A7A3D);
}

.apzl-meta-adjusted-note {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.apzl-meta-hidden {
    color: var(--color-border);
    font-weight: 400;
}

.price-locked {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}
.price-locked i {
    color: var(--color-text-muted);
    font-size: 12px;
    flex-shrink: 0;
}
.price-locked-link {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.price-locked-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}


/* === CTA Buttons === */

.apzl-detail-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apzl-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background-color: var(--color-accent, #B8860B);
    color: #fff;
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.apzl-btn-primary:hover {
    background-color: var(--color-accent-hover, #966E09);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.apzl-btn-primary i {
    font-size: 14px;
}

.apzl-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background-color: #fff;
    color: var(--color-text);
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-text);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.apzl-btn-secondary:hover {
    background-color: var(--color-text);
    color: #fff;
    text-decoration: none;
}

.apzl-btn-secondary i {
    font-size: 14px;
}

/* CTA perks row */
.apzl-cta-perks {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 8px 0 4px;
    font-family: var(--font-family-base);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.apzl-cta-perks span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.apzl-cta-perks i {
    color: var(--color-success, #1A7A3D);
    font-size: 10px;
}

/* Tertiary link */
.apzl-detail-free-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-family-base);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-align: center;
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 4px 0;
}
.apzl-detail-free-link:hover {
    color: var(--color-primary);
}

.apzl-detail-free-link i {
    font-size: 12px;
}


/* === Description === */

.apzl-detail-description {
    margin-bottom: 28px;
}

.apzl-detail-desc-heading {
    font-family: var(--font-family-base);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 6px;
}

.apzl-detail-desc-heading i {
    font-size: 11px;
    color: var(--color-text-muted);
}

.apzl-detail-desc-text {
    font-family: var(--font-family-base);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-hover);
    line-height: 1.7;
}

.apzl-detail-desc-blur {
    position: relative;
    color: var(--color-text-muted);
}
.apzl-detail-desc-blur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}


/* === Keywords / Tags === */

.apzl-detail-keywords {
    margin-bottom: 20px;
}

.apzl-detail-keywords-heading {
    font-family: var(--font-family-base);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 6px;
}

.apzl-detail-keywords-heading i {
    font-size: 11px;
    color: var(--color-text-muted);
}

.apzl-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.apzl-detail-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-family-base);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-hover);
    text-decoration: none;
    transition: all 0.15s ease;
}
.apzl-detail-tag:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}


/* === People Also Searched Buttons === */

.apzl-also-searched {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apzl-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: #fff;
    border: 2px solid var(--color-primary, #0B3D6B);
    border-radius: 20px;
    font-family: var(--font-family-base);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary, #0B3D6B);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.apzl-search-btn i {
    font-size: 11px;
    opacity: 0.7;
}

.apzl-search-btn:hover {
    background-color: var(--color-primary, #0B3D6B);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(11, 61, 107, 0.3);
}

/* === Related Items Section === */

.apzl-detail-related {
    background-color: var(--color-light-bg);
    border-top: 1px solid var(--color-border);
}

.apzl-detail-related-inner {
    padding: 40px var(--margin_left_on_page) 48px;
}

@media (max-width: 600px) {
    .apzl-detail-related-inner {
        padding: 28px var(--margin_left_on_page_mobile) 36px;
    }
}

.apzl-detail-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.apzl-detail-related-title {
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.apzl-related-icon {
    font-size: 16px;
    color: var(--color-accent, #B8860B);
}

.apzl-detail-view-all {
    font-family: var(--font-family-base);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.apzl-detail-view-all:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.apzl-detail-view-all i {
    font-size: 11px;
    transition: transform 0.15s ease;
}

.apzl-detail-view-all:hover i {
    transform: translateX(3px);
}


/* === Masonry Grid (for related items) === */

.apzl-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.apzl-grid::after {
    --width: 2;
    --height: 1;
    --ratio: calc(var(--width) / var(--height));
    --row-height: 12em;
    content: "";
    flex-basis: calc(var(--ratio) * var(--row-height));
    flex-grow: 1000000;
}
.apzl-grid-item {
    --ratio: calc(var(--width) / var(--height));
    --row-height: 12em;
    flex-basis: calc(var(--ratio) * var(--row-height));
    flex-grow: calc(var(--ratio) * 100);
    position: relative;
    overflow: hidden;
    background-color: var(--color-light-bg);
}
.apzl-grid-link {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}
.apzl-grid-link:hover {
    text-decoration: none;
}
.apzl-grid-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 12em;
    object-fit: cover;
    transition: opacity 0.3s ease;
    border: none;
    border-radius: 0;
}
.apzl-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.0) 0%,
        rgba(0, 0, 0, 0.0) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.apzl-grid-item:hover .apzl-item-overlay {
    opacity: 1;
}
.apzl-item-overlay-top {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 10px 10px 0;
}
.apzl-item-overlay-bottom {
    padding: 0 12px 10px;
}
.apzl-item-price {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.3;
}
.apzl-item-lock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.3;
}
.apzl-item-title {
    display: block;
    font-family: var(--font-family-base);
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Related items grid size */
.apzl-detail-related .apzl-grid {
    gap: 2px;
}
.apzl-detail-related .apzl-grid-item {
    --row-height: 12em;
}
.apzl-detail-related .apzl-grid::after {
    --row-height: 12em;
}
.apzl-detail-related .apzl-grid-img {
    max-height: 12em;
}

@media (max-width: 768px) {
    .apzl-detail-related .apzl-grid-item {
        --row-height: 8em;
    }
    .apzl-detail-related .apzl-grid::after {
        --row-height: 8em;
    }
    .apzl-detail-related .apzl-grid-img {
        max-height: 8em;
    }
}


/* === Search bar on detail page === */

.apzl-search-bar {
    display: block;
    background-color: #fff;
    padding: 12px var(--margin_left_on_page);
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .apzl-search-bar {
        padding: 8px 8px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .apzl-search-bar {
        padding: 6px 4px;
    }
}


/* ============================================================
   Search List Page — Mobile Responsive
   ============================================================ */

/* --- Grid: smaller items on mobile --- */
@media (max-width: 768px) {
    .apzl-grid-item {
        --row-height: 10em;
    }
    .apzl-grid::after {
        --row-height: 10em;
    }
    .apzl-grid-img {
        max-height: 10em;
    }
    .apzl-grid {
        gap: 1px;
    }
}

@media (max-width: 480px) {
    .apzl-grid-item {
        --row-height: 8em;
    }
    .apzl-grid::after {
        --row-height: 8em;
    }
    .apzl-grid-img {
        max-height: 8em;
    }
}

/* --- Touch devices: always show overlay (no hover on mobile) --- */
@media (hover: none), (max-width: 768px) {
    .apzl-item-overlay {
        opacity: 1;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.0) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
    .apzl-item-overlay-top {
        padding: 6px 6px 0;
    }
    .apzl-item-overlay-bottom {
        padding: 0 8px 6px;
    }
    .apzl-item-price {
        font-size: 11px;
        padding: 2px 6px;
    }
    .apzl-item-lock {
        font-size: 11px;
        padding: 2px 6px;
    }
    .apzl-item-overlay-bottom .apzl-item-desc {
        font-size: 10px;
    }
}

/* --- Favorite button on mobile --- */
@media (max-width: 768px) {
    .apzl-fav-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* --- SEO intro text on mobile --- */
@media (max-width: 768px) {
    .apzl-seo-text {
        font-size: 0.82rem;
        line-height: 1.5;
    }
    .apzl-seo-text p {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .apzl-seo-text {
        font-size: 0.78rem;
    }
    /* Hide second paragraph on very small screens */
    .apzl-seo-text p:nth-child(2) {
        display: none;
    }
}

/* --- Results toolbar mobile --- */
@media (max-width: 480px) {
    .apzl-results-info {
        width: 100%;
    }
    .apzl-results-count {
        font-size: 0.78rem;
    }
    .apzl-search-terms-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .apzl-search-terms-btn span {
        display: none;
    }
}

/* --- Filter panel mobile --- */
@media (max-width: 480px) {
    .apzl-filter-panel {
        padding: 12px;
    }
    .apzl-filter-group label {
        font-size: 0.78rem;
    }
    .apzl-filter-group input,
    .apzl-filter-group select {
        font-size: 0.82rem;
        padding: 6px 8px;
    }
}

/* --- Pagination mobile --- */
@media (max-width: 480px) {
    .apzl-load-more-wrap {
        margin-top: 1rem;
    }
    #loadMoreBtn {
        font-size: 0.85rem;
        padding: 10px 24px;
    }
}

/* --- Keywords/catalogs chips mobile --- */
@media (max-width: 768px) {
    .apzl-kw-chip-primary {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .apzl-kw-chip-secondary {
        font-size: 0.72rem;
        padding: 3px 10px;
    }
}

/* --- General page container on mobile --- */
@media (max-width: 768px) {
    .keywords-search-results-page {
        padding: 0 8px;
    }
    .right-panel {
        padding: 0;
    }
}


/* === General resets === */

ol, ul {
    list-style-type: none;
    padding: 0;
}
