/* =============================================================
   FUNKYCLAN LIGHT FASHION STOREFRONT (BASED ON ATTACHED SAMPLE)
   - Clean Light Background (#ffffff & #f8f9fa)
   - Space Grotesk & Plus Jakarta Sans (Nordic Sample Fonts)
   - Left Sidebar (Categories, Best Sellers, Tag Clouds)
   - 5 Hero Block Grid (Rotates on reload)
   - No Search Bar on top
   - Bottom 3-Column Showcase Section
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@700;800;900&display=swap');

:root {
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Clean Light Theme Colors */
  --bg-body: #f8f9fa;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  
  --primary-accent: #00b4d8;
  --primary-dark: #0077b6;
  --color-yellow: #ffa502;
  --color-red: #ff4757;
  --color-dark: #1e272e;

  --text-main: #2d3436;
  --text-muted: #636e72;
  --text-light: #b2bec3;

  --border-light: #e9ecef;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

/* =============================================================
   HEADER (NO SEARCH BAR)
   ============================================================= */
.site-header {
  background: #1e272e;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.brand-logo span.accent {
  color: var(--primary-accent);
}

.header-nav {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.header-nav a {
  color: #dcdde1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--primary-accent);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pts-badge-btn {
  background: rgba(255, 165, 2, 0.15);
  border: 1px solid var(--color-yellow);
  color: var(--color-yellow);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =============================================================
   PAGE MAIN LAYOUT (LEFT SIDEBAR + RIGHT CONTENT)
   ============================================================= */
.page-container {
  max-width: 1440px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .page-container {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   LEFT SIDEBAR (CATEGORIES, LEADERBOARD, TAGS)
   ============================================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Sidebar Category Box */
.sidebar-box {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cat-header {
  background: var(--primary-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-list {
  list-style: none;
}

.cat-list li {
  border-bottom: 1px solid var(--border-light);
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cat-list a:hover, .cat-list a.active {
  background: #f1f3f5;
  color: var(--primary-dark);
  padding-left: 1.5rem;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
}

/* Best Sellers Mini List */
.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1rem 1.25rem 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.mini-product-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mini-product-item:last-child {
  border-bottom: none;
}

.mini-thumb {
  width: 48px;
  height: 48px;
  background: #f1f3f5;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.mini-info .price {
  font-size: 0.8rem;
  color: var(--primary-accent);
  font-weight: 800;
  margin-top: 0.2rem;
}

/* Tag Cloud Box */
.tag-cloud-wrapper {
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-btn {
  background: #f1f3f5;
  color: var(--text-muted);
  border: 1px solid #e9ecef;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-btn:hover {
  background: var(--primary-accent);
  color: #fff;
  border-color: var(--primary-accent);
}

/* =============================================================
   MAIN CONTENT AREA (5 HERO BLOCKS GRID)
   ============================================================= */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Rotate Controller Header */
.rotate-ctrl-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
}

.rotate-info-txt {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-rotate-hero {
  background: var(--primary-accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-rotate-hero:hover {
  background: var(--primary-dark);
}

/* 5 HERO BLOCKS TOP GRID */
.hero-5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .hero-5-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* BLOCK 1: BIG HERO (LEFT HALF, SPANS 2 ROWS) */
.hero-block-1 {
  grid-row: span 2;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.2);
}

.hero-block-1 .block-badge {
  background: #1e272e;
  color: #ffa502;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.hero-block-1 .block-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0.75rem 0 0.25rem;
}

.hero-block-1 .block-artist {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 600;
}

.hero-block-1 .garment-art-svg {
  width: 220px;
  height: 220px;
  margin: 1rem auto;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
}

.btn-hero-vote-primary {
  background: #ffffff;
  color: #0077b6;
  border: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-hero-vote-primary:hover {
  background: #ffa502;
  color: #000;
  transform: translateY(-2px);
}

/* BLOCKS 2 & 3 (TOP RIGHT SPLIT 2 BLOCKS) */
.hero-right-top-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero-block-2 {
  background: #ffa502;
  color: #000;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-block-3 {
  background: #ff4757;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* BLOCKS 4 & 5 (BOTTOM RIGHT SPLIT 2 BLOCKS) */
.hero-right-bottom-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero-block-4 {
  background: #2f3542;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-block-5 {
  background: #1e1f29;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.sub-block-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.sub-block-artist {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.btn-sub-vote {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 0.2s ease;
  width: fit-content;
}

.btn-sub-vote:hover {
  background: #ffffff;
  color: #000;
}

/* =============================================================
   BOTTOM 3-COLUMN SHOWCASE SECTION (MATCHING ATTACHED IMAGE)
   ============================================================= */
.showcase-bottom-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.showcase-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .showcase-columns-grid {
    grid-template-columns: 1fr;
  }
}

.col-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-accent);
}

.showcase-product-card {
  text-align: center;
}

.garment-img-box {
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.garment-img-box svg {
  width: 170px;
  height: 190px;
}

.color-swatches {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.1);
}

.swatch.blue { background: #00b4d8; }
.swatch.dark { background: #2f3542; }
.swatch.red { background: #ff4757; }
.swatch.gray { background: #ced6e0; }

.showcase-product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.showcase-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-accent);
}

/* FOOTER */
footer {
  background: #1e272e;
  color: #808e9b;
  border-top: 1px solid #2f3640;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 4rem;
}
