/* Estil base outlet */
.outlet-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #05050a;
    color: #f5f5f5;
}

/* Layout general: sidebar + main */
.outlet-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.outlet-sidebar {
    width: 260px;
    background: radial-gradient(circle at top, #1b1b28 0, #090913 60%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
}

.outlet-sidebar-header {
    margin-bottom: 2rem;
}

.outlet-sidebar-logo span {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ffcc66;
}

.outlet-sidebar-title {
    margin-top: 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
}

.outlet-sidebar-menu {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.75);
}

.outlet-sidebar-placeholder {
    margin: 0;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.8;
}

/* Zona principal */
.outlet-main {
    flex: 1;
    padding: 2.5rem 3rem;
    box-sizing: border-box;
}

/* Hero principal */
.outlet-hero {
    margin-bottom: 2.5rem;
}

.outlet-hero-logo-block {
    max-width: 780px;
}

.outlet-logo-placeholder {
    width: 240px;
    height: 80px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(245, 245, 245, 0.75);
}

.outlet-title {
    font-size: 3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 0.75rem 0;
}

.outlet-subtitle {
    margin: 0;
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.8);
}

/* Intro de la graella */
.outlet-grid-intro {
    max-width: 780px;
}

.outlet-section-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.outlet-section-text {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.8);
}


.outlet-subgroup-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outlet-subgroup-item + .outlet-subgroup-item {
    margin-top: 0.35rem;
}

.outlet-subgroup-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: transparent;
    color: inherit;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: background 0.15s ease, transform 0.05s ease;
}

.outlet-subgroup-button:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

.outlet-subgroup-name {
    flex: 1;
}

.outlet-subgroup-count {
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 204, 102, 0.1);
    color: #ffcc66;
}

.outlet-subgroup-button--active {
    background: rgba(255, 204, 102, 0.18);
    color: #ffecb3;
    transform: none;
}

.outlet-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.outlet-item-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.outlet-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 245, 245, 0.8);
}

.outlet-item-code {
    font-weight: 600;
}

.outlet-item-stock {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(120, 200, 130, 0.16);
    color: #b6f2bf;
}

.outlet-item-name {
    margin: 0.2rem 0 0.4rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.outlet-item-desc {
    margin: 0 0 0.7rem 0;
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.8);
}

.outlet-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.25rem;
}

.outlet-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: #ffcc66;
}

.outlet-item-uom {
    font-size: 0.8rem;
    color: rgba(245, 245, 245, 0.7);
}

.outlet-subgroups-strip {
    margin-bottom: 1.5rem;
}

.outlet-subgroups-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.outlet-subgroup-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    text-decoration: none;
    color: rgba(245, 245, 245, 0.9);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.outlet-subgroup-chip:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.4);
}

.outlet-subgroup-chip--active {
    background: rgba(255, 204, 102, 0.2);
    border-color: #ffcc66;
    color: #fff;
}

.outlet-subgroup-chip-count {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

.outlet-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.outlet-item-link:hover .outlet-item-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.outlet-item-detail {
    max-width: 960px;
    margin: 0 auto;
}

.outlet-back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
}

.outlet-back-link:hover {
    text-decoration: underline;
}

.outlet-item-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.outlet-item-detail-name {
    margin: 0.2rem 0 0 0;
    font-size: 1.6rem;
}

.outlet-item-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

.outlet-item-detail-pricing {
    margin-top: 1rem;
}

.outlet-item-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.7);
}

.outlet-item-thumb-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.outlet-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.outlet-item-detail-image {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}
