/*
Theme Name: Bw GiftXtore
Theme URI: https://giftxtore.bzotech.com/intro/
Author: BZOTech
Author URI: https://bzotech.com/
Description: GiftXtore is a clean beautiful WordPress theme for selling Jewelry Diamond, Jewelry Gemstone, Fashion Jewelry, Earrings, Necklace and so on.
Version: 1.8.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: © 2024 BZOTech Theme. All rights reserved.
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, post-formats, sticky-post, threaded-comments, block-styles, blog, news
Text Domain: bw-giftxtore
*/






/* Subcategories Grid - Generous, Prominent Sizing */
.wsc-subcats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  margin: 30px 0;
  box-sizing: border-box;
}

/* Larger Featured Subcategory Card */
.wsc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 16px;
  padding: 22px 18px 20px;
  text-decoration: none !important;
  color: #172332;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.wsc-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Prominent Image Frame */
.wsc-image-wrap {
  width: 150px;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.wsc-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.wsc-card:hover .wsc-image-wrap img {
  transform: scale(1.06);
}

/* Typography & Info Block */
.wsc-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.wsc-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.wsc-card:hover .wsc-title {
  color: #e87b24;
}

/* Product Count Pill */
.wsc-count {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  line-height: 1.25;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 768px) {
  .wsc-subcats-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }

  .wsc-image-wrap {
    width: 130px;
    height: 130px;
  }

  .wsc-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .wsc-subcats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .wsc-card {
    padding: 16px 12px 14px;
    border-radius: 12px;
  }

  .wsc-image-wrap {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .wsc-title {
    font-size: 0.92rem;
  }

  .wsc-count {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
}