/* =======================================================
   📁 base.css - Variables, Fuentes y Estilos Generales
   ======================================================= */

:root {
  --background: #FFFFFF;
  --accent: #F9F9F9;
  --text-dark: #282828;
  --text--dark-light: #484848;
  --text-light: #FFFFFF;
  --text-light-dark: #C9C9C9;

  --accent-gray: #dddddd;
  --accent-gray-light: #f6f6f6;
  --accent-gray-dark: #999;

  --color-purple:  #763efb;
  --color-orange:  #fb8b3a;
  --color-pink:    #ff4d9d;
  --color-blue:    #0d6efd;
  --color-indigo:  #6610f2;
  --color-purple:  #6f42c1;
  --color-pink:    #d63384;
  --color-red:     #dc3545;
  --color-orange:  #fd7e14;
  --color-yellow:  #ffc107;
  --color-green:   #198754;
  --color-teal:    #20c997;
  --color-cyan:    #0dcaf0;
  
  --color-light-blue:    #488abf;



  --margin-top: 11px;
  --margin-bottom: 11px;
  
  --primary-bg: #ffffff;
  --secondary-bg: #f8fafc;
  --accent-bg: #f1f5f9;
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fuentes Poppins */
.poppins-thin { font-family: "Poppins", sans-serif; font-weight: 100; font-style: normal; }
.poppins-extralight { font-family: "Poppins", sans-serif; font-weight: 200; font-style: normal; }
.poppins-light { font-family: "Poppins", sans-serif; font-weight: 300; font-style: normal; }
.poppins-regular { font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; }
.poppins-medium { font-family: "Poppins", sans-serif; font-weight: 500; font-style: normal; }
.poppins-semibold { font-family: "Poppins", sans-serif; font-weight: 600; font-style: normal; }
.poppins-bold { font-family: "Poppins", sans-serif; font-weight: 700; font-style: normal; }
.poppins-extrabold { font-family: "Poppins", sans-serif; font-weight: 800; font-style: normal; }
.poppins-black { font-family: "Poppins", sans-serif; font-weight: 900; font-style: normal; }

.poppins-thin-italic { font-family: "Poppins", sans-serif; font-weight: 100; font-style: italic; }
.poppins-extralight-italic { font-family: "Poppins", sans-serif; font-weight: 200; font-style: italic; }
.poppins-light-italic { font-family: "Poppins", sans-serif; font-weight: 300; font-style: italic; }
.poppins-regular-italic { font-family: "Poppins", sans-serif; font-weight: 400; font-style: italic; }
.poppins-medium-italic { font-family: "Poppins", sans-serif; font-weight: 500; font-style: italic; }
.poppins-semibold-italic { font-family: "Poppins", sans-serif; font-weight: 600; font-style: italic; }
.poppins-bold-italic { font-family: "Poppins", sans-serif; font-weight: 700; font-style: italic; }
.poppins-extrabold-italic { font-family: "Poppins", sans-serif; font-weight: 800; font-style: italic; }
.poppins-black-italic { font-family: "Poppins", sans-serif; font-weight: 900; font-style: italic; }

/* Estilos Globales */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text-dark); */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--secondary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 5px;
}

/* =======================================================
   📱 MOBILE STYLES (≤600px)
   ======================================================= */
@media only screen and (max-width: 600px) {
  .mobile-hide {
    display: none !important;
  }

  body {
    background-color: #f9fafc;
    color: #333;
  }

  .base-header,
  .base-categories {
    color: var(--text-dark);
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
  }

  .button-navigation {
    background-color: var(--accent-gray);
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    height: 44px;
    width: 44px;
  }

  .icon-inactive {
    cursor: none;
  }

  .icon-trigger {
    color: var(--text--dark-light);
  }

  .icon-dormant {
    color: var(--accent-gray-dark);
  }

  .website-name {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2.5rem;
  }

  /* Category Carousel */
  .category-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0rem 1rem 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .category-card {
    flex: 0 0 auto;
    width: 120px;
    height: 100px;
    background: rgba(197, 217, 255, 0.5);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    scroll-snap-align: start;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }

  .category-card:hover {
    transform: translateY(-4px);
  }

  .category-card .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* =======================================================
   💻 DESKTOP STYLES (≥601px)
   ======================================================= */
@media only screen and (min-width: 601px) {
  .desktop-hide {
    display: none !important;
  }

  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #FFF;
    color: #333;
    padding: 40px 60px;
    margin: 0;
  }

  .base-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .website-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
  }

  .button-navigation {
    background: #e3e8f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .listings-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }

  .listings-block h2 {
    font-size: 1.5rem;
  }

  .listings-more {
    color: var(--color-purple);
    cursor: pointer;
    font-size: 0.9rem;
  }

  /* Category Grid */
  .category-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .category-card {
    background-color: #e8f0fe;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    font-size: 1rem;
  }

  .category-card:hover {
    background-color: #d3e4fd;
  }

  .category-card .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
  }
}

/* =======================================================
   🎨 UTILITY CLASSES
   ======================================================= */
.listings-block {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 1rem;
}

@media only screen and (max-width: 600px) {
  .listings-more {
    font-size: 0.7rem;
    color: var(--color-purple);
    cursor: pointer;
  }
}