
/* Greedy Pigs Neon - Archive List Layout v1.11.5 */
ul.products.columns-4, ul.products.columns-3, ul.products.columns-2, ul.products {
  display: block !important;
}
ul.products li.product.gp-list-item {
  width: 100% !important;
  margin: 0 0 16px 0 !important;
  list-style: none;
}
.gp-list-card {
  background: rgba(10,10,12,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.gp-list-row {
  display: grid;
  align-items: start;
  gap: 12px;
}
.gp-row-top {
  grid-template-columns: 1fr auto;
  margin-bottom: 8px;
}
.gp-item-title {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}
.gp-item-title a { text-decoration: none; color: #fff; }
.gp-item-title a:hover { text-decoration: underline; }

.gp-item-price {
  color: #ff97cd; /* neon pink */
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.gp-row-main {
  grid-template-columns: 120px 1fr 140px;
}
.gp-item-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.gp-item-desc { color: #ddd; font-size: 14px; line-height: 1.45; }

.gp-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: end;
  align-items: stretch;
  min-width: 120px;
}
.gp-item-actions .quantity input.qty {
  width: 100%;
  padding: 8px 10px;
  background: #111319;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
}
.gp-item-actions .button,
.gp-item-actions .added_to_cart {
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
}
.gp-item-actions .button.gp-add {
  background: #1b1e27;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: box-shadow 0.2s ease, transform 0.08s ease;
}
.gp-item-actions .button.gp-add:hover {
  box-shadow: 0 0 14px 2px rgba(255,151,205,0.6);
  border-color: #ff97cd;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 782px) {
  .gp-row-main {
    grid-template-columns: 1fr;
  }
  .gp-item-thumb { order: 1; }
  .gp-item-desc { order: 2; }
  .gp-item-actions { order: 3; width: 100%; }
}

/* === v1.11.5b Top-Title layout tweaks === */
ul.products li.product.gp-list-item.gp-top-title {
  border-bottom: 1px solid rgba(255,151,205,0.25);
  padding-bottom: 14px;
}
.gp-row-top {
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
}
.gp-row-main {
  grid-template-columns: 120px 1fr 140px;
  align-items: start;
}
.gp-item-thumb img, .gp-item-thumb .woocommerce-placeholder {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #13141a;
  border: 1px solid rgba(255,255,255,0.08);
}
.gp-item-desc { margin-right: 8px; }
.gp-item-actions { justify-self: end; }
.gp-item-actions .quantity { margin: 0; }
.gp-item-actions .button.gp-add {
  background: transparent;
  border: 1px solid #ff97cd;
}
.gp-item-actions .button.gp-add:hover {
  box-shadow: 0 0 12px 2px rgba(255,151,205,0.6);
  border-color: #ff97cd;
}

/* Mobile refinements */
@media (max-width: 782px) {
  .gp-row-main { grid-template-columns: 88px 1fr; grid-template-areas:
    "thumb desc"
    "actions actions"; gap: 10px; }
  .gp-item-thumb { grid-area: thumb; }
  .gp-item-desc { grid-area: desc; }
  .gp-item-actions { grid-area: actions; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .gp-item-actions .quantity { width: 100%; }
  .gp-item-actions .button { width: 100%; }
}


/* v1.11.5c — enforce list wrapper (no grid columns) */
ul.products.gp-list-view {
  display: block !important;
  padding-left: 0;
  margin-left: 0;
}
ul.products.gp-list-view > li.product {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  clear: both !important;
}


/* v1.11.5e — tighten mobile layout & image size; fix qty width */
.gp-list-card { border-radius: 12px; }
.gp-row-main { grid-template-columns: 120px 1fr 140px; }

/* Force image size */
.gp-list-card .gp-item-thumb img,
.gp-list-card .gp-item-thumb .woocommerce-placeholder {
  width: 100% !important;
  height: 120px !important;
  max-height: 120px !important;
  object-fit: cover !important;
  border-radius: 10px;
}

/* Description spacing */
.gp-list-card .gp-item-desc { font-size: 14px; line-height: 1.45; margin-top: 2px; }

/* Qty + Add column */
.gp-list-card .gp-item-actions { display: flex; flex-direction: column; gap: 8px; }
.gp-list-card .gp-item-actions .quantity,
.gp-list-card .gp-item-actions .button { width: 100%; }

/* Mobile: image top, then desc, then actions side-by-side */
@media (max-width: 782px) {
  .gp-row-main { grid-template-columns: 1fr; }
  .gp-item-thumb { margin-bottom: 8px; }
  .gp-item-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .gp-item-actions .quantity input.qty { text-align: center; }
}

/* Make price smaller on mobile and aligned right */
@media (max-width: 782px) {
  .gp-item-price { font-size: 15px; }
}

/* Show add button clearly */
.gp-item-actions .button.gp-add {
  background: transparent;
  border: 1px solid #ff97cd;
  color: #fff;
}
.gp-item-actions .button.gp-add:hover {
  box-shadow: 0 0 10px 2px rgba(255,151,205,0.6);
  border-color: #ff97cd;
}


/* v1.11.5g — refined responsive grid for mobile */
@media (max-width: 600px) {
  .gp-row-main {
    grid-template-columns: 100px 1fr 120px !important;
    align-items: start;
    gap: 10px;
  }
  .gp-item-thumb img, .gp-item-thumb .woocommerce-placeholder {
    height: 100px !important;
  }
  .gp-item-desc { font-size: 13px; }
}
@media (max-width: 480px) {
  .gp-row-main {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "thumb desc"
      "actions actions";
    gap: 8px;
  }
  .gp-item-thumb { grid-area: thumb; }
  .gp-item-desc { grid-area: desc; }
  .gp-item-actions { grid-area: actions; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .gp-item-actions .quantity, .gp-item-actions .button { width: 100%; }
}


/* v1.11.5h — mobile compact layout (75px image, stacked qty/add) */
.gp-row-main {
  grid-template-columns: 75px 1fr 110px !important;
  align-items: start;
  gap: 10px;
}
.gp-item-thumb img,
.gp-item-thumb .woocommerce-placeholder {
  width: 100% !important;
  height: 75px !important;
  max-height: 75px !important;
  object-fit: cover !important;
  border-radius: 8px;
}

.gp-item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gp-item-actions .quantity select {
  width: 100%;
  padding: 6px 8px;
  background: #111319;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 6px;
}
.gp-item-actions .button.gp-add {
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #ff97cd;
  background: transparent;
  color: #fff;
}
.gp-item-actions .button.gp-add:hover {
  box-shadow: 0 0 8px 2px rgba(255,151,205,0.6);
  border-color: #ff97cd;
}

/* Tweak at <= 600px to keep layout compact */
@media (max-width: 600px){
  .gp-row-main { grid-template-columns: 75px 1fr 110px !important; gap: 8px; }
  .gp-item-desc { font-size: 13px; line-height: 1.4; }
}

/* Very small phones: keep actions stacked but full width */
@media (max-width: 420px){
  .gp-row-main { grid-template-columns: 70px 1fr 100px !important; gap: 6px; }
  .gp-item-actions .button, .gp-item-actions .quantity { width: 100%; }
}


/* v1.11.5i — fix squished thumb (square 75px) + ensure select styling */
.gp-row-main { grid-template-columns: 75px 1fr 110px !important; }
.gp-item-thumb { width: 75px; }
.gp-item-thumb img,
.gp-item-thumb .woocommerce-placeholder {
  width: 75px !important;
  height: 75px !important;
  object-fit: cover !important;
  border-radius: 8px;
}
.gp-item-actions .gp-qty-select {
  width: 100%;
  padding: 6px 8px;
  background: #111319;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 6px;
}


/* v1.11.5j — layout fix: 75x75 thumb, right stack inset, neon glow price */
.gp-row-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:6px;
}
.gp-item-price{
  color:#ff97cd;
  font-weight:800;
  font-size:1.25rem;
  text-shadow:0 0 6px rgba(255,151,205,0.8);
}

.gp-row-main{
  display:grid;
  grid-template-columns:75px 1fr 120px !important;
  gap:10px;
  align-items:start;
}

/* True square thumbnails */
.gp-item-thumb{
  width:75px !important;
  height:75px !important;
}
.gp-item-thumb img,
.gp-item-thumb .woocommerce-placeholder{
  width:75px !important;
  height:75px !important;
  object-fit:cover !important;
  border-radius:8px;
  display:block;
}

/* Right stack inset */
.gp-item-actions{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-right:10px;
  align-items:stretch;
  justify-content:flex-start;
}

.gp-item-actions .gp-qty-select,
.gp-item-actions .quantity select{
  width:100%;
  padding:6px 8px;
  background:#111319;
  border:1px solid rgba(255,255,255,0.15);
  color:#fff;
  border-radius:6px;
}

.gp-item-actions .button.gp-add{
  padding:8px 10px;
  border-radius:6px;
  text-align:center;
  border:1px solid #ff97cd;
  background:transparent;
  color:#fff;
}
.gp-item-actions .button.gp-add:hover{
  box-shadow:0 0 10px 2px rgba(255,151,205,0.6);
  border-color:#ff97cd;
}

/* Mobile refinements */
@media (max-width:600px){
  .gp-row-main{ grid-template-columns:75px 1fr 110px !important; gap:8px; }
  .gp-item-desc{ font-size:13px; line-height:1.4; }
}
@media (max-width:420px){
  .gp-row-main{ grid-template-columns:70px 1fr 100px !important; gap:6px; }
  .gp-item-actions{ padding-right:8px; }
}


/* v1.11.5k — structure fix: lock grid, pure neon price, square thumbs */
.gp-row-main{
  display:grid !important;
  grid-template-columns: 75px 1fr 120px !important;
  align-items:start !important;
  gap:10px !important;
}
/* Explicit column placement */
.gp-item-thumb{ grid-column:1; }
.gp-item-desc{ grid-column:2; }
.gp-item-actions{ grid-column:3; }

/* True 75x75 thumb with strong selectors */
.gp-item-thumb img.wp-post-image,
.gp-item-thumb img.attachment-woocommerce_thumbnail,
.gp-item-thumb .woocommerce-placeholder{
  width:75px !important;
  height:75px !important;
  object-fit:cover !important;
  border-radius:8px !important;
  display:block !important;
}

/* Smaller description for tighter fit */
.gp-item-desc{ font-size:13px; line-height:1.4; }

/* Qty/Add stacked and inset */
.gp-item-actions{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-right:10px;
  align-items:stretch;
  justify-content:flex-start;
}
.gp-item-actions .gp-qty-select,
.gp-item-actions .quantity select{
  width:100%;
  padding:6px 8px;
  background:#111319;
  border:1px solid rgba(255,255,255,0.15);
  color:#fff;
  border-radius:6px;
}

/* Price: force neon pink + glow across inner tags */
.gp-item-price, .gp-item-price ins, .gp-item-price bdi, .gp-item-price .amount{
  color:#ff97cd !important;
  font-weight:800 !important;
  font-size:1.25rem !important;
  text-shadow:0 0 8px rgba(255,151,205,0.9) !important;
}

/* Mobile adjustments without collapsing columns */
@media (max-width:600px){
  .gp-row-main{ grid-template-columns:75px 1fr 110px !important; gap:8px !important; }
  .gp-item-actions{ padding-right:8px; }
}
@media (max-width:420px){
  .gp-row-main{ grid-template-columns:70px 1fr 100px !important; gap:6px !important; }
  .gp-item-actions{ padding-right:6px; }
}
