body {
  margin: 0;
  font-family: Arial;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

aside {
  background: #222;
  color: white;
  padding: 2rem;
}

aside nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

aside a {
  color: white;
  text-decoration: none;
}

main {
  padding: 2rem;
}

header {
  margin-bottom: 2rem;
}

.table
{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table th,
.table td
{
    padding: 14px 18px;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.table th:nth-child(1),
.table td:nth-child(1)
{
    width: 60px;
}

.table th:nth-child(2),
.table td:nth-child(2)
{
    width: 220px;
}

.table th:nth-child(3),
.table td:nth-child(3)
{
    width: 260px;
}

.table th:nth-child(4),
.table td:nth-child(4)
{
    width: 280px;
}

.table th:nth-child(5),
.table td:nth-child(5)
{
    width: 180px;
}

button {
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.page-header
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:2rem;
}

.form
{
    display:flex;
    flex-direction:column;
    gap:1rem;
    max-width:700px;
}

.form input,
.form textarea
.from select
{
    padding:.8rem;
    border:1px solid #ddd;
    border-radius:6px;
}

.form textarea
{
    min-height:150px;
}

/* ==========================================================
   TABS
========================================================== */

.tabs
{
    display:flex;
    gap:1rem;
    margin-bottom:2rem;
    border-bottom:1px solid #ddd;
}

.tab-button
{
    background:none;
    border:none;
    padding:1rem 1.5rem;
    cursor:pointer;
    font-size:1rem;
    font-weight:600;
    color:#777;
    border-bottom:3px solid transparent;
    transition:.2s;
}

.tab-button:hover
{
    color:#000;
}

.tab-button.active
{
    color:#000;
    border-bottom:3px solid #b89052;
}

.product-subtitle
{
    margin-top: .4rem;
    color: #777;
    font-size: .95rem;
}

.product-summary
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
    padding:1.5rem 0;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
    margin-bottom:2rem;
}

.product-summary span
{
    display:block;
    color:#888;
    font-size:.9rem;
    margin-bottom:.25rem;
}
.product-summary div
{
    font-size: .9rem;
}

.hidden
{
    display:none;
}

/*==========================================================
PRODUCT HEADER
==========================================================*/

.product-header
{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:2rem;
}

.product-header h1
{
    margin:.5rem 0;
    font-size:2rem;
}

.product-brand
{
    color:#777;
    font-size:1rem;
}

.btn-back
{
    border:none;
    background:none;
    cursor:pointer;
    font-weight:600;
    color:#666;
    padding:0;
}

.btn-back:hover
{
    color:#000;
}

/*==========================================================
VARIANTES
==========================================================*/

.variants-header
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:2rem;
}

.variant-card
{
    margin-top:2rem;
    padding:2rem;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.variant-card h3
{
    margin-bottom:2rem;
}

.variant-card label
{
    display:block;
    margin-top:1.25rem;
    margin-bottom:.5rem;
    font-weight:600;
}

.variant-card input,
.variant-card select
{
    width:100%;
    padding:.75rem;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:1rem;
    transition:.2s;
}

.variant-card input:focus,
.variant-card select:focus
{
    outline:none;
    border-color:#b89052;
}

.generated-sku
{
    margin-top:.5rem;
    padding:1rem;
    background:#f8f8f8;
    border:1px dashed #bbb;
    border-radius:8px;
    font-family:monospace;
    font-size:1rem;
    font-weight:600;
}

.variant-card .btn-primary
{
    margin-top:2rem;
    width:100%;
}

.variant-row
{
    cursor:pointer;
}

.variant-row:hover
{
    background:#f7f7f7;
}

.variant-row.selected
{
    background:#efe6d6;
    font-weight:600;
}
