/* =========================================================
   FARS TEC - CYBER-NEON TACTICAL HUD SYSTEM (V.2.5 - PRO STABLE)
   ========================================================= */

/* --- 0. FONTS --- */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* اعمال سراسری فونت */
body, h1, h2, h3, h4, .product-miniature, .product-title, .product-price, .page-list {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* =========================================================
   1. PRODUCT CARD (HUD TACTICAL)
   ========================================================= */
article.product-miniature,
.product-miniature {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    
    background: linear-gradient(160deg, rgba(13, 18, 30, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-radius: 8px !important;
    
    /* برش تاکتیکال گوشه‌ها */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease !important;
}

@media (hover: hover) {
    .product-miniature:hover {
        transform: translateY(-5px) !important;
        border-color: rgba(0, 240, 255, 0.8) !important;
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.2) !important;
        filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.25)) !important;
    }
}

/* بج‌های محصول (بالا - راست) */
.product-miniature .product-flags,
.product-miniature ul.product-flags {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 6 !important;
}

.product-miniature .product-flags .product-flag {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 240, 255, 0.4) !important;
    background: rgba(10, 15, 25, 0.85) !important;
    color: #00f2fe !important;
    backdrop-filter: blur(4px) !important;
}

/* دکمه علاقه‌مندی (قلب - بالا چپ) */
.product-miniature .wishlist,
.product-miniature .wishlist-button,
.product-miniature .wishlist-button-add,
.product-miniature .btn-wishlist,
.product-miniature [class*="wishlist"] button {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(10, 14, 22, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    color: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px) !important;
    z-index: 6 !important;
    transition: all 0.25s ease !important;
}

.product-miniature .wishlist:hover,
.product-miniature .wishlist-button-add:hover,
.product-miniature .btn-wishlist:hover {
    border-color: #00f2fe !important;
    color: #00f2fe !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.6) !important;
    transform: scale(1.08) !important;
}

/* 2. کانتینر تصویر و اسکنر لیزری */
.product-miniature .thumbnail-container {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 12px !important;
    background: rgba(4, 7, 13, 0.5) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.product-miniature .thumbnail-container img,
.product-miniature img {
    width: 100% !important;
    height: 100% !important;
    max-height: 180px !important;
    object-fit: contain !important;
    transition: transform 0.4s ease !important;
}

.product-miniature:hover img {
    transform: scale(1.04) !important;
}

.product-miniature .thumbnail-container::after {
    content: '';
    position: absolute;
    top: -100%; 
    left: 0;
    width: 100%; 
    height: 25%;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.45), transparent);
    pointer-events: none;
    opacity: 0;
}

.product-miniature:hover .thumbnail-container::after {
    animation: hudScanSweep 1.6s ease-in-out infinite;
}

/* نمایش سریع (Quick View) */
.product-miniature .highlighted-informations {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 5 !important;
    width: 85% !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-miniature:hover .highlighted-informations {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.product-miniature .quick-view {
    display: block !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00f2fe !important;
    background: rgba(13, 18, 30, 0.9) !important;
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
}

.product-miniature .quick-view:hover {
    background: #00f2fe !important;
    color: #090c13 !important;
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.8) !important;
}

/* 3. عنوان محصول */
.product-miniature .product-description {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    width: 100% !important;
    padding: 0 4px !important;
}

.product-miniature .product-title {
    margin-bottom: 8px !important;
}

.product-miniature .product-title a {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    height: 2.7em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    transition: color 0.2s ease !important;
}

.product-miniature .product-title a:hover {
    color: #00f0ff !important;
}

/* 4. باکس قیمت یکپارچه و بهینه‌سازی‌شده */
#js-product-list .product-miniature .product-price-and-shipping,
.product-miniature .product-price-and-shipping,
body .product-price-and-shipping {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    
    width: auto !important;
    min-width: 130px !important;
    max-width: 95% !important;
    margin: 8px auto 0 auto !important;
    padding: 6px 12px !important;
    
    background: rgba(0, 240, 255, 0.08) !important;
    border: 1.5px dashed rgba(0, 240, 255, 0.5) !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

/* عدد قیمت */
#js-product-list .product-miniature .product-price-and-shipping .price,
.product-miniature .price,
.product-miniature span[itemprop="price"],
body .product-price-and-shipping .price {
    font-size: 13.5px !important;
    font-weight: 900 !important;
    color: #00f2fe !important;
    direction: ltr !important;
    display: inline-block !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.45) !important;
}

/* واحد پولی (تومان / ریال) */
#js-product-list .product-miniature .currency,
.product-miniature .currency {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(0, 242, 254, 0.85) !important;
}

/* 5. نقطه وضعیت موجودی */
.product-availability::before {
    content: '';
    display: inline-block;
    width: 8px; 
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    margin-left: 6px;
    box-shadow: 0 0 8px #00ff88;
    animation: hudPulse 1.5s infinite;
}

/* =========================================================
   2. FARS TEC: CYBER-BLUE HUD PAGINATION (صفحه‌بندی اختصاصی)
   ========================================================= */
.pagination {
    background: transparent !important;
    padding: 20px 0 !important;
}

.page-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
}

.page-list li {
    display: inline-block !important;
}

/* دکمه‌های معمولی و دکمه فعال */
.page-list li a,
.page-list li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    
    /* استایل آبی سایبرپانکی */
    background: rgba(13, 18, 30, 0.9) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    
    /* لبه‌های تاکتیکال هندسی */
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    
    /* حل باگ سایه با drop-shadow بدون از بین رفتن کادر */
    filter: drop-shadow(0 0 2px rgba(0, 240, 255, 0.2)) !important;
    transition: all 0.25s ease-in-out !important;
}

/* هاور دکمه‌ها */
.page-list li a:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)) !important;
}

/* صفحه فعال (Active / Current) */
.page-list li.current a,
.page-list li.active a,
.page-list li .current {
    background: #00f0ff !important;
    color: #080c14 !important;
    font-weight: 900 !important;
    border-color: #00f0ff !important;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.8)) !important;
    transform: scale(1.05) !important;
}

/* دکمه‌های بعدی و قبلی (جهت‌نماها) */
.page-list li .previous, 
.page-list li .next {
    font-size: 16px !important;
}

/* =========================================================
   3. انیمیشن‌ها (HUD KEYFRAMES)
   ========================================================= */
@keyframes hudScanSweep {
    0% { top: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 200%; opacity: 0; }
}

@keyframes hudPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* =========================================================
   4. ریسپانسیو و رفع تداخل‌های عمومی
   ========================================================= */
.btn-primary, 
.btn-secondary {
    border-radius: 4px !important;
    font-weight: 700 !important;
}

.btn-primary {
    background: #00f0ff !important;
    border-color: #00f0ff !important;
    color: #080c14 !important;
}

.btn-primary:hover {
    background: #00c8d6 !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

@media (max-width: 768px) {
    .product-miniature {
        padding: 10px !important;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    }
    
    .product-miniature img {
        height: 140px !important;
    }
    
    .product-miniature .thumbnail-container {
        height: 140px !important;
        max-height: 140px !important;
    }
    
    #js-product-list .product-miniature .product-price-and-shipping,
    .product-miniature .product-price-and-shipping {
        min-width: 100% !important;
        padding: 5px 8px !important;
    }
    
    #js-product-list .product-miniature .product-price-and-shipping .price,
    .product-miniature .price {
        font-size: 11.5px !important;
    }
    
    .page-list li a,
    .page-list li span {
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 6px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
    #custom-text,
    .featured-products,
    #brands {
        display: none !important;
    }
}

/* ==========================================================
   سنتر کردن دقیق عنوان محصول در صفحه اختصاصی کالا
   ========================================================== */
#product .product-detail-name,
#product .page-header,
#product h1[itemprop="name"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

#product h1.h1,
#product .h1[itemprop="name"],
body#product .product-detail-name h1 {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 1.5rem auto !important;
    clear: both !important;
    float: none !important;
    font-size: 1.6rem !important;
    line-height: 1.6 !important;
}

/* ==========================================================
   FARS TEC - یکدست‌سازی ارتفاع المان‌های خرید در صفحه کالا
   ========================================================== */
#product .product-actions .product-add-to-cart .add-to-cart-row,
#product .product-add-to-cart .row,
#product form[id*="add-to-cart"] {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
}

#product .bootstrap-touchspin,
#product .product-quantity .qty {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    margin-bottom: 0 !important;
}

#product .bootstrap-touchspin .form-control,
#product #quantity_wanted {
    height: 48px !important;
    line-height: 48px !important;
    text-align: center !important;
    padding: 0 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

#product input[type=number]::-webkit-inner-spin-button, 
#product input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none !important; 
    margin: 0 !important; 
}
#product input[type=number] {
    -moz-appearance: textfield !important;
}

#product .btn-add-to-cart,
#product button.add-to-cart {
    height: 48px !important;
    line-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

#product .wishlist-button-product,
#product .wishlist-button-add {
    height: 48px !important;
    width: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* ===================================================
   بخش بنر بالایی صفحه اصلی (HUD MAIN SHOWCASE)
   =================================================== */
.ft-hero-banner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 30px;
  background: radial-gradient(circle at 80% 50%, rgba(16, 26, 46, 0.8) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.05);
}

.ft-hero-content {
  z-index: 2;
}

.ft-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid #00f2fe;
  color: #00f2fe;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ft-badge-dot {
  width: 8px;
  height: 8px;
  background: #00f2fe;
  border-radius: 50%;
  margin-left: 8px;
  box-shadow: 0 0 8px #00f2fe;
  animation: pulse-dot 2s infinite;
}

.ft-hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
}

.ft-glitch-text {
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.ft-hero-desc {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.ft-hero-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.ft-stat-item {
  display: flex;
  flex-direction: column;
}

.ft-stat-val {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  font-family: sans-serif;
}

.ft-stat-lbl {
  color: #64748b;
  font-size: 12px;
}

.ft-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00f2fe;
  color: #080c16;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.ft-hero-btn:hover {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
  color: #080c16;
}

.ft-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ft-hud-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: 50%;
  animation: rotate-hud 25s linear infinite;
}

.ft-hud-cross {
  position: absolute;
  width: 380px;
  height: 380px;
  border-left: 1px solid rgba(0, 242, 254, 0.1);
  border-right: 1px solid rgba(0, 242, 254, 0.1);
}

.ft-glow-core {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
}

.ft-case-img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  animation: float-case 4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes rotate-hud {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float-case {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .ft-hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }
  .ft-hero-stats {
    justify-content: center;
  }
  .ft-hero-visual {
    margin-top: 20px;
  }
}

/* ===================================================
   بخش معرفی سیستم اسمبل شده (HUD CASE SHOWCASE)
   =================================================== */
.ft-case-hologram-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-case-corners {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 242, 254, 0.15);
  pointer-events: none;
}

.ft-case-corners::before,
.ft-case-corners::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: #00f2fe;
  border-style: solid;
}

.ft-case-corners::before {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.ft-case-corners::after {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.ft-case-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, rgba(5, 8, 15, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ft-case-floating-img {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(0, 242, 254, 0.2));
  animation: ftCaseFloat 4s ease-in-out infinite alternate;
}

@keyframes ftCaseFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.ft-btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00f2fe !important;
  color: #05080f !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.ft-btn-cyber:hover {
  background: #ffffff !important;
  color: #05080f !important;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.8);
  transform: translateY(-2px);
}

/* ==========================================================================
   FARS TEC - 3 COLUMN CATEGORY CARDS SECTION (DARK CYBER THEME)
   ========================================================================== */
.ft-categories-section {
  width: 100%;
  padding: 40px 0 60px 0;
  position: relative;
}

.ft-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.ft-sec-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.ft-sec-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.ft-sec-badge {
  color: #00f2fe;
  font-size: 11px;
  font-family: monospace;
  background: rgba(0, 242, 254, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.ft-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.ft-cat-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.95) 0%, rgba(9, 13, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ft-card-accent-cyan {
  border-bottom: 2px solid #00f2fe;
}
.ft-card-accent-cyan:hover {
  border-color: #00f2fe;
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.ft-card-accent-purple {
  border-bottom: 2px solid #a855f7;
}
.ft-card-accent-purple:hover {
  border-color: #a855f7;
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15);
}

.ft-card-accent-orange {
  border-bottom: 2px solid #ff7b00;
}
.ft-card-accent-orange:hover {
  border-color: #ff7b00;
  box-shadow: 0 15px 35px rgba(255, 123, 0, 0.15);
}

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

.ft-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ft-card-accent-purple .ft-card-glow {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}
.ft-card-accent-orange .ft-card-glow {
  background: radial-gradient(circle, rgba(255, 123, 0, 0.08) 0%, transparent 70%);
}

.ft-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ft-card-num {
  font-family: monospace;
  font-size: 12px;
  color: #475569;
  font-weight: 700;
}

.ft-card-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.ft-card-accent-cyan .ft-card-tag {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
}
.ft-card-accent-purple .ft-card-tag {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
}
.ft-card-accent-orange .ft-card-tag {
  background: rgba(255, 123, 0, 0.1);
  color: #ff9838;
}

.ft-card-img-wrap {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.ft-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.ft-cat-card:hover .ft-card-img-wrap img {
  transform: scale(1.06);
}

.ft-card-info {
  margin-bottom: 22px;
}

.ft-card-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ft-card-desc {
  color: #8da0b8;
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

.ft-card-action {
  width: 100%;
}

.ft-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ft-card-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.ft-card-accent-cyan .ft-card-btn:hover {
  background: #00f2fe;
  color: #070a12;
  border-color: #00f2fe;
}
.ft-card-accent-purple .ft-card-btn:hover {
  background: #a855f7;
  color: #ffffff;
  border-color: #a855f7;
}
.ft-card-accent-orange .ft-card-btn:hover {
  background: #ff7b00;
  color: #ffffff;
  border-color: #ff7b00;
}

@media (max-width: 991px) {
  .ft-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
