/*
 Theme Name: Blocksy Child
 Theme URI: https://creativethemes.com/blocksy/
 Description: Child theme for Blocksy
 Author: Everlooms
 Template: blocksy
 Version: 1.0.0
 Text Domain: blocksy-child
*/


/* =======================================================================
   ELO-STYLE ARCHIVE ADDITIONS (kept additive; nothing removed)
   ======================================================================= */

/* Full-width container only on archives */
.woocommerce.archive .ct-container,
.woocommerce.archive .ct-container-narrow{
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Sticky utility bar (sort / count) */
.woocommerce.archive .woo-listing-top{
  position:relative;top: 64px; z-index: 30;
  display: flex; gap: 12px; align-items: center; justify-content: flex-end;
  background:#fff; padding: 10px 16px; margin: 0; border-bottom: 1px solid #eee;
}
@media (max-width: 900px){
  .woocommerce.archive .woo-listing-top{ top: 56px; padding: 8px 12px; }
}
.woocommerce.archive .woocommerce-result-count{ margin: 0; color:#6b7280; }
.woocommerce.archive .woocommerce-ordering select.orderby{
  min-height:38px; border:1px solid #e5e7eb; border-radius:10px; padding:6px 12px; background:#fff;
}

/* Grid: 4 / 3 / 2 */
.woocommerce.archive ul.products{
  --gap: 18px;
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: var(--gap);
  padding: var(--gap);
  background:#fff;
}
@media (max-width: 1024px){ .woocommerce.archive ul.products{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px){ .woocommerce.archive ul.products{ grid-template-columns: repeat(2, minmax(0,1fr)); padding:12px; gap:12px; } }

/* Card */
.woocommerce.archive ul.products li.product{
  float:none !important; width:auto !important; margin:0 !important;
  background:#fff; border:1px solid #eef0f2; border-radius:14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
  overflow:hidden; padding:12px; color:#0f172a; text-align:left;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.woocommerce.archive ul.products li.product:hover{
  transform: translateY(-2px);
  border-color:#e5e7eb;
  box-shadow: 0 14px 28px rgba(0,0,0,.06);
}

/* Image: 3:4 look + gentle hover */
.woocommerce.archive ul.products li.product figure{ margin:0 0 10px !important; }
.woocommerce.archive ul.products li.product a.ct-media-container{
  display:block; border-radius:12px; overflow:hidden; background:#f7f7f8;
  aspect-ratio: 3 / 4;
}
.woocommerce.archive ul.products li.product a.ct-media-container img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .35s ease, opacity .35s ease;
}
.woocommerce.archive ul.products li.product a.ct-media-container:hover img{
  transform: scale(1.03);
}

/* Badges */
.woocommerce.archive ul.products li.product .onsale{
  position:absolute; left:12px; top:12px; z-index:2;
  border-radius:999px; padding:6px 10px; font-weight:700;
  background:#111827; color:#fff !important; border:1px solid #111827;
}

/* Text block */
.woocommerce.archive .products .product h2.woocommerce-loop-product__title{
  margin: 6px 0 4px !important; font-weight:700; font-size:15px; line-height:1.25;
}
.woocommerce.archive .products .product .price{
  margin: 2px 0 10px !important; font-weight:700; color:#0f172a;
}
.woocommerce.archive .products .product .price del{ color:#9ca3af; font-weight:500; }
.woocommerce.archive .products .product .entry-meta{
  margin: 0 0 10px !important; font-size:12px; color:#6b7280;
}

/* (Optional) color dots row if you inject .color-dots via JS */
.woocommerce.archive ul.products li.product .color-dots{
  display:flex; gap:8px; margin: 8px 0 10px;
}
.woocommerce.archive ul.products li.product .color-dot{
  width:16px; height:16px; border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

/* Primary action button */
.woocommerce.archive ul.products li.product .ct-woo-card-actions{
  margin-top:10px; text-align:left;
}
.woocommerce.archive ul.products li.product .ct-woo-card-actions .button{
  display:inline-flex !important; align-items:center; justify-content:center;
  gap:.5rem; min-height:40px; padding:10px 14px; border-radius:12px;
  background:#FFFFFF; color:#fff; border:1px solid #111827; font-weight:700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.woocommerce.archive ul.products li.product .ct-woo-card-actions .button:hover{
  transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,.12);
	
}


.ct-woo-card-actions
{
	display:none !important;
}

.woocommerce.archive ul.products li.product
{
	border: 2px solid;
	border-color:#2d6b7d;
	background-color:#6cbcd345;
}
#header{
padding: 0px 10px;
}

.woocommerce ul.products li.product
{
	border: 2px solid;
	border-color:#2d6b7d;
	background-color:#6cbcd345;
	background-color:#0000
}
h1.page-title{
	color:white;
}

div.u-column1.col-1,.ct-woo-unauthorized .col2-set>*:first-child {
		border:0px 1px 0px 0px dashed #ffffff;
	}
}

