/* ==============================================
   LaptopSkinDesign.com — Main Stylesheet
   ============================================== */

/* --- CSS Variables --- */
:root {
  --white:       #ffffff;
  --lighter-grey:#f5f5f7;
  --light-grey:  #e8e8ed;
  --mid-grey:    #86868b;
  --dark-grey:   #1d1d1f;
  --text:        #333333;
  --primary:     #6c5ce7;
  --primary-hover:#5a4bd1;
  --accent:      #a29bfe;
  --radius:      12px;
  --transition:  all 0.25s ease;
  --max-width:   1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--dark-grey); }
.logo span { color: var(--primary); }
.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a { font-size: 0.9rem; font-weight: 500; color: var(--dark-grey); transition: var(--transition); }
.nav-desktop a:hover { color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark-grey); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--light-grey); padding: 16px 24px; gap: 12px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--dark-grey); }

.hero { background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 100%); padding: 48px 0 32px; text-align: center; }
.hero h1 { font-size: 2rem; font-weight: 700; color: var(--dark-grey); margin-bottom: 8px; }
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-small { padding: 6px 16px; font-size: 0.85rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.product-card { background: var(--white); border: 1px solid var(--light-grey); border-radius: var(--radius); overflow: hidden; transition: var(--transition); position: relative; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-image { aspect-ratio: 1/1; overflow: hidden; background: var(--lighter-grey); display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-price { display:block; text-align:center; font-weight:700; color:#B12704; font-size:1rem; margin:4px 0 6px; }
@media (max-width:480px){.product-price{font-size:0.9rem;margin:2px 0 4px;}}
.product-info { padding: 12px 14px 16px; }
.product-category { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mid-grey); margin-bottom: 6px; }
.product-title { font-size: 0.88rem; font-weight: 600; color: var(--dark-grey); margin-bottom: 8px; line-height: 1.3; }
.product-badge { position: absolute; top: 8px; left: 8px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; z-index: 2; letter-spacing: 0.5px; }
.badge-best-seller { background: #6c5ce7; color: white; }
.badge-top-rated { background: #f59e0b; color: white; }
.badge-popular { background: #10b981; color: white; }
.badge-new { background: #ef4444; color: white; }
.product-rating { font-size: 0.8rem; color: var(--mid-grey); margin-bottom: 10px; }

.section { padding: 40px 0; }
.section-title { text-align: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--dark-grey); }

.categories-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.category-card { display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--white); border: 1px solid var(--light-grey); border-radius: 30px; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.category-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.cat-icon { font-size: 1.2rem; }

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.compare-card { background: var(--white); border: 1px solid var(--light-grey); border-radius: var(--radius); padding: 24px; text-align: center; transition: var(--transition); }
.compare-card:hover { border-color: var(--primary); }
.compare-icon { font-size: 2rem; margin-bottom: 12px; }
.compare-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.compare-desc { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 16px; line-height: 1.5; }
.compare-cta { font-size: 0.85rem; font-weight: 600; color: var(--primary); }

.blog-list, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid #e5e5e5; padding: 20px; border-radius: 8px; background: #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-image { width: 100%; height: 200px; overflow: hidden; background: var(--lighter-grey); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 16px; }
.blog-date { font-size: 0.75rem; color: var(--mid-grey); margin-bottom: 8px; }
.blog-title { font-size: 1rem; font-weight: 600; color: var(--dark-grey); margin-bottom: 8px; line-height: 1.3; }
.blog-excerpt { font-size: 0.85rem; color: var(--mid-grey); margin-bottom: 12px; line-height: 1.5; }

.best-selling { padding: 32px 0; }

.site-footer { background: var(--dark-grey); color: rgba(255,255,255,0.7); padding: 40px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 6px; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 8px; }

.breadcrumbs { font-size: 0.85rem; color: var(--mid-grey); margin: 16px 0; }
.breadcrumbs a { color: var(--primary); }
.sep { margin: 0 6px; color: var(--light-grey); }
.category-header { text-align: center; padding: 24px 0 16px; }
.category-header h1 { font-size: 1.6rem; font-weight: 700; color: var(--dark-grey); }
.category-header p { color: var(--mid-grey); margin-top: 6px; }
.aff-disc-banner { padding: 12px 0; }

@media (max-width: 768px) {
  .hero .product-grid, .product-grid[style*="repeat(3,1fr)"], .product-grid[style*="repeat(4,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 1.5rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-list, .blog-grid { grid-template-columns: 1fr; }
  .categories-strip { flex-wrap: wrap; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card .product-image { padding: 12px; }
  .product-info { padding: 12px 10px 16px; }
  .product-title { font-size: 0.8rem; }
}

.best-for{font-size:0.68rem;text-transform:uppercase;letter-spacing:0.3px;color:#e67e22;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-category{display:none}
@media(max-width:480px){.best-for{font-size:0.6rem}}
