
/* =========================================

   首页专属样式 (Banner / 金刚区 / 商品卡片)

   ========================================= */

.ff-search-box {

  display: flex; align-items: center; background: #fff; 

  border: 2px solid #FF0036; border-radius: 999px; 

  padding: 0 6px 0 18px; height: 50px; 

  box-shadow: 0 4px 15px rgba(255,0,54,0.1);

}

.ff-search-box input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; }

.ff-search-submit {

  background: linear-gradient(90deg, #FF0036, #FF7300); 

  color: #fff; border: none; border-radius: 999px; 

  height: 38px; padding: 0 28px; font-size: 16px; font-weight: bold; cursor: pointer;

}



.ff-hero-banner {

  width: 100%; height: 340px; border-radius: 16px;

  background: linear-gradient(90deg, #FF0036 0%, #FF7300 100%);

  display: flex; flex-direction: column; align-items: center; justify-content: center; 

  text-align: center; color: #fff; margin-bottom: 20px;

  box-shadow: 0 12px 24px rgba(255, 0, 54, 0.15);

}

.ff-hero-banner h2 { font-size: 46px; font-weight: 800; margin-bottom: 16px; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }

.ff-hero-banner p { font-size: 18px; opacity: 0.95; margin-bottom: 30px; }

.ff-hero-btn {

  background: #fff; color: #FF0036; border: none; border-radius: 999px; 

  padding: 14px 36px; font-size: 18px; font-weight: bold; 

  cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.2s;

}

.ff-hero-btn:hover { transform: scale(1.05); }



.ff-island-wrap {

    width: 950px; max-width: 95vw; margin-top: -40px;

    position: relative; z-index: 100;

}

.ff-island-inner {

    background: #ffffff; border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,0.06);

    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;

    justify-content: space-around !important; align-items: center !important; padding: 24px 40px !important;

}

.ff-kk-item {

    display: flex !important; flex-direction: column !important; align-items: center !important;

    position: relative !important; text-decoration: none !important; cursor: pointer !important;

    width: 80px !important; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;

}

.ff-kk-item:hover { transform: translateY(-8px) scale(1.02) !important; }

.ff-kk-icon-box {

    width: 64px !important; height: 64px !important; border-radius: 20px !important;

    display: flex !important; align-items: center !important; justify-content: center !important;

    margin-bottom: 12px !important; box-shadow: inset 0 -3px 6px rgba(0,0,0,0.04), 0 4px 10px rgba(0,0,0,0.03) !important;

    transition: all 0.4s ease !important;

}

.ff-kk-item:hover .ff-kk-icon-box {

    transform: rotate(5deg) scale(1.05) !important;

    box-shadow: inset 0 -3px 6px rgba(0,0,0,0.04), 0 12px 20px rgba(255,0,54,0.15) !important;

}

.ff-kk-emoji { font-size: 30px !important; line-height: 1 !important; }

.ff-kk-name { font-size: 15px !important; font-weight: 600 !important; color: #374151 !important; white-space: nowrap !important; }

.ff-kk-item:hover .ff-kk-name { color: var(--brand) !important; }

.ff-kk-badge {

    position: absolute !important; top: -6px !important; right: 0 !important;

    background: linear-gradient(135deg, #FF0036, #FF7300) !important; color: #fff !important;

    font-size: 11px !important; font-weight: bold !important; padding: 2px 6px !important;

    border-radius: 10px 10px 10px 0 !important; transform: scale(0.9) !important; pointer-events: none !important;

}



.ff-tabs { background: #fff; padding: 4px; border-radius: 30px; border: 1px solid var(--border); }

.ff-tab { padding: 6px 16px; border-radius: 20px; color: var(--text); font-size: 14px; text-decoration: none; transition: all 0.2s; }

.ff-tab:hover { color: var(--brand); }

.ff-tab.active { background: var(--brand); color: #fff; font-weight: bold; }



.ff-product-card {

  background: var(--surface); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;

  transition: all 0.2s ease; cursor: pointer; border: 1px solid var(--border);

}

.ff-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }

.ff-product-thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg); }

.ff-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ff-product-corner-tag {

  position: absolute; top: 0; left: 0; background: #FF0036; color: #fff; font-size: 11px; font-weight: 700;

  padding: 4px 12px; border-radius: 12px 0 12px 0; line-height: 1.4; z-index: 2;

}

.ff-product-title {

  font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; height: 42px;

  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 10px;

}

.ff-product-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }

.ff-coupon-tag { border: 1px dashed #FF0036; color: #FF0036; font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }

.ff-product-price { font-size: 22px; font-weight: 800; color: #FF0036; font-family: "SF Mono", monospace; }

.ff-product-original { font-size: 12px; color: #9CA3AF; text-decoration: line-through; }

.ff-product-rebate { display: flex; align-items: center; justify-content: space-between; background: #F0FDF4; border-radius: 6px; padding: 6px 10px; margin-top: auto; }

.ff-product-rebate .label { font-size: 12px; color: #15803D; }

.ff-product-rebate .value { font-size: 14px; font-weight: 800; color: #15803D; font-family: "SF Mono", monospace; }

.ff-product-body { padding: 14px; display: flex; flex-direction: column; flex-grow: 1; }

