/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.ct-footer {
    background: #000 !important;
    color: #fff !important;
    margin-top: 40px;
    text-align: center;
}
.ct-footer-copyright, .ct-footer-copyright a {
    color: #ffffff !important;
}
p.callInfo a {
    background: #7170CD;
    padding: 6px 12px 7px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: block;
	text-decoration:none;
}
p.callInfo img {
    width: 20px;
    margin: -1px 7px 0 0;
}
p.callInfo strong {
    font-weight: 600;
}
.mke-main-box > div {
  background: #ffffff;
  border-radius: 28px;
  padding: 60px 50px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.mke-main-box > div::after {
  content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/2026/01/bubble.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    opacity: 0.41;
    pointer-events: none;
}
.mke-main-box > div::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}
.post-type-archive-product .hero-section {
   display: none;
}

.shopbanner{
background-image: url(https://maakalistore.com/wp-content/uploads/2026/01/WhatsApp-Image-2026-01-08-at-9.26.50-PM.jpeg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height:350px;
position:relative;
display: flex;
justify-content: center;
align-items: center;
margin-bottom:60px;
}
.shopbanner::before {
background: rgba(0,0,0,0.5);
position: absolute;
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
/* z-index: -1; */
}
.shopbanner h2{
font-size: 80px;
color: #FFFFFF;
text-align:center;
position:relative;
z-index:1;
}

.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 18px;
}

.category-card {
cursor: pointer;
border-radius: 10px;
overflow: hidden;
box-shadow: 5px 5px 4px rgba(0,0,0,.2);
transition: transform .3s;
}

.category-card:hover {
transform: translateY(-6px);
}

.category-card img {
width: 100%;
height: 200px;
object-fit: cover;
}

.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
margin-top: 20px;
}

.product-card img {
width: 100%;
border-radius: 12px;
}


.category-showcase h2 {
text-align: center;
margin-bottom: 40px;
}

.category-card-inner {
background: #ebebeb;
padding: 16px;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover .category-card-inner {
transform: translateY(-6px);
}

.category-card h3 {
font-size: 20px;
font-weight: 700;
text-align: center;
line-height: 24px;
margin: 12px 0 0 0;
color: #2a3138;
text-transform: capitalize;
}

.category-card p {
font-size: 16px;
color: #555;
}


#category-detail-section {
  margin-top: 50px;
  padding: 40px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

#category-detail-section h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.category-description {
  margin-bottom: 30px;
  color: #555;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.product-item img {
  width: 100%;
  border-radius: 16px;
}



/* LIGHTBOX BASE */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 99999;
}

/* ACTIVE STATE */
#lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* IMAGE ANIMATION */
#lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,.6);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* when open */
#lightbox-overlay.active #lightbox-image {
  transform: scale(1);
  opacity: 1;
}

/* CLOSE */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* ARROWS */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  user-select: none;
  z-index: 10;
}

.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }

/* ===== Skeleton Loader ===== */
.skeleton-wrapper {
  padding: 20px 0;
}

.skeleton-item {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.skeleton-card {
  background: #eee;
  border-radius: 12px;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* Fade-in result */
.fade-in {
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .lightbox-arrow {
    font-size: 36px;
  }
  
.product-gallery {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 10px;
}
#category-detail-section {
padding: 20px;
}
}


