.wpcooper-showcase-wrapper {
  display: flex;
  gap: 20px;
  width: 100%;
}

.wpcooper-sidebar {
  width: 20%;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

.wpcooper-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpcooper-sidebar li {
  margin-bottom: 8px;
}

.wpcooper-sidebar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.wpcooper-sidebar a:hover {
  color: #0073aa;
}

.wpcooper-pattern-area{
    width: 80%;
}
.wpcooper-pattern-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.wpcooper-pattern-card {
    border: 1px solid #ccc;
    padding: 16px;
    text-align: center;
    flex: 1 1 200px;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.2s;
}
.wpcooper-pattern-card:hover {
    transform: translateY(-4px);
}

.wpcooper-pattern-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
}

#wpcooper-popup {
    position: fixed;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto;
}

.wpcooper-popup-inner {
    position: relative;
    width: 90%; max-width: 1400px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 50px;
}

.wpcooper-popup-inner iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

.wpcooper-close {
    position: absolute;
    top: 8px; right: 12px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.wpcooper-loader {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #333;
    display: none;
}