/* Canva Store CSS */
:root {
    --bg: #0b0c10;
    --fg: #f7fafc;
    --muted: #9aa4b2;
    --card: #11131a;
    --border: #1f2330;
    --accent: #6ee7b7;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
  }
  
  * { 
    box-sizing: border-box; 
  }
  
  html, body { 
    height: 100%; 
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #0b0c10, #0f1220), #0b0c10;
    color: var(--fg);
    line-height: 1.6;
  }
  
  /* Header Styles */
  .header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11,12,16,0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
  }
  
  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    color: var(--fg);
    font-size: 1.5rem;
  }
  
  .brand .logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .nav {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  
  .nav a:hover {
    color: var(--fg);
    background: rgba(255,255,255,0.1);
  }
  
  /* Main Content */
  main {
    min-height: calc(100vh - 200px);
  }
  
  h1 {
    text-align: center;
    margin: 40px 0;
    color: var(--fg);
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  h3 {
    color: var(--fg);
    margin: 0 0 16px 0;
    font-size: 1.5rem;
  }
  
  h4 {
    color: var(--fg);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
  }
  
  /* Cards */
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }
  
  .card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: var(--card);
    padding: 10px;
  }
  
  .card .body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--card);
  }
  
  .card .body > div:first-child {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .card .body .muted {
    color: var(--muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
    flex: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .card .body .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  
  .card .body .price {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.1rem;
  }
  
  /* Grid Layout */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
  }
  
  /* Form Elements */
  .input, .textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0e111a;
    color: var(--fg);
    font-size: 1rem;
  }
  
  .input:focus, .textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.1);
  }
  
  .textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1f2937;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
  }
  
  .btn:hover {
    background: #374151;
    transform: translateY(-1px);
  }
  
  .btn.primary {
    background: var(--success);
    border-color: var(--success);
  }
  
  .btn.primary:hover {
    background: #059669;
    border-color: #059669;
  }
  
  .btn.danger {
    background: var(--danger);
    border-color: var(--danger);
  }
  
  .btn.danger:hover {
    background: #991b1b;
    border-color: #991b1b;
  }
  
  .btn.warning {
    background: var(--warning);
    border-color: var(--warning);
    color: #000;
  }
  
  .btn.warning:hover {
    background: #d97706;
    border-color: #d97706;
  }
  
  .btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
  }
  
  /* Table Styles */
  .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
  }
  
  .table th, .table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--border);
  }
  
  .table th {
    background: rgba(255,255,255,0.05);
    font-weight: 600;
    color: var(--fg);
  }
  
  .table td {
    color: var(--muted);
  }
  
  .table tr:hover {
    background: rgba(255,255,255,0.02);
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: 40px;
  }
  
  /* Utility Classes */
  .muted {
    color: var(--muted);
  }
  
  .text-center {
    text-align: center;
  }
  
  .mt-4 {
    margin-top: 16px;
  }
  
  .mb-4 {
    margin-bottom: 16px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      padding: 12px;
    }
    
    .row {
      flex-direction: column;
      gap: 16px;
      align-items: stretch;
    }
    
    .nav {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    h1 {
      font-size: 2rem;
      margin: 24px 0;
    }
    
    .grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    
    .table {
      font-size: 0.9rem;
    }
    
    .table th, .table td {
      padding: 8px;
    }
  }
