.page-shop .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shop .shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.page-shop .shop-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-shop .shop-collections a {
  text-decoration: none;
}

.page-shop .shop-cart-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-shop .shop-cart-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-shop .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.page-shop .shop-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-shop .shop-card-image {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-shop .shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-shop .shop-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-shop .shop-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
}

.page-shop .shop-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-shop .shop-card-title a:hover {
  text-decoration: underline;
}

.page-shop .shop-card-price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f5b5a8;
}

.page-shop .shop-card-price s {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-right: 6px;
}

.page-shop .shop-card-variant {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page-shop .shop-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.page-shop .shop-card-actions .btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.page-shop .shop-badge-soldout {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  background: rgba(180, 50, 50, 0.35);
  color: #ffb4b4;
}

.page-shop .shop-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.page-shop .shop-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.page-shop .shop-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-shop .shop-drawer.is-open .shop-drawer-backdrop {
  opacity: 1;
}

.page-shop .shop-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100%;
  background: #141416;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-shop .shop-drawer.is-open .shop-drawer-panel {
  transform: translateX(0);
}

.page-shop .shop-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-shop .shop-drawer-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.page-shop .shop-drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.page-shop .shop-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}

.page-shop .shop-drawer-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.page-shop .shop-drawer-item-info {
  flex: 1;
  min-width: 140px;
}

.page-shop .shop-drawer-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-shop .shop-drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-shop .shop-drawer-qty-input {
  width: 52px;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.85rem;
}

.page-shop .shop-back {
  margin: 0 0 1rem;
}

.page-shop .shop-back a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page-shop .shop-back a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-shop .shop-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .page-shop .shop-product-layout {
    grid-template-columns: 1fr;
  }
}

.page-shop .shop-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-shop .shop-product-figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.page-shop .shop-product-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shop .shop-product-description {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.page-shop .shop-product-description p {
  margin: 0 0 0.75rem;
}

.page-shop .page-shop-product .shop-card {
  max-width: 100%;
}

.page-shop .shop-drawer-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-shop .shop-drawer-empty {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
