#alco-library {
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
}
#alco-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#alco-filter input,
#alco-filter select {
  flex: 1;
  min-width: 150px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#alco-book-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:768px) {
  #alco-book-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width:600px) {
  #alco-book-list {
    grid-template-columns: repeat(2, 1fr);
  }
	.alco-desc-btn {
    font-size: 12px !important;
}
}
@media(max-width:440px) {
  #alco-book-list {
    grid-template-columns: repeat(2, 1fr);
  }
.alco-desc-btn {
    font-size: 11px !important;
}
h4, .entry-content h4 {
    font-size: 20px;
    font-size: 0.8rem;
    line-height: 1.2em;
    font-weight: 600;
}
}
@media(max-width:330px) {
  #alco-book-list {
    grid-template-columns: repeat(1, 1fr);
  }
	.alco-desc-btn {
		font-size: 12px !important;
	}
}
.alco-item {
  background: #fff;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-align: center;
  cursor: pointer;
  transition: transform .15s;
}
.alco-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.alco-item img {
  width: 100%;
  aspect-ratio: 210 / 297;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}
#alco-viewer {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
}
#alco-pdf-container {
  position: absolute;
  top: 0; bottom: 60px;
  left: 0; right: 0;
  overflow: auto;
  display: block;
}
#alco-pdf-canvas {
  transform-origin: top left !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#alco-controls {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  padding: 10px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
#alco-controls button {
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
#alco-controls button:hover {
  background: #eee;
}
#alco-controls input {
  width: 60px;
  padding: 6px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#alco-controls span {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
.alco-desc-btn {
  font-size: 14px;
  padding: 6px 10px;
  width: 100%;
  box-sizing: border-box;
}
#alco-desc-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  z-index: 999999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}