/* HUB COMMON STYLES (Consolidated from multiple templates) */

/* LAPTOP CATALOG HUB STYLES */
.cat-hub { max-width: 1200px; margin: 0 auto; padding: 40px 5%; }
.hub-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px; padding: 50px 40px; color: white; margin-bottom: 40px;
    position: relative; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.hub-hero::after {
    content: '📦'; position: absolute; right: 40px; top: -10px; font-size: 12rem; opacity: 0.1; transform: rotate(15deg);
}
.hub-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.hub-sidebar { position: sticky; top: 90px; z-index: 100; }

.mobile-filter-btn {
    display: none; width: 100%; margin-bottom: 25px; background: #0f172a; color: white;
    padding: 16px; border-radius: 14px; font-weight: 900; font-size: 1rem; border: none;
    cursor: pointer; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 25px rgba(15,23,42,0.15); transition: 0.3s;
}
@media (max-width: 1024px) {
    .hub-layout { grid-template-columns: 1fr; }
    .mobile-filter-btn { display: flex; }
    .hub-sidebar { display: none; position: relative; top: 0; margin-bottom: 30px; animation: slideIn 0.3s ease-out; }
    .hub-sidebar.active { display: block; }
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.filter-card { background: white; border-radius: 18px; padding: 24px; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.03); margin-bottom: 25px; }
.filter-card h3 { font-size: 1.1rem; font-weight: 900; margin: 0 0 20px; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.filter-group { margin-bottom: 18px; }
.filter-label { font-size: 0.7rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.filter-select { width: 100%; padding: 12px; border-radius: 10px; border: 1.5px solid #e2e8f0; font-size: 0.9rem; font-weight: 600; background: #f8fafc; color: #0f172a; outline: none; transition: 0.2s; }
.filter-select:focus { border-color: #ea580c; background: white; }

.catalog-list { display: flex; flex-direction: column; gap: 24px; }
.laptop-list-item { background: white; border-radius: 20px; border: 1px solid #eef2f6; box-shadow: 0 4px 15px rgba(0,0,0,0.02); display: flex; overflow: hidden; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; min-height: 200px; }
.laptop-list-item:hover { transform: scale(1.015); box-shadow: 0 20px 50px rgba(0,0,0,0.06); border-color: #ea580c; z-index: 10; }
.item-image { width: 240px; background: #f8fafc; padding: 30px; display: flex; align-items: center; justify-content: center; border-right: 1.5px solid #f1f5f9; flex-shrink: 0; position: relative; }
.item-image img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05)); transition: 0.3s; }
.item-info { padding: 25px 30px; flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.spec-strip { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.spec-box { display: flex; flex-direction: column; gap: 3px; }
.spec-label { font-size: 0.65rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.spec-val { font-size: 0.88rem; font-weight: 700; color: #334155; }
.item-stats { width: 220px; padding: 25px; border-left: 1.5px solid #f1f5f9; background: #fdfdfd; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; text-align: right; flex-shrink: 0; }
.expert-pill { background: linear-gradient(135deg, #0f172a, #334155); color: #fb923c; font-weight: 900; font-size: 0.75rem; padding: 5px 14px; border-radius: 50px; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 20px; }
.curr-price { font-size: 1.6rem; font-weight: 900; color: #0f172a; display: block; }
.old-p { font-size: 0.9rem; text-decoration: line-through; color: #94a3b8; }
.off-badge { color: #22c55e; font-weight: 900; font-size: 0.8rem; }
.btn-premium { width: 100%; padding: 14px; background: #0f172a; color: white; border: none; border-radius: 12px; font-weight: 900; font-size: 0.95rem; text-decoration: none; text-align: center; transition: 0.2s; }
.laptop-list-item:hover .btn-premium { background: #ea580c; box-shadow: 0 5px 15px rgba(234,88,12,0.3); }

@media (max-width: 850px) {
    .laptop-list-item { flex-direction: column; min-height: auto; }
    .item-image { width: 100%; border-right: none; border-bottom: 1.5px solid #f1f5f9; height: 180px; }
    .item-stats { width: 100%; border-left: none; border-top: 1.5px solid #f1f5f9; align-items: center; text-align: center; background: #f8fafc; }
    .item-info { padding: 20px; text-align: center; }
    .spec-strip { justify-content: center; }
}

/* NEWS HUB STYLES */
.news-hub { max-width: 1200px; margin: 0 auto; padding: 40px 5%; }
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
@media (max-width: 960px) { .news-layout { grid-template-columns: 1fr; } }
.news-heading { font-size: 2.2rem; font-weight: 900; color: #0f172a; margin: 0 0 30px; letter-spacing: -1px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news-card { background: white; border-radius: 16px; border: 1px solid #f1f5f9; overflow: hidden; transition: 0.3s; height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-color: #ea580c; }
.news-thumb { height: 200px; width: 100%; object-fit: cover; }
.news-placeholder { height: 200px; background: #f8fafc; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.news-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.72rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; margin-bottom: 8px; }
.news-title { font-size: 1.15rem; font-weight: 900; color: #0f172a; line-height: 1.4; margin: 0 0 12px; }
.news-excerpt { font-size: 0.92rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; }
.news-footer { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
.news-link { color: #ea580c; font-weight: 800; text-decoration: none; font-size: 0.85rem; }
.news-sidebar { position: sticky; top: 90px; }
.sidebar-box { background: #0f172a; border-radius: 20px; padding: 24px; color: white; margin-bottom: 30px; }
.sidebar-box h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 20px; color: #f97316; display: flex; align-items: center; gap: 10px; }
.pop-item { display: flex; gap: 15px; margin-bottom: 18px; text-decoration: none; color: white; align-items: center; }
.pop-item:hover .pop-title { color: #fb923c; }
.pop-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.pop-title { font-size: 0.88rem; font-weight: 800; line-height: 1.35; transition: 0.2s; }

/* DEALS HUB STYLES */
.deals-hub { max-width: 1200px; margin: 0 auto; padding: 40px 5%; }
.deals-hero { background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); border-radius: 20px; padding: 50px; color: white; margin-bottom: 40px; text-align: center; position: relative; overflow: hidden; }
.deals-hero h1 { font-size: 3rem; font-weight: 900; margin: 0 0 10px; }
.deals-hero p { font-size: 1.25rem; font-weight: 700; opacity: 0.9; }
.deals-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
@media (max-width: 960px) { .deals-layout { grid-template-columns: 1fr; } }
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.coupon-card { background: white; border-radius: 20px; border: 2px dashed #fed7aa; padding: 25px; position: relative; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; align-items: flex-start; }
.coupon-card:hover { transform: translateY(-5px); border-color: #ea580c; box-shadow: 0 12px 30px rgba(234,88,12,0.1); }
.coupon-badge { font-size: 0.65rem; font-weight: 900; background: #fff7ed; color: #ea580c; padding: 4px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1.5px; border: 1px solid #ffedd5; margin-bottom: 12px; }
.coupon-title { font-size: 1.25rem; font-weight: 900; color: #0f172a; margin: 0 0 10px; line-height: 1.35; }
.coupon-desc { font-size: 0.92rem; color: #64748b; line-height: 1.6; margin-bottom: 24px; }
.coupon-cta { width: 100%; padding: 14px; background: #0f172a; color: white; border-radius: 12px; text-align: center; font-weight: 900; font-size: 0.9rem; text-decoration: none; transition: 0.22s; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.coupon-card:hover .coupon-cta { background: linear-gradient(135deg, #ea580c, #f97316); }
.sidebar-title { font-size: 1.4rem; font-weight: 900; color: #0f172a; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.drop-item { display: flex; gap: 15px; background: #fff1f2; padding: 12px; border-radius: 14px; border: 1px solid #fee2e2; margin-bottom: 15px; transition: 0.2s; text-decoration: none; align-items: center; }
.drop-item:hover { transform: translateX(5px); border-color: #fecdd3; }
.drop-img { width: 70px; height: 70px; border-radius: 10px; object-fit: contain; background: white; padding: 8px; flex-shrink: 0; }
.price-curr { font-size: 0.95rem; font-weight: 900; color: #ef4444; }
.price-old { font-size: 0.75rem; text-decoration: line-through; color: #b91c1c; opacity: 0.5; }

/* INFORMATIONAL PAGE STYLES */
.page-container { max-width: 900px; margin: 40px auto; background: white; padding: 60px; border-radius: 16px; box-shadow: 0 4px 25px rgba(0,0,0,0.04); border: 1px solid #e2e8f0; }
.page-title { font-size: 3rem; font-weight: 900; color: #1e293b; margin: 0 0 40px 0; line-height: 1.1; border-bottom: 4px solid #38bdf8; padding-bottom: 20px; display: inline-block; }
.page-content { font-size: 1.15rem; line-height: 1.8; color: #334155; }
.page-content p { margin-bottom: 25px; }
.page-content ul, .page-content ol { margin-bottom: 25px; padding-left: 25px; }
.page-content li { margin-bottom: 10px; }

/* SHARED COMPONENTS */
.empty-state { text-align: center; padding: 100px 20px; background: white; border-radius: 20px; border: 2px dashed #e2e8f0; }
