/* ==========================================================================
   PRODUCT SEARCH - CSS
   Design System Applied
   ========================================================================== */

:root {
    /* Colors from design system */
    --ps-jaune: #FDC103;
    --ps-gris: #EFEFEF;
    --ps-blanc: #F8F8F8;
    --ps-noir-titres: #0E0E0E;
    --ps-textes: #393939;
    --ps-textes-reassurance: #606060;
    --ps-blanc-pur: #ffffff;
    --ps-vert: #34E015;
    
    /* Typography */
    --ps-font-oswald: 'Oswald', sans-serif;
    --ps-font-roboto: 'Roboto Condensed', sans-serif;
}

/* ==========================================================================
   Desktop Search Bar (305x44px)
   ========================================================================== */

.ps-search-bar {
    width: 305px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    background: var(--ps-blanc-pur);
    outline: 2px solid var(--ps-noir-titres);
    outline-offset: -2px;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}

.ps-search-bar:hover {
    background: var(--ps-gris);
}

.ps-search-bar-placeholder {
    color: var(--ps-noir-titres);
    font-size: 13px;
    font-family: var(--ps-font-oswald);
    font-weight: 400;
    line-height: 15.6px;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.ps-search-bar-icon {
    width: 14px;
    height: 14px;
    color: var(--ps-noir-titres);
    flex-shrink: 0;
    margin-left: 10px;
}

/* ==========================================================================
   Mobile Search Trigger (icon only)
   ========================================================================== */

.ps-search-trigger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    color: var(--ps-noir-titres) !important;
}

.ps-search-trigger:hover,
.ps-search-trigger:focus,
.ps-search-trigger:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ps-noir-titres) !important;
}

.ps-search-trigger svg {
    width: 20px;
    height: 20px;
    stroke: var(--ps-noir-titres) !important;
    color: var(--ps-noir-titres) !important;
}

/* Responsive: Desktop shows bar, mobile shows icon */
@media (min-width: 769px) {
    .ps-search-trigger {
        display: none;
    }
}

@media (max-width: 768px) {
    .ps-search-bar {
        display: none;
    }
}

/* ==========================================================================
   Trigger Button (legacy support)
   ========================================================================== */

[data-ps-open],
[data-ps-open]:hover,
[data-ps-open]:focus,
[data-ps-open]:active {
    cursor: pointer;
}

/* ==========================================================================
   Overlay & Modal
   ========================================================================== */

.ps-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 14, 14, 0.75);
    backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.ps-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ps-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 580px;
    height: 100vh;
    background: var(--ps-blanc);
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(14, 14, 14, 0.3);
}

.ps-modal.open {
    transform: translateX(0);
}

/* ==========================================================================
   Modal Header
   ========================================================================== */

.ps-modal-header {
    padding: 1.25rem 1.5rem;
    background: var(--ps-jaune);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.ps-close {
    background: none;
    border: none;
    color: var(--ps-noir-titres);
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.85;
    transition: all 0.2s;
}

.ps-close:hover {
    opacity: 1;
}

.ps-close svg {
    width: 22px;
    height: 22px;
}

.ps-search-wrap {
    flex: 1;
    position: relative;
}

.ps-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-textes-reassurance);
    width: 18px;
    height: 18px;
    pointer-events: none;
    flex-shrink: 0;
}

.ps-search-input {
    width: 100%;
    padding: 14px 44px 14px 20px;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-noir-titres);
    border-radius: 0;
    font-family: var(--ps-font-oswald);
    font-size: 13px;
    font-weight: 400;
    color: var(--ps-noir-titres);
    outline: 0;
    line-height: 15.6px;
}

.ps-search-input::placeholder {
    color: var(--ps-textes-reassurance);
    font-family: var(--ps-font-oswald);
}

.ps-search-input:focus {
    border-color: var(--ps-noir-titres);
}

.ps-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ps-gris);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 0;
    font-size: 14px;
    color: var(--ps-textes);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ps-search-clear:hover {
    background: var(--ps-noir-titres);
    color: var(--ps-blanc-pur);
}

/* ==========================================================================
   Autocomplete Dropdown
   ========================================================================== */

.ps-autocomplete {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-noir-titres);
    box-shadow: 0 12px 40px rgba(14, 14, 14, 0.2);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
    margin-top: -2px;
}

.ps-autocomplete-section {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ps-gris);
}

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

.ps-autocomplete-title {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ps-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}

.ps-autocomplete-item:hover {
    background: var(--ps-gris);
}

.ps-autocomplete-item mark {
    background: var(--ps-jaune);
    color: var(--ps-noir-titres);
    padding: 0 2px;
}

.ps-autocomplete-item-icon {
    width: 32px;
    height: 32px;
    background: var(--ps-gris);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ps-autocomplete-item-icon svg {
    width: 16px;
    height: 16px;
    color: var(--ps-textes);
}

.ps-autocomplete-item-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--ps-font-roboto);
}

.ps-autocomplete-item-count {
    font-size: 12px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    opacity: 0.7;
}

/* ==========================================================================
   Filters Bar
   ========================================================================== */

.ps-filters-bar {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--ps-noir-titres);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    background: var(--ps-blanc-pur);
    flex-shrink: 0;
}

.ps-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ps-select {
    appearance: none;
    height: 34px;
    padding: 6px 40px 6px 12px;
    background: var(--ps-blanc-pur);
    border: none;
    border-radius: 0;
    outline: 2px solid var(--ps-noir-titres);
    outline-offset: -2px;
    font-family: var(--ps-font-roboto);
    font-size: 14px;
    font-weight: 600;
    color: var(--ps-textes);
    cursor: pointer;
    line-height: 17.64px;
    min-width: 120px;
}

.ps-select:hover,
.ps-select:focus {
    background: var(--ps-gris);
}

.ps-select-chevron {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 22px;
    height: 22px;
}

/* Checkbox filter */
.ps-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
}

.ps-checkbox-wrap input {
    width: 18px;
    height: 18px;
    accent-color: var(--ps-jaune);
}

.ps-checkbox-count {
    font-size: 12px;
    background: var(--ps-gris);
    padding: 2px 6px;
    font-family: var(--ps-font-roboto);
}

/* View toggle */
.ps-view-toggle {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.ps-view-btn {
    width: 36px;
    height: 36px;
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid var(--ps-noir-titres) !important;
    box-shadow: none !important;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ps-noir-titres);
    transition: all 0.2s;
    padding: 0 !important;
}

.ps-view-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--ps-noir-titres);
    stroke-width: 2;
}

.ps-view-btn:hover:not(.active) {
    background: var(--ps-gris) !important;
    background-color: var(--ps-gris) !important;
}

.ps-view-btn.active {
    background: var(--ps-jaune) !important;
    background-color: var(--ps-jaune) !important;
    border-color: var(--ps-noir-titres) !important;
    color: var(--ps-noir-titres);
}

/* Sort wrap */
.ps-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-sort-label {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
}

/* Clear filters */
.ps-clear-btn {
    background: transparent !important;
    border: none !important;
    color: var(--ps-textes);
    font-size: 13px;
    font-family: var(--ps-font-roboto);
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 8px !important;
}

.ps-clear-btn:hover {
    color: var(--ps-noir-titres);
}

/* ==========================================================================
   Results Container
   ========================================================================== */

.ps-results {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    position: relative;
}

.ps-results-count {
    font-size: 14px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    margin-bottom: 1rem;
}

.ps-results-count strong {
    color: var(--ps-noir-titres);
    font-weight: 700;
}

/* ==========================================================================
   Initial State (Recent searches & Recently viewed)
   ========================================================================== */

.ps-initial-state {
    padding: 1rem 0;
}

.ps-recent-searches h3,
.ps-recently-viewed h3 {
    font-family: var(--ps-font-oswald);
    font-size: 15px;
    font-weight: 500;
    color: var(--ps-noir-titres);
    margin-bottom: 12px;
    line-height: 120%;
}

.ps-recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ps-recent-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-noir-titres);
    font-size: 13px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    cursor: pointer;
    transition: all 0.2s;
}

.ps-recent-tag:hover {
    background: var(--ps-jaune);
    color: var(--ps-noir-titres);
}

.ps-recent-tag svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.ps-recent-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.ps-recent-product {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.ps-recent-product-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--ps-gris);
    margin-bottom: 6px;
    overflow: hidden;
}

.ps-recent-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-recent-product-name {
    font-size: 12px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Loading Skeleton
   ========================================================================== */

.ps-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ps-skeleton-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-gris);
}

.ps-skeleton-img {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, var(--ps-gris) 25%, #e0e0e0 50%, var(--ps-gris) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.ps-skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ps-skeleton-title {
    height: 16px;
    width: 70%;
    background: linear-gradient(90deg, var(--ps-gris) 25%, #e0e0e0 50%, var(--ps-gris) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.ps-skeleton-ref {
    height: 12px;
    width: 40%;
    background: linear-gradient(90deg, var(--ps-gris) 25%, #e0e0e0 50%, var(--ps-gris) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.ps-skeleton-price {
    height: 18px;
    width: 25%;
    background: linear-gradient(90deg, var(--ps-gris) 25%, #e0e0e0 50%, var(--ps-gris) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-top: auto;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   Product Cards - List View
   ========================================================================== */

.ps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ps-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-gris);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    cursor: pointer;
}

.ps-card:hover {
    border-color: var(--ps-jaune);
}

/* Image container with cart icon */
.ps-card-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.ps-card-img {
    width: 80px;
    height: 80px;
    background: var(--ps-gris);
    overflow: hidden;
}

.ps-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cart icon on image */
.ps-card-cart-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 27px;
    height: 22px;
    background: var(--ps-jaune);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-card-cart-icon svg {
    width: 13px;
    height: 13px;
}

.ps-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ps-card-title {
    font-family: var(--ps-font-oswald);
    font-size: 16px;
    font-weight: 500;
    color: var(--ps-noir-titres);
    line-height: 19.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ps-card-title mark {
    background: var(--ps-jaune);
    color: var(--ps-noir-titres);
    padding: 0 2px;
}

.ps-card:hover .ps-card-title {
    text-decoration: underline;
}

/* Rating and reviews */
.ps-card-rating {
    display: flex;
    align-items: center;
    gap: 1px;
}

.ps-card-rating-text {
    font-family: var(--ps-font-oswald);
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-textes);
    line-height: 13.2px;
}

.ps-card-rating-link {
    font-family: var(--ps-font-oswald);
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-textes);
    line-height: 13.2px;
    text-decoration: underline;
}

/* Price in yellow */
.ps-card-price-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.ps-card-price-regular {
    color: var(--ps-textes);
    font-size: 13px;
    font-family: var(--ps-font-oswald);
    font-weight: 400;
    line-height: 15.6px;
    text-decoration: line-through;
    opacity: 0.6;
    order: 2;
}

.ps-card-price {
    color: var(--ps-jaune);
    font-size: 15px;
    font-family: var(--ps-font-oswald);
    font-weight: 500;
    line-height: 18px;
    order: 1;
}

.ps-card-price-ttc {
    color: var(--ps-jaune);
    font-size: 11px;
    font-family: var(--ps-font-oswald);
    font-weight: 500;
    line-height: 13.2px;
    order: 1;
}

.ps-card-price-badge {
    order: 3;
}

.ps-card-price-devis {
    color: var(--ps-textes);
    font-size: 13px;
    font-family: var(--ps-font-oswald);
    font-weight: 500;
}

/* Separator line */
.ps-card-separator {
    width: 100%;
    height: 1px;
    background: var(--ps-textes);
    opacity: 0.26;
    margin: 2px 0;
}

/* Stock and delivery row */
.ps-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

/* Reference/SKU */
.ps-card-ref {
    font-family: var(--ps-font-oswald);
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-textes);
    opacity: 0.6;
    line-height: 13.2px;
}

.ps-card-stock {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ps-card-stock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-card-stock-icon svg {
    width: 12px;
    height: 12px;
}

.ps-card-stock-text {
    color: var(--ps-vert);
    font-size: 13px;
    font-family: var(--ps-font-oswald);
    font-weight: 400;
    line-height: 15.6px;
}

.ps-card-delivery {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ps-card-delivery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-card-delivery-icon svg {
    width: 11px;
    height: 11px;
}

.ps-card-delivery-text {
    font-family: var(--ps-font-oswald);
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-textes);
    line-height: 13.2px;
}

/* Right column removed - cart is now on image */
.ps-card-right {
    display: none;
}

/* ==========================================================================
   Product Grid View
   ========================================================================== */

.ps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ps-grid .ps-card {
    flex-direction: column;
    padding: 12px;
}

.ps-grid .ps-card-img-wrap {
    width: 100%;
}

.ps-grid .ps-card-img {
    width: 100%;
    height: 120px;
}

.ps-grid .ps-card-content {
    width: 100%;
}

.ps-grid .ps-card-title {
    min-height: 38px;
}

/* ==========================================================================
   Product Preview Tooltip
   ========================================================================== */

.ps-preview {
    position: absolute;
    left: -280px;
    top: 0;
    width: 260px;
    background: var(--ps-blanc-pur);
    border: 2px solid var(--ps-noir-titres);
    box-shadow: 0 12px 40px rgba(14, 14, 14, 0.2);
    padding: 16px;
    z-index: 101;
    pointer-events: none;
}

.ps-preview-img {
    width: 100%;
    height: 150px;
    background: var(--ps-gris);
    margin-bottom: 12px;
    overflow: hidden;
}

.ps-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-preview-title {
    font-family: var(--ps-font-oswald);
    font-size: 16px;
    font-weight: 500;
    color: var(--ps-noir-titres);
    margin-bottom: 8px;
}

.ps-preview-desc {
    font-size: 13px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-textes);
    line-height: 1.4;
    margin-bottom: 12px;
}

.ps-preview-variants {
    font-size: 12px;
    font-family: var(--ps-font-roboto);
    color: var(--ps-noir-titres);
    font-weight: 600;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.ps-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--ps-textes);
}

.ps-empty > svg {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.ps-empty h3 {
    font-family: var(--ps-font-oswald);
    font-size: 18px;
    font-weight: 500;
    color: var(--ps-noir-titres);
    margin-bottom: 0.5rem;
}

.ps-empty p {
    font-size: 14px;
    font-family: var(--ps-font-roboto);
    margin-bottom: 1rem;
}

.ps-empty-btn {
    background: var(--ps-jaune);
    border: 2px solid var(--ps-noir-titres);
    color: var(--ps-noir-titres);
    padding: 0.625rem 1.25rem;
    font-family: var(--ps-font-oswald);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ps-empty-btn:hover {
    background: var(--ps-noir-titres);
    color: var(--ps-blanc-pur);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.ps-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1.25rem 0;
    margin-top: 0.75rem;
}

.ps-page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ps-noir-titres) !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: var(--ps-font-roboto);
    font-size: 14px;
    font-weight: 600;
    color: var(--ps-noir-titres) !important;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none !important;
    padding: 0 !important;
}

.ps-page-btn:hover:not(:disabled):not(.active) {
    background: var(--ps-gris) !important;
    background-color: var(--ps-gris) !important;
}

.ps-page-btn.active {
    background: var(--ps-jaune) !important;
    background-color: var(--ps-jaune) !important;
    border-color: var(--ps-noir-titres) !important;
    color: var(--ps-noir-titres) !important;
}

.ps-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .ps-modal {
        max-width: 100%;
    }
    
    .ps-card {
        padding: 10px;
        gap: 10px;
    }
    
    .ps-card-img {
        width: 60px;
        height: 60px;
    }
    
    .ps-card-title {
        font-size: 14px;
    }
    
    .ps-card-price {
        font-size: 16px;
    }
    
    .ps-card-cart {
        width: 32px;
        height: 32px;
    }
    
    .ps-filters-bar {
        gap: 8px;
        padding: 0.75rem 1rem;
    }
    
    .ps-select {
        min-width: 90px;
        font-size: 12px;
        height: 30px;
    }
    
    .ps-view-toggle {
        display: none;
    }
    
    .ps-preview {
        display: none !important;
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
    }
}
