.customize-category-section {
  padding-bottom: 60px;
}

.customize-category-section .ccs-hero {
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ltr .customize-category-section .ccs-hero {
  background: linear-gradient(135deg, #2a155c 0%, #5e29a9 60%, #7c3aed 100%);
}

.rtl .customize-category-section .ccs-hero {
  background: linear-gradient(-135deg, #2a155c 0%, #5e29a9 60%, #7c3aed 100%);
}

.customize-category-section .ccs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.customize-category-section .ccs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.customize-category-section .ccs-hero__title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.customize-category-section .ccs-hero__title span {
  -webkit-text-fill-color: transparent;
}

.ltr .customize-category-section .ccs-hero__title span {
  background: linear-gradient(90deg, #f9c74f, #f3722c);
}

.rtl .customize-category-section .ccs-hero__title span {
  background: linear-gradient(-90deg, #f9c74f, #f3722c);
}

[dir] .customize-category-section .ccs-hero__title span {
  -webkit-background-clip: text;
  background-clip: text;
}

@media (min-width: 768px) {
  .customize-category-section .ccs-hero__title {
    font-size: 40px;
  }
}

.customize-category-section .ccs-hero__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.customize-category-section .ccs-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 24px;
}

.customize-category-section .ccs-section-head__line {
  flex: 1;
  height: 1px;
}

.ltr .customize-category-section .ccs-section-head__line {
  background: linear-gradient(90deg, transparent, #ddd2f3);
}

.rtl .customize-category-section .ccs-section-head__line {
  background: linear-gradient(-90deg, transparent, #ddd2f3);
}

.ltr .customize-category-section .ccs-section-head__line:last-child {
  background: linear-gradient(270deg, transparent, #ddd2f3);
}

.rtl .customize-category-section .ccs-section-head__line:last-child {
  background: linear-gradient(-270deg, transparent, #ddd2f3);
}

.customize-category-section .ccs-section-head__label {
  font-size: 13px;
  font-weight: 700;
  color: #5e29a9;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.customize-category-section .customize-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .customize-category-section .customize-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .customize-category-section .customize-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.customize-category-section .customize-category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #ede8f8;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s, border-color 0.22s;
  box-shadow: 0 2px 10px rgba(94, 41, 169, 0.06);
}

.customize-category-section .customize-category-card:hover {
  transform: translateY(-5px);
  border-color: #9d5cf0;
  box-shadow: 0 12px 32px rgba(94, 41, 169, 0.16);
}

.customize-category-section .customize-category-card:hover .category-image-wrapper img {
  transform: scale(1.06);
}

.customize-category-section .customize-category-card:hover .card-overlay {
  opacity: 1;
}

.customize-category-section .customize-category-card:hover .card-arrow {
  color: #5e29a9;
}

.ltr .customize-category-section .customize-category-card:hover .card-arrow {
  transform: translateX(4px);
}

.rtl .customize-category-section .customize-category-card:hover .card-arrow {
  transform: translateX(-4px);
}

.customize-category-section .category-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.ltr .customize-category-section .category-image-wrapper {
  background: linear-gradient(135deg, #f6f1ff 0%, #ede8f8 100%);
}

.rtl .customize-category-section .category-image-wrapper {
  background: linear-gradient(-135deg, #f6f1ff 0%, #ede8f8 100%);
}

.customize-category-section .category-image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
}

.customize-category-section .category-image-wrapper .las {
  font-size: 42px;
  color: #9d5cf0;
  position: absolute;
  top: 50%;
}

.ltr .customize-category-section .category-image-wrapper .las {
  left: 50%;
  transform: translate(-50%, -50%);
}

.rtl .customize-category-section .category-image-wrapper .las {
  right: 50%;
  transform: translate(50%, -50%);
}

.customize-category-section .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(94, 41, 169, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}

.customize-category-section .card-overlay__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #5e29a9;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}

.customize-category-section .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid #f0ebfa;
}

.customize-category-section .category-name {
  font-size: 14px;
  font-weight: 700;
  color: #2a155c;
  margin: 0;
}

.customize-category-section .card-arrow {
  font-size: 16px;
  color: #b9a3e8;
  transition: transform 0.2s, color 0.2s;
}

.customize-category-section .ccs-message-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  border: 1.5px solid #ddd2f3;
  border-radius: 16px;
  padding: 18px 20px;
}

.ltr .customize-category-section .ccs-message-banner {
  background: linear-gradient(135deg, #f6f1ff 0%, #ede8f8 100%);
}

.rtl .customize-category-section .ccs-message-banner {
  background: linear-gradient(-135deg, #f6f1ff 0%, #ede8f8 100%);
}

.customize-category-section .ccs-message-banner__emoji {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.customize-category-section .ccs-message-banner__title {
  font-size: 15px;
  font-weight: 800;
  color: #2a155c;
  margin-bottom: 4px;
}

.customize-category-section .ccs-message-banner__sub {
  font-size: 13px;
  color: #5b5468;
  line-height: 1.55;
}

.customize-category-section .customize-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 20px;
  color: #8b85a0;
}

.customize-category-section .customize-empty .las {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  color: #c4a8f0;
}

.customize-category-section .customize-empty p {
  font-size: 15px;
  margin: 0;
}

.customize-category-section .customize-tip {
  display: none;
}